javax.swing
protected class JProgressBar.AccessibleJProgressBar extends AccessibleJComponent implements AccessibleValue
JProgressBar
component.
Constructor Summary | |
---|---|
protected | 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 {@link 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 {@link JProgressBar} component, as an
{@link Integer}.
|
Number | getMaximumAccessibleValue()
Returns the maximum value of the {@link JProgressBar} component, as an
{@link Integer}.
|
Number | getMinimumAccessibleValue()
Returns the minimum value of the {@link JProgressBar} component, as an
{@link Integer}.
|
boolean | setCurrentAccessibleValue(Number value)
Sets the current value of the {@link JProgressBar} component and sends a
{@link PropertyChangeEvent} (with the property name
{@link AccessibleContext#ACCESSIBLE_VALUE_PROPERTY}) to all registered
listeners. |
AccessibleJProgressBar
instance.JProgressBar
component.
Returns: {@link AccessibleRole#PROGRESS_BAR}.
Returns: The accessible state set.
Returns: The accessible value.
Returns: The current value of the {@link JProgressBar} component.
Returns: The maximum value of the {@link JProgressBar} component.
Returns: The minimum value of the {@link JProgressBar} component.
null
, this method
does nothing and returns false
.
Parameters: value the new progress bar value (null
permitted).
Returns: true
if the slider value is updated, and
false
otherwise.