javax.swing
protected class JSlider.AccessibleJSlider extends JComponent.AccessibleJComponent implements AccessibleValue
JSlider
component.
Constructor Summary | |
---|---|
protected | AccessibleJSlider()
Creates a new AccessibleJSlider instance. |
Method Summary | |
---|---|
AccessibleRole | getAccessibleRole()
Returns the accessible role for the JSlider component.
|
AccessibleStateSet | getAccessibleStateSet()
Returns a set containing the current state of the JSlider
component.
|
AccessibleValue | getAccessibleValue()
Returns an object that provides access to the current, minimum and
maximum values for the JSlider. |
Number | getCurrentAccessibleValue() |
Number | getMaximumAccessibleValue() |
Number | getMinimumAccessibleValue() |
boolean | setCurrentAccessibleValue(Number value)
Sets the current value of the JSlider component and sends a
PropertyChangeEvent (with the property name
ACCESSIBLE_VALUE_PROPERTY) to all registered
listeners. |
AccessibleJSlider
instance.JSlider
component.
Returns: SLIDER.
Returns: The accessible state set.
Returns: The accessible value.
Returns: The current value of the JSlider component.
Returns: The maximum value of the JSlider component.
Returns: The minimum value of the JSlider 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.