|
|||||||||
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.JScrollBar.AccessibleJScrollBar
protected class JScrollBar.AccessibleJScrollBar
Provides the accessibility features for the JScrollBar
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 |
JScrollBar.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. |
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 JScrollBar.AccessibleJScrollBar()
AccessibleJScrollBar
instance.
Method Detail |
---|
public AccessibleStateSet getAccessibleStateSet()
JScrollBar
component.
getAccessibleStateSet
in class JComponent.AccessibleJComponent
AccessibleState
public AccessibleRole getAccessibleRole()
JScrollBar
component.
getAccessibleRole
in class JComponent.AccessibleJComponent
AccessibleRole.SCROLL_BAR
.AccessibleRole
public AccessibleValue getAccessibleValue()
getAccessibleValue
in class AccessibleContext
AccessibleValue
public Number getCurrentAccessibleValue()
JScrollBar
component, as an
Integer
.
getCurrentAccessibleValue
in interface AccessibleValue
JScrollBar
component.AccessibleValue.setCurrentAccessibleValue(Number)
public boolean setCurrentAccessibleValue(Number value)
JScrollBar
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 AccessibleValue
value
- the new slider value (null
permitted).
true
if the slider value is updated, and
false
otherwise.public Number getMinimumAccessibleValue()
JScrollBar
component, as an
Integer
.
getMinimumAccessibleValue
in interface AccessibleValue
JScrollBar
component.AccessibleValue.getMaximumAccessibleValue()
public Number getMaximumAccessibleValue()
JScrollBar
component, as an
Integer
.
getMaximumAccessibleValue
in interface AccessibleValue
JScrollBar
component.AccessibleValue.getMinimumAccessibleValue()
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |