|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
java.lang.Objectjavax.accessibility.AccessibleContext
java.awt.Component.AccessibleAWTComponent
java.awt.Container.AccessibleAWTContainer
javax.swing.JComponent.AccessibleJComponent
javax.swing.JProgressBar.AccessibleJProgressBar
protected class JProgressBar.AccessibleJProgressBar
Provides the accessibility features for the JProgressBar
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.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.Component.AccessibleAWTComponent |
|---|
accessibleAWTComponentHandler, accessibleAWTFocusHandler |
| Constructor Summary | |
|---|---|
protected |
JProgressBar.AccessibleJProgressBar()
Creates a new AccessibleJProgressBar instance. |
| Method Summary | |
|---|---|
AccessibleRole |
getAccessibleRole()
Returns the accessible role for the JProgressBar component. |
AccessibleStateSet |
getAccessibleStateSet()
Returns a set containing the current state of the JProgressBar
component. |
AccessibleValue |
getAccessibleValue()
Returns an object that provides access to the current, minimum and maximum values. |
Number |
getCurrentAccessibleValue()
Returns the current value of the JProgressBar component, as an
Integer. |
Number |
getMaximumAccessibleValue()
Returns the maximum value of the JProgressBar component, as an
Integer. |
Number |
getMinimumAccessibleValue()
Returns the minimum value of the JProgressBar component, as an
Integer. |
boolean |
setCurrentAccessibleValue(Number value)
Sets the current value of the JProgressBar component and sends a
PropertyChangeEvent (with the property name
AccessibleContext.ACCESSIBLE_VALUE_PROPERTY) 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 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 |
| Constructor Detail |
|---|
protected JProgressBar.AccessibleJProgressBar()
AccessibleJProgressBar instance.
| Method Detail |
|---|
public AccessibleStateSet getAccessibleStateSet()
JProgressBar
component.
getAccessibleStateSet in class JComponent.AccessibleJComponentAccessibleStatepublic AccessibleRole getAccessibleRole()
JProgressBar component.
getAccessibleRole in class JComponent.AccessibleJComponentAccessibleRole.PROGRESS_BAR.AccessibleRolepublic AccessibleValue getAccessibleValue()
getAccessibleValue in class AccessibleContextAccessibleValuepublic Number getCurrentAccessibleValue()
JProgressBar component, as an
Integer.
getCurrentAccessibleValue in interface AccessibleValueJProgressBar component.AccessibleValue.setCurrentAccessibleValue(Number)public boolean setCurrentAccessibleValue(Number value)
JProgressBar 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 AccessibleValuevalue - the new progress bar value (null permitted).
true if the slider value is updated, and
false otherwise.public Number getMinimumAccessibleValue()
JProgressBar component, as an
Integer.
getMinimumAccessibleValue in interface AccessibleValueJProgressBar component.AccessibleValue.getMaximumAccessibleValue()public Number getMaximumAccessibleValue()
JProgressBar component, as an
Integer.
getMaximumAccessibleValue in interface AccessibleValueJProgressBar component.AccessibleValue.getMinimumAccessibleValue()
|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||