javax.swing
protected class JSplitPane.AccessibleJSplitPane extends JComponent.AccessibleJComponent implements AccessibleValue
JSplitPane
component.JComponent.AccessibleJComponent.AccessibleContainerHandler, JComponent.AccessibleJComponent.AccessibleFocusHandler
Component.AccessibleAWTComponent.AccessibleAWTComponentHandler, Component.AccessibleAWTComponent.AccessibleAWTFocusHandler
accessibleContainerHandler, accessibleFocusHandler
accessibleAWTComponentHandler, accessibleAWTFocusHandler
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
Modifier | Constructor and Description |
---|---|
protected |
JSplitPane.AccessibleJSplitPane()
Creates a new
AccessibleJSplitPane instance. |
Modifier and Type | Method and Description |
---|---|
AccessibleRole |
getAccessibleRole()
Returns the accessible role for the
JSplitPane component. |
AccessibleStateSet |
getAccessibleStateSet()
Returns a set containing the current state of the
JSplitPane
component. |
AccessibleValue |
getAccessibleValue()
Returns an object that provides access to the current, minimum and
maximum values for the
JSplitPane . |
Number |
getCurrentAccessibleValue()
Returns the current divider location for the
JSplitPane
component, as an Integer . |
Number |
getMaximumAccessibleValue()
Returns the maximum divider location for the
JSplitPane
component, as an Integer . |
Number |
getMinimumAccessibleValue()
Returns the minimum divider location for the
JSplitPane
component, as an Integer . |
boolean |
setCurrentAccessibleValue(Number value)
Sets the divider location for the
JSplitPane component and sends
a PropertyChangeEvent (with the property name
AccessibleContext.ACCESSIBLE_VALUE_PROPERTY ) to all registered
listeners. |
addPropertyChangeListener, getAccessibleChild, getAccessibleChildrenCount, getAccessibleDescription, getAccessibleKeyBinding, getAccessibleName, getBorderTitle, getTitledBorderText, getToolTipText, removePropertyChangeListener
getAccessibleAt
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
firePropertyChange, getAccessibleAction, getAccessibleEditableText, getAccessibleIcon, getAccessibleRelationSet, getAccessibleSelection, getAccessibleTable, getAccessibleText, setAccessibleDescription, setAccessibleName, setAccessibleParent
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
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
protected JSplitPane.AccessibleJSplitPane()
AccessibleJSplitPane
instance.public AccessibleStateSet getAccessibleStateSet()
JSplitPane
component.getAccessibleStateSet
in class JComponent.AccessibleJComponent
AccessibleState
public AccessibleRole getAccessibleRole()
JSplitPane
component.getAccessibleRole
in class JComponent.AccessibleJComponent
AccessibleRole.SPLIT_PANE
.AccessibleRole
public AccessibleValue getAccessibleValue()
JSplitPane
. Since this class implements
AccessibleValue
, it returns itself.getAccessibleValue
in class AccessibleContext
AccessibleValue
public Number getCurrentAccessibleValue()
JSplitPane
component, as an Integer
.getCurrentAccessibleValue
in interface AccessibleValue
AccessibleValue.setCurrentAccessibleValue(Number)
public boolean setCurrentAccessibleValue(Number value)
JSplitPane
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 divider location (null
permitted).true
if the divider location value is updated, and
false
otherwise.public Number getMinimumAccessibleValue()
JSplitPane
component, as an Integer
.getMinimumAccessibleValue
in interface AccessibleValue
AccessibleValue.getMaximumAccessibleValue()
public Number getMaximumAccessibleValue()
JSplitPane
component, as an Integer
.getMaximumAccessibleValue
in interface AccessibleValue
AccessibleValue.getMinimumAccessibleValue()