Prev Class | Next Class | Frames | No Frames |
Summary: Nested | Field | Method | Constr | Detail: Nested | Field | Method | Constr |
protected class JSplitPane.AccessibleJSplitPane
extends JComponent.AccessibleJComponent
implements AccessibleValue
JSplitPane
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.Container.AccessibleAWTContainer | |
Container.AccessibleAWTContainer.AccessibleContainerHandler |
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.Container.AccessibleAWTContainer | |
accessibleContainerHandler |
Fields inherited from class java.awt.Component.AccessibleAWTComponent | |
accessibleAWTComponentHandler , accessibleAWTFocusHandler |
Constructor Summary | |
|
Method Summary | |
AccessibleRole |
|
AccessibleStateSet |
|
AccessibleValue |
|
Number |
|
Number |
|
Number |
|
boolean |
|
Methods inherited from class java.awt.Container.AccessibleAWTContainer | |
getAccessibleAt , getAccessibleChild , getAccessibleChildrenCount |
Methods inherited from class java.lang.Object | |
clone , equals , extends Object> getClass , finalize , hashCode , notify , notifyAll , toString , wait , wait , wait |
public AccessibleRole getAccessibleRole()
Returns the accessible role for theJSplitPane
component.
- Overrides:
- getAccessibleRole in interface JComponent.AccessibleJComponent
- Returns:
AccessibleRole.SPLIT_PANE
.
public AccessibleStateSet getAccessibleStateSet()
Returns a set containing the current state of theJSplitPane
component.
- Overrides:
- getAccessibleStateSet in interface JComponent.AccessibleJComponent
- Returns:
- The accessible state set.
public AccessibleValue getAccessibleValue()
Returns an object that provides access to the current, minimum and maximum values for theJSplitPane
. Since this class implementsAccessibleValue
, it returns itself.
- Overrides:
- getAccessibleValue in interface AccessibleContext
- Returns:
- The accessible value.
public Number getCurrentAccessibleValue()
Returns the current divider location for theJSplitPane
component, as anInteger
.
- Specified by:
- getCurrentAccessibleValue in interface AccessibleValue
- Returns:
- The current divider location.
public Number getMaximumAccessibleValue()
Returns the maximum divider location for theJSplitPane
component, as anInteger
.
- Specified by:
- getMaximumAccessibleValue in interface AccessibleValue
- Returns:
- The maximum divider location.
public Number getMinimumAccessibleValue()
Returns the minimum divider location for theJSplitPane
component, as anInteger
.
- Specified by:
- getMinimumAccessibleValue in interface AccessibleValue
- Returns:
- The minimum divider location.
public boolean setCurrentAccessibleValue(Number value)
Sets the divider location for theJSplitPane
component and sends aPropertyChangeEvent
(with the property nameAccessibleContext.ACCESSIBLE_VALUE_PROPERTY
) to all registered listeners. If the supplied value isnull
, this method does nothing and returnsfalse
.
- Specified by:
- setCurrentAccessibleValue in interface AccessibleValue
- Parameters:
value
- the new divider location (null
permitted).
- Returns:
true
if the divider location value is updated, andfalse
otherwise.