当前页面:
在线文档首页 >
JDK 5 Documentation v1.2.2, Java 2 SDK 英文文档
Java(TM) 2 Platform, Standard Edition, v1.2.2 API Specification: Class JScrollPane.AccessibleJScrollPane - JDK 5 Documentation v1.2.2, Java 2 SDK 英文文档
javax.swing
Class JScrollPane.AccessibleJScrollPane
java.lang.Object
|
+--javax.accessibility.AccessibleContext
|
+--javax.swing.JComponent.AccessibleJComponent
|
+--javax.swing.JScrollPane.AccessibleJScrollPane
- Enclosing class:
- JScrollPane
- protected class JScrollPane.AccessibleJScrollPane
- extends JComponent.AccessibleJComponent
- implements ChangeListener
The class used to obtain the accessible role for this object.
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 applications running the same
version of Swing. A future release of Swing will provide support for
long term persistence.
- See Also:
- Serialized Form
Fields inherited from class javax.accessibility.AccessibleContext |
ACCESSIBLE_ACTIVE_DESCENDANT_PROPERTY,
ACCESSIBLE_CARET_PROPERTY,
ACCESSIBLE_CHILD_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 javax.swing.JComponent.AccessibleJComponent |
addFocusListener,
addPropertyChangeListener,
contains,
getAccessibleAt,
getAccessibleChild,
getAccessibleChildrenCount,
getAccessibleComponent,
getAccessibleDescription,
getAccessibleIndexInParent,
getAccessibleName,
getAccessibleParent,
getAccessibleStateSet,
getBackground,
getBorderTitle,
getBounds,
getCursor,
getFont,
getFontMetrics,
getForeground,
getLocale,
getLocation,
getLocationOnScreen,
getSize,
isEnabled,
isFocusTraversable,
isShowing,
isVisible,
removeFocusListener,
removePropertyChangeListener,
requestFocus,
setBackground,
setBounds,
setCursor,
setEnabled,
setFont,
setForeground,
setLocation,
setSize,
setVisible |
Methods inherited from class java.lang.Object |
clone,
equals,
finalize,
getClass,
hashCode,
notify,
notifyAll,
toString,
wait,
wait,
wait |
viewPort
protected JViewport viewPort
JScrollPane.AccessibleJScrollPane
public JScrollPane.AccessibleJScrollPane()
- Constructor to set up listener on viewport.
resetViewPort
public void resetViewPort()
getAccessibleRole
public AccessibleRole getAccessibleRole()
- Get the role of this object.
- Overrides:
- getAccessibleRole in class JComponent.AccessibleJComponent
- Returns:
- an instance of AccessibleRole describing the role of the
object
- See Also:
AccessibleRole
stateChanged
public void stateChanged(ChangeEvent e)
- Supports the change listener interface and fires property change
- Specified by:
- stateChanged in interface ChangeListener
- Tags copied from interface: ChangeListener
- Parameters:
e
- a ChangeEvent object
Submit a bug or feature
Java, Java 2D, and JDBC are a trademarks or registered trademarks of Sun Microsystems, Inc. in the US and other countries.
Copyright 1993-1999 Sun Microsystems, Inc. 901 San Antonio Road,
Palo Alto, California, 94303, U.S.A. All Rights Reserved.