|
Préférences
Moteurs de recherche
|
||||||||||||||||||||||||||||
| JavaTM 2 Platform Std. Ed. v1.5.0
javax.accessibility
|
|||||||||||||||||||||||||||||
| Field Summary | |
|---|---|
protected Vector<AccessibleState> |
states
Each entry in the Vector represents an AccessibleState. |
| Constructor Summary | |
|---|---|
AccessibleStateSet()
Creates a new empty state set. |
|
AccessibleStateSet(AccessibleState[] states)
Creates a new state with the initial set of states contained in the array of states passed in. |
|
| Method Summary | |
|---|---|
boolean |
add(AccessibleState state)
Adds a new state to the current state set if it is not already present. |
void |
addAll(AccessibleState[] states)
Adds all of the states to the existing state set. |
void |
clear()
Removes all the states from the current state set. |
boolean |
contains(AccessibleState state)
Checks if the current state is in the state set. |
boolean |
remove(AccessibleState state)
Removes a state from the current state set. |
AccessibleState[] |
toArray()
Returns the current state set as an array of AccessibleState |
String |
toString()
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<AccessibleState> states
| Constructor Detail |
|---|
public AccessibleStateSet()
public AccessibleStateSet(AccessibleState[] states)
states - an array of AccessibleState describing the state set.| Method Detail |
|---|
public boolean add(AccessibleState state)
state - the state to add to the state set
public void addAll(AccessibleState[] states)
states - AccessibleState array describing the state set.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()
AccessibleBundle.toDisplayString(java.lang.String, java.util.Locale)