Class java.awt.swing.AbstractButton.AccessibleAbstractButton
java.lang.Object
|
+----java.awt.accessibility.AccessibleContext
|
+----java.awt.swing.JComponent.AccessibleJComponent
|
+----java.awt.swing.AbstractButton.AccessibleAbstractButton
- Subclasses:
- JButton.AccessibleJButton, JMenuItem.AccessibleJMenuItem, JToggleButton.AccessibleJToggleButton
- protected abstract class AbstractButton.AccessibleAbstractButton
- extends JComponent.AccessibleJComponent
- implements AccessibleValue
Accessiblity support.
Warning: serialized objects of this class will not be compatible with
future swing releases. The current serialization support is appropriate
for short term storage or RMI between Swing1.0 applications. It will
not be possible to load serialized Swing1.0 objects with future releases
of Swing. The JDK1.2 release of Swing will be the compatibility
baseline for the serialized form of Swing objects.
Fields inherited from class java.awt.accessibility.AccessibleContext
|
ACCESSIBLE_CARET_PROPERTY, ACCESSIBLE_DESCRIPTION_PROPERTY, ACCESSIBLE_NAME_PROPERTY, ACCESSIBLE_SELECTION_PROPERTY, ACCESSIBLE_STATE_PROPERTY, ACCESSIBLE_TEXT_PROPERTY, ACCESSIBLE_VALUE_PROPERTY, ACCESSIBLE_VISIBLE_DATA_PROPERTY, accessibleDescription, accessibleName, accessibleParent |
Methods inherited from class java.awt.swing.JComponent.AccessibleJComponent
|
addFocusListener, contains, getAccessibleAt, getAccessibleChild, getAccessibleChildrenCount, getAccessibleComponent, getAccessibleDescription, getAccessibleIndexInParent, getAccessibleName, getAccessibleParent, getAccessibleRole, getAccessibleStateSet, getBackground, getBounds, getCursor, getFont, getFontMetrics, getForeground, getLocale, getLocation, getLocationOnScreen, getSize, isEnabled, isFocusTraversable, isShowing, isVisible, removeFocusListener, requestFocus, setBackground, setBounds, setCursor, setEnabled, setFont, setForeground, setLocation, setSize, setVisible |
Methods inherited from class java.awt.accessibility.AccessibleContext
|
addPropertyChangeListener, firePropertyChange, getAccessibleAction, getAccessibleChild, getAccessibleChildrenCount, getAccessibleComponent, getAccessibleDescription, getAccessibleIndexInParent, getAccessibleName, getAccessibleParent, getAccessibleRole, getAccessibleSelection, getAccessibleStateSet, getAccessibleText, getAccessibleValue, getLocale, removePropertyChangeListener, setAccessibleDescription, setAccessibleName, setAccessibleParent |
Methods inherited from class java.lang.Object
|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
AbstractButton.AccessibleAbstractButton
protected AbstractButton.AccessibleAbstractButton(AbstractButton this$0)
getAccessibleName
public String getAccessibleName()
- Get the accessible name of this object.
- Returns:
- the localized name of the object -- can be null if this
object does not have a name
- Overrides:
- getAccessibleName in class JComponent.AccessibleJComponent
getAccessibleStateSet
public AccessibleStateSet getAccessibleStateSet()
- Get the state set of this object.
- Returns:
- an instance of AccessibleState containing the current state
of the object
- Overrides:
- getAccessibleStateSet in class JComponent.AccessibleJComponent
- See Also:
- AccessibleState
getAccessibleValue
public AccessibleValue getAccessibleValue()
- Get the AccessibleValue associated with this object if one
exists. Otherwise return null.
- Overrides:
- getAccessibleValue in class AccessibleContext
getAccessibleActionCount
public int getAccessibleActionCount()
- Returns the number of Actions available in this object.
If there is more than one, the first one is the "default"
action.
- Returns:
- the number of Actions in this object
getAccessibleActionDescription
public String getAccessibleActionDescription(int i)
- Return a description of the specified action of the object.
- Parameters:
i
- zero-based index of the actions
doAccessibleAction
public boolean doAccessibleAction(int i)
- Perform the specified Action on the object
- Parameters:
i
- zero-based index of actions
- Returns:
- true if the the action was performed; else false.
getCurrentAccessibleValue
public Number getCurrentAccessibleValue()
- Get the value of this object as a Number.
- Implements:
- getCurrentAccessibleValue in interface AccessibleValue
- Returns:
- An Integer of 0 if this isn't selected or an Integer of 1 if
this is selected.
- See Also:
- #isSelected
setCurrentAccessibleValue
public boolean setCurrentAccessibleValue(Number n)
- Set the value of this object as a Number.
- Implements:
- setCurrentAccessibleValue in interface AccessibleValue
- Returns:
- True if the value was set.
getMinimumAccessibleValue
public Number getMinimumAccessibleValue()
- Get the minimum value of this object as a Number.
- Implements:
- getMinimumAccessibleValue in interface AccessibleValue
- Returns:
- An Integer of 0.
getMaximumAccessibleValue
public Number getMaximumAccessibleValue()
- Get the maximum value of this object as a Number.
- Implements:
- getMaximumAccessibleValue in interface AccessibleValue
- Returns:
- An Integer of 1.
Submit a bug or feature
Submit comments/suggestions about new javadoc look.
Java is a trademark or registered trademark of Sun Microsystems, Inc. in the US and other countries.
Copyright 1993-1998 Sun Microsystems, Inc. 901 San Antonio Road, Palo Alto, California, 94303, U.S.A. All Rights Reserved.