Docjar: A Java Source and Docuemnt Enginecom.*    java.*    javax.*    org.*    all    new    plug-in

Quick Search    Search Deep

javax.swing
Class JScrollBar.AccessibleJScrollBar  view JScrollBar.AccessibleJScrollBar download JScrollBar.AccessibleJScrollBar.java

java.lang.Object
  extended byjavax.accessibility.AccessibleContext
      extended byjava.awt.Component.AccessibleAWTComponent
          extended byjava.awt.Container.AccessibleAWTContainer
              extended byjavax.swing.JComponent.AccessibleJComponent
                  extended byjavax.swing.JScrollBar.AccessibleJScrollBar
All Implemented Interfaces:
javax.accessibility.AccessibleComponent, javax.accessibility.AccessibleExtendedComponent, javax.accessibility.AccessibleValue, java.io.Serializable
Enclosing class:
JScrollBar

protected class JScrollBar.AccessibleJScrollBar
extends JComponent.AccessibleJComponent
implements javax.accessibility.AccessibleValue

Provides the accessibility features for the JScrollBar component.


Nested Class Summary
 
Nested classes inherited from class javax.swing.JComponent.AccessibleJComponent
JComponent.AccessibleJComponent.AccessibleContainerHandler, JComponent.AccessibleJComponent.AccessibleFocusHandler
 
Nested classes inherited from class java.awt.Component.AccessibleAWTComponent
java.awt.Component.AccessibleAWTComponent.AccessibleAWTComponentHandler, java.awt.Component.AccessibleAWTComponent.AccessibleAWTFocusHandler
 
Field Summary
private static long serialVersionUID
           
 
Fields inherited from class javax.swing.JComponent.AccessibleJComponent
accessibleContainerHandler, accessibleFocusHandler
 
Fields inherited from class java.awt.Component.AccessibleAWTComponent
accessibleAWTComponentHandler, accessibleAWTFocusHandler
 
Fields inherited from class javax.accessibility.AccessibleContext
ACCESSIBLE_ACTION_PROPERTY, ACCESSIBLE_ACTIVE_DESCENDANT_PROPERTY, ACCESSIBLE_CARET_PROPERTY, ACCESSIBLE_CHILD_PROPERTY, ACCESSIBLE_COMPONENT_BOUNDS_CHANGED, ACCESSIBLE_DESCRIPTION_PROPERTY, ACCESSIBLE_HYPERTEXT_OFFSET, ACCESSIBLE_INVALIDATE_CHILDREN, ACCESSIBLE_NAME_PROPERTY, ACCESSIBLE_SELECTION_PROPERTY, ACCESSIBLE_STATE_PROPERTY, ACCESSIBLE_TABLE_CAPTION_CHANGED, ACCESSIBLE_TABLE_COLUMN_DESCRIPTION_CHANGED, ACCESSIBLE_TABLE_COLUMN_HEADER_CHANGED, ACCESSIBLE_TABLE_MODEL_CHANGED, ACCESSIBLE_TABLE_ROW_DESCRIPTION_CHANGED, ACCESSIBLE_TABLE_ROW_HEADER_CHANGED, ACCESSIBLE_TABLE_SUMMARY_CHANGED, ACCESSIBLE_TEXT_ATTRIBUTES_CHANGED, ACCESSIBLE_TEXT_PROPERTY, ACCESSIBLE_VALUE_PROPERTY, ACCESSIBLE_VISIBLE_DATA_PROPERTY, accessibleDescription, accessibleName, accessibleParent
 
Constructor Summary
protected JScrollBar.AccessibleJScrollBar()
          Creates a new AccessibleJScrollBar instance.
 
Method Summary
 javax.accessibility.AccessibleRole getAccessibleRole()
          Returns the accessible role for the JScrollBar component.
 javax.accessibility.AccessibleStateSet getAccessibleStateSet()
          Returns a set containing the current state of the JScrollBar component.
 javax.accessibility.AccessibleValue getAccessibleValue()
          Returns an object that provides access to the current, minimum and maximum values.
 java.lang.Number getCurrentAccessibleValue()
          Returns the current value of the JScrollBar component, as an java.lang.Integer.
 java.lang.Number getMaximumAccessibleValue()
          Returns the maximum value of the JScrollBar component, as an java.lang.Integer.
 java.lang.Number getMinimumAccessibleValue()
          Returns the minimum value of the JScrollBar component, as an java.lang.Integer.
 boolean setCurrentAccessibleValue(java.lang.Number value)
          Sets the current value of the JScrollBar component and sends a java.beans.PropertyChangeEvent (with the property name AccessibleContext.ACCESSIBLE_VALUE_PROPERTY>AccessibleContext.ACCESSIBLE_VALUE_PROPERTY 55 ) 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 java.awt.Component.AccessibleAWTComponent
addFocusListener, contains, getAccessibleComponent, getAccessibleIndexInParent, getAccessibleParent, 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 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
 

Field Detail

serialVersionUID

private static final long serialVersionUID
See Also:
Constant Field Values
Constructor Detail

JScrollBar.AccessibleJScrollBar

protected JScrollBar.AccessibleJScrollBar()
Creates a new AccessibleJScrollBar instance.

Method Detail

getAccessibleStateSet

public javax.accessibility.AccessibleStateSet getAccessibleStateSet()
Returns a set containing the current state of the JScrollBar component.

Overrides:
getAccessibleStateSet in class JComponent.AccessibleJComponent

getAccessibleRole

public javax.accessibility.AccessibleRole getAccessibleRole()
Returns the accessible role for the JScrollBar component.

Overrides:
getAccessibleRole in class JComponent.AccessibleJComponent

getAccessibleValue

public javax.accessibility.AccessibleValue getAccessibleValue()
Returns an object that provides access to the current, minimum and maximum values.


getCurrentAccessibleValue

public java.lang.Number getCurrentAccessibleValue()
Returns the current value of the JScrollBar component, as an java.lang.Integer.

Specified by:
getCurrentAccessibleValue in interface javax.accessibility.AccessibleValue

setCurrentAccessibleValue

public boolean setCurrentAccessibleValue(java.lang.Number value)
Sets the current value of the JScrollBar component and sends a java.beans.PropertyChangeEvent (with the property name AccessibleContext.ACCESSIBLE_VALUE_PROPERTY>AccessibleContext.ACCESSIBLE_VALUE_PROPERTY 55 ) to all registered listeners. If the supplied value is null, this method does nothing and returns false.

Specified by:
setCurrentAccessibleValue in interface javax.accessibility.AccessibleValue

getMinimumAccessibleValue

public java.lang.Number getMinimumAccessibleValue()
Returns the minimum value of the JScrollBar component, as an java.lang.Integer.

Specified by:
getMinimumAccessibleValue in interface javax.accessibility.AccessibleValue

getMaximumAccessibleValue

public java.lang.Number getMaximumAccessibleValue()
Returns the maximum value of the JScrollBar component, as an java.lang.Integer.

Specified by:
getMaximumAccessibleValue in interface javax.accessibility.AccessibleValue