API Overview API Index Package Overview Direct link to this page
JDK 1.6
  javax.accessibility. AccessibleStateSet View Source
Author(s)
Willie Walker
Since
Version
1.10 10/12/99 15:05:34
Serial
Hierarchy
 Object
      AccessibleStateSet
Implements
Subclasses
Description
public class AccessibleStateSet
  Class AccessibleStateSet determines a component's state set.
See also:    AccessibleState
Constructors
public AccessibleStateSet ()
Creates a new empty state set.
public AccessibleStateSet (AccessibleState states)
  Creates a new state with the initial set of states contained in the array of states passed in.
Methods
Hide/Show inherited methods
public boolean add (AccessibleState state)
  Adds a new state to the current state set if it is not already present.
public void addAll (AccessibleState states)
  Adds all of the states to the existing state set.
public void clear ()
Removes all the states from the current state set.
public boolean contains (AccessibleState state)
  Checks if the current state is in the state set.
public boolean remove (AccessibleState state)
  Removes a state from the current state set.
public AccessibleState toArray ()
  Returns the current state set as an array of AccessibleState
public String toString ()
  Creates a localized String representing all the states in the set using the default locale.
Fields
Hide/Show inherited fields
protected Vector<AccessibleState> states
  Each entry in the Vector represents an AccessibleState.
Nested Classes
Generated By: JavaOnTracks Doclet 0.1.4     ©Thibaut Colar