|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Object![]()
![]()
![]()
javax.accessibility.AccessibleRelationSet
public class AccessibleRelationSet

Class AccessibleRelationSet determines a component's relation set. The relation set of a component is a set of AccessibleRelation objects that describe the component's relationships with other components.
AccessibleRelation

| Field Summary | |
|---|---|
protected Vector |
relations
Each entry in the Vector represents an AccessibleRelation. |
| Constructor Summary | |
|---|---|
AccessibleRelationSet
Creates a new empty relation set. |
|
AccessibleRelationSet
Creates a new relation with the initial set of relations contained in the array of relations passed in. |
|
| Method Summary | |
|---|---|
boolean |
add
Adds a new relation to the current relation set. |
void |
addAll
Adds all of the relations to the existing relation set. |
void |
clear
Removes all the relations from the current relation set. |
boolean |
contains
Returns whether the relation set contains a relation that matches the specified key. |
AccessibleRelation |
get
Returns the relation that matches the specified key. |
boolean |
remove
Removes a relation from the current relation set. |
int |
size
Returns the number of relations in the relation set. |
AccessibleRelation |
toArray
Returns the current relation set as an array of AccessibleRelation |
String |
toString
Creates a localized String representing all the relations in the set using the default locale. |
Methods inherited from class java.lang.Object ![]() |
|---|
clone |
| Field Detail |
|---|

protected Vector![]()
![]()
<AccessibleRelation
![]()
![]()
> relations
add(javax.accessibility.AccessibleRelation)
,
addAll(javax.accessibility.AccessibleRelation[])
,
remove(javax.accessibility.AccessibleRelation)
,
contains(java.lang.String)
,
get(java.lang.String)
,
size()
,
toArray()
,
clear()

| Constructor Detail |
|---|

public AccessibleRelationSet()

public AccessibleRelationSet(AccessibleRelation![]()
![]()
[] relations)
relations - an array of AccessibleRelation describing the
relation set.| Method Detail |
|---|

public boolean add(AccessibleRelation![]()
![]()
relation)
relation - the relation to add to the relation set

public void addAll(AccessibleRelation![]()
![]()
[] relations)
relations - AccessibleRelation array describing the relation set.

public boolean remove(AccessibleRelation![]()
![]()
relation)
relation - the relation to remove from the relation set

public void clear()

public int size()

public boolean contains(String![]()
![]()
key)
key - the AccessibleRelation key

public AccessibleRelation![]()
![]()
get(String
![]()
![]()
key)
key - the AccessibleRelation key

public AccessibleRelation![]()
![]()
[] 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 | |||||||||