|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object | +--javax.accessibility.AccessibleStateSet
Untamed:
Field Summary | |
protected Vector |
states
Each entry in the Vector represents an AccessibleState. |
Constructor Summary | |
AccessibleStateSet()
Enabled: Creates a new empty state set. |
|
AccessibleStateSet(AccessibleState[] states)
Enabled: Creates a new state with the initial set of states contained in the array of states passed in. |
Method Summary | |
boolean |
add(AccessibleState state)
Enabled: Adds a new state to the current state set if it is not already present. |
void |
addAll(AccessibleState[] states)
Enabled: Adds all of the states to the existing state set. |
void |
clear()
Enabled: Removes all the states from the current state set. |
boolean |
contains(AccessibleState state)
Enabled: Checks if the current state is in the state set. |
boolean |
remove(AccessibleState state)
Enabled: Removes a state from the current state set. |
AccessibleState[] |
toArray()
Enabled: Returns the current state set as an array of AccessibleState |
String |
toString()
Suppressed: Creates a localized String representing all the states in the set using the default locale. |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
Field Detail |
protected Vector states
add(javax.accessibility.AccessibleState)
,
addAll(javax.accessibility.AccessibleState[])
,
remove(javax.accessibility.AccessibleState)
,
contains(javax.accessibility.AccessibleState)
,
toArray()
,
clear()
Constructor Detail |
public AccessibleStateSet()
public AccessibleStateSet(AccessibleState[] states)
Method Detail |
public boolean add(AccessibleState state)
state
- the state to add to the state set
public void addAll(AccessibleState[] states)
public boolean remove(AccessibleState state)
state
- the state to remove from the state set
public void clear()
public boolean contains(AccessibleState state)
state
- the state
public AccessibleState[] toArray()
public String toString()
toString
in class Object
AccessibleBundle.toDisplayString(java.lang.String, java.util.Locale)
|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |