javax.swing
protected class JScrollBar.AccessibleJScrollBar extends JComponent.AccessibleJComponent implements AccessibleValue
JScrollBar
component.
Constructor Summary | |
---|---|
protected | AccessibleJScrollBar()
Creates a new AccessibleJScrollBar instance. |
Method Summary | |
---|---|
AccessibleRole | getAccessibleRole()
Returns the accessible role for the JScrollBar component.
|
AccessibleStateSet | getAccessibleStateSet()
Returns a set containing the current state of the JScrollBar
component.
|
AccessibleValue | getAccessibleValue()
Returns an object that provides access to the current, minimum and
maximum values.
|
Number | getCurrentAccessibleValue()
Returns the current value of the JScrollBar component, as an
Integer.
|
Number | getMaximumAccessibleValue()
Returns the maximum value of the JScrollBar component, as an
Integer.
|
Number | getMinimumAccessibleValue()
Returns the minimum value of the JScrollBar component, as an
Integer.
|
boolean | setCurrentAccessibleValue(Number value)
Sets the current value of the JScrollBar component and sends a
PropertyChangeEvent (with the property name
AccessibleContext#ACCESSIBLE_VALUE_PROPERTY) to all registered
listeners. |
AccessibleJScrollBar
instance.JScrollBar
component.
Returns: AccessibleRole#SCROLL_BAR.
Returns: The accessible state set.
Returns: The accessible value.
Returns: The current value of the JScrollBar component.
Returns: The maximum value of the JScrollBar component.
Returns: The minimum value of the JScrollBar component.
null
, this method
does nothing and returns false
.
Parameters: value the new slider value (null
permitted).
Returns: true
if the slider value is updated, and
false
otherwise.