API Overview API Index Package Overview Direct link to this page
JDK 1.6
  javax.accessibility. AccessibleRelationSet View Source
Author(s)
Lynn Monsanto
Since
1.3
Version
1.15 04/07/06
Serial
Hierarchy
 Object
      AccessibleRelationSet
Implements
Subclasses
Description
public class AccessibleRelationSet
  Class AccessibleRelationSet determines a component's relation set.
See also:    AccessibleRelation
Constructors
public AccessibleRelationSet ()
Creates a new empty relation set.
public AccessibleRelationSet (AccessibleRelation relations)
  Creates a new relation with the initial set of relations contained in the array of relations passed in.
Methods
Hide/Show inherited methods
public boolean add (AccessibleRelation relation)
  Adds a new relation to the current relation set.
public void addAll (AccessibleRelation relations)
  Adds all of the relations to the existing relation set.
public void clear ()
Removes all the relations from the current relation set.
public boolean contains (String key)
  Returns whether the relation set contains a relation that matches the specified key.
public AccessibleRelation get (String key)
  Returns the relation that matches the specified key.
public boolean remove (AccessibleRelation relation)
  Removes a relation from the current relation set.
public int size ()
Returns the number of relations in the relation set.
public AccessibleRelation toArray ()
  Returns the current relation set as an array of AccessibleRelation
public String toString ()
  Creates a localized String representing all the relations in the set using the default locale.
Fields
Hide/Show inherited fields
protected Vector<AccessibleRelation> relations
  Each entry in the Vector represents an AccessibleRelation.
Nested Classes
Generated By: JavaOnTracks Doclet 0.1.4     ©Thibaut Colar