|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
java.lang.Objectjavax.accessibility.AccessibleContext
java.awt.Component.AccessibleAWTComponent
java.awt.Container.AccessibleAWTContainer
javax.swing.JComponent.AccessibleJComponent
javax.swing.JSlider.AccessibleJSlider
protected class JSlider.AccessibleJSlider
Provides the accessibility features for the JSlider
component.
| Nested Class Summary |
|---|
| Nested classes/interfaces inherited from class javax.swing.JComponent.AccessibleJComponent |
|---|
JComponent.AccessibleJComponent.AccessibleContainerHandler, JComponent.AccessibleJComponent.AccessibleFocusHandler |
| Nested classes/interfaces inherited from class java.awt.Component.AccessibleAWTComponent |
|---|
Component.AccessibleAWTComponent.AccessibleAWTComponentHandler, Component.AccessibleAWTComponent.AccessibleAWTFocusHandler |
| Field Summary |
|---|
| Fields inherited from class javax.swing.JComponent.AccessibleJComponent |
|---|
accessibleContainerHandler, accessibleFocusHandler |
| Fields inherited from class java.awt.Component.AccessibleAWTComponent |
|---|
accessibleAWTComponentHandler, accessibleAWTFocusHandler |
| Constructor Summary | |
|---|---|
protected |
JSlider.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()
Returns the current value of the JSlider component, as an
Integer. |
Number |
getMaximumAccessibleValue()
Returns the maximum value of the JSlider component, as an
Integer. |
Number |
getMinimumAccessibleValue()
Returns the minimum value of the JSlider component, as an
Integer. |
boolean |
setCurrentAccessibleValue(Number value)
Sets the current value of the JSlider component and sends a
PropertyChangeEvent (with the property name
AccessibleContext.ACCESSIBLE_VALUE_PROPERTY) to all registered
listeners. |
| Methods inherited from class javax.swing.JComponent.AccessibleJComponent |
|---|
addPropertyChangeListener, getAccessibleChild, getAccessibleChildrenCount, getAccessibleDescription, getAccessibleKeyBinding, getAccessibleName, getBorderTitle, getTitledBorderText, getToolTipText, removePropertyChangeListener |
| Methods inherited from class java.awt.Container.AccessibleAWTContainer |
|---|
getAccessibleAt |
| Methods inherited from class javax.accessibility.AccessibleContext |
|---|
firePropertyChange, getAccessibleAction, getAccessibleEditableText, getAccessibleIcon, getAccessibleRelationSet, getAccessibleSelection, getAccessibleTable, getAccessibleText, setAccessibleDescription, setAccessibleName, setAccessibleParent |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Methods inherited from interface javax.accessibility.AccessibleComponent |
|---|
addFocusListener, contains, getAccessibleAt, getBackground, getBounds, getCursor, getFont, getFontMetrics, getForeground, getLocation, getLocationOnScreen, getSize, isEnabled, isFocusTraversable, isShowing, isVisible, removeFocusListener, requestFocus, setBackground, setBounds, setCursor, setEnabled, setFont, setForeground, setLocation, setSize, setVisible |
| Constructor Detail |
|---|
protected JSlider.AccessibleJSlider()
AccessibleJSlider instance.
| Method Detail |
|---|
public AccessibleStateSet getAccessibleStateSet()
JSlider
component.
getAccessibleStateSet in class JComponent.AccessibleJComponentAccessibleStatepublic AccessibleRole getAccessibleRole()
JSlider component.
getAccessibleRole in class JComponent.AccessibleJComponentAccessibleRole.SLIDER.AccessibleRolepublic AccessibleValue getAccessibleValue()
JSlider. Since this class implements
AccessibleValue, it returns itself.
getAccessibleValue in class AccessibleContextAccessibleValuepublic Number getCurrentAccessibleValue()
JSlider component, as an
Integer.
getCurrentAccessibleValue in interface AccessibleValueJSlider component.AccessibleValue.setCurrentAccessibleValue(Number)public boolean setCurrentAccessibleValue(Number value)
JSlider component and sends a
PropertyChangeEvent (with the property name
AccessibleContext.ACCESSIBLE_VALUE_PROPERTY) to all registered
listeners. If the supplied value is null, this method
does nothing and returns false.
setCurrentAccessibleValue in interface AccessibleValuevalue - the new slider value (null permitted).
true if the slider value is updated, and
false otherwise.public Number getMinimumAccessibleValue()
JSlider component, as an
Integer.
getMinimumAccessibleValue in interface AccessibleValueJSlider component.AccessibleValue.getMaximumAccessibleValue()public Number getMaximumAccessibleValue()
JSlider component, as an
Integer.
getMaximumAccessibleValue in interface AccessibleValueJSlider component.AccessibleValue.getMinimumAccessibleValue()
|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||