| Package | Description | 
|---|---|
| javax.accessibility | Defines a contract between user-interface components and an assistive technology
that provides access to those components. | 
| Modifier and Type | Field | Description | 
|---|---|---|
| protected Vector<AccessibleRelation> | AccessibleRelationSet. relationsEach entry in the Vector represents an AccessibleRelation. | 
| Modifier and Type | Method | Description | 
|---|---|---|
| AccessibleRelation | AccessibleRelationSet. get(String key)Returns the relation that matches the specified key. | |
| AccessibleRelation[] | AccessibleRelationSet. toArray()Returns the current relation set as an array of AccessibleRelation | 
| Modifier and Type | Method | Description | 
|---|---|---|
| boolean | AccessibleRelationSet. add(AccessibleRelation relation)Adds a new relation to the current relation set. | |
| void | AccessibleRelationSet. addAll(AccessibleRelation[] relations)Adds all of the relations to the existing relation set. | |
| boolean | AccessibleRelationSet. remove(AccessibleRelation relation)Removes a relation from the current relation set. | 
| Constructor | Description | 
|---|---|
| AccessibleRelationSet(AccessibleRelation[] relations)Creates a new relation with the initial set of relations contained in
 the array of relations passed in. | 
 Submit a bug or feature 
For further API reference and developer documentation, see Java SE Documentation. That documentation contains more detailed, developer-targeted descriptions, with conceptual overviews, definitions of terms, workarounds, and working code examples.
 Copyright © 1993, 2025, Oracle and/or its affiliates.  All rights reserved. Use is subject to license terms. Also see the documentation redistribution policy.