|
Java Platform 1.2 Beta 4 |
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object | +--com.sun.java.accessibility.AccessibleStateSet
AccessibleState
Field Summary | |
protected Vector | states
Each entry in the Vector represents an AccessibleState. |
Constructor Summary | |
AccessibleStateSet()
Create a new empty state set. |
|
AccessibleStateSet(AccessibleState[] states)
Create a new state with the initial set of states contained in the array of states passed in. |
Method Summary | |
boolean | add(AccessibleState state)
Add a new state to the current state set if it is not already present. |
void | addAll(AccessibleState[] states)
Add all of the states to the existing state set. |
void | clear()
Remove all the states from the current state set. |
boolean | contains(AccessibleState state)
Check if the current state is in the state set. |
boolean | remove(AccessibleState state)
Remove a state from the current state set. |
AccessibleState[] | toArray()
Returns the current state set as an array of AccessibleState |
String | toString()
Create 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(com.sun.java.accessibility.AccessibleState)
,
addAll(com.sun.java.accessibility.AccessibleState[])
,
remove(com.sun.java.accessibility.AccessibleState)
,
contains(com.sun.java.accessibility.AccessibleState)
,
toArray()
,
clear()
Constructor Detail |
public AccessibleStateSet()
public AccessibleStateSet(AccessibleState[] states)
state
- an array of AccessibleState describing the state set.Method Detail |
public boolean add(AccessibleState state)
state
- the state to add to the state setpublic void addAll(AccessibleState[] states)
state
- AccessibleState array describing the state set.public boolean remove(AccessibleState state)
state
- the state to remove from the state setpublic void clear()
public boolean contains(AccessibleState state)
state
- the statepublic AccessibleState[] toArray()
public String toString()
AccessibleBundle.toDisplayString(java.lang.String, java.util.Locale)
|
Java Platform 1.2 Beta 4 |
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |