java.lang.Objectjavax.accessibility.AccessibleBundle
javax.accessibility.AccessibleRelation
public class AccessibleRelation
Class AccessibleRelation describes a relation between the object that implements the AccessibleRelation and one or more other objects. The actual relations that an object has with other objects are defined as an AccessibleRelationSet, which is a composed set of AccessibleRelations.
The toDisplayString method allows you to obtain the localized string for a locale independent key from a predefined ResourceBundle for the keys defined in this class.
The constants in this class present a strongly typed enumeration of common object roles. If the constants in this class are not sufficient to describe the role of an object, a subclass should be generated from this class and it should provide constants in a similar manner.
Field Summary | |
---|---|
static String |
CHILD_NODE_OF
Indicates that an object is a child node of one or more objects. |
static String |
CHILD_NODE_OF_PROPERTY
Indicates the CHILD_NODE_OF relation between two or more objects has changed. |
static String |
CONTROLLED_BY
Indicates an object is controlled by one or more target objects. |
static String |
CONTROLLED_BY_PROPERTY
Identifies that the target object that is doing the controlling has changed |
static String |
CONTROLLER_FOR
Indicates an object is a controller for one or more target objects. |
static String |
CONTROLLER_FOR_PROPERTY
Identifies that the controller for the target object has changed |
static String |
EMBEDDED_BY
Indicates that an object is embedded in one or more objects. |
static String |
EMBEDDED_BY_PROPERTY
Indicates the EMBEDDED_BY relation between two or more objects has changed. |
static String |
EMBEDS
Indicates that an object has one or more objects embedded in it. |
static String |
EMBEDS_PROPERTY
Indicates the EMBEDS relation between two or more objects has changed. |
static String |
FLOWS_FROM
Indicates an object is logically contiguous with a second object where the second object occurs before the object. |
static String |
FLOWS_FROM_PROPERTY
Indicates the FLOWS_FROM relation between two objects has changed. |
static String |
FLOWS_TO
Indicates an object is logically contiguous with a second object where the second object occurs after the object. |
static String |
FLOWS_TO_PROPERTY
Indicates the FLOWS_TO relation between two objects has changed. |
static String |
LABEL_FOR
Indicates an object is a label for one or more target objects. |
static String |
LABEL_FOR_PROPERTY
Identifies that the target group for a label has changed |
static String |
LABELED_BY
Indicates an object is labeled by one or more target objects. |
static String |
LABELED_BY_PROPERTY
Identifies that the objects that are doing the labeling have changed |
static String |
MEMBER_OF
Indicates an object is a member of a group of one or more target objects. |
static String |
MEMBER_OF_PROPERTY
Identifies that group membership has changed. |
static String |
PARENT_WINDOW_OF
Indicates that an object is a parent window of one or more objects. |
static String |
PARENT_WINDOW_OF_PROPERTY
Indicates the PARENT_WINDOW_OF relation between two or more objects has changed. |
static String |
SUBWINDOW_OF
Indicates that an object is a subwindow of one or more objects. |
static String |
SUBWINDOW_OF_PROPERTY
Indicates the SUBWINDOW_OF relation between two or more objects has changed. |
Fields inherited from class javax.accessibility.AccessibleBundle |
---|
key |
Constructor Summary | |
---|---|
AccessibleRelation(String key)
Create a new AccessibleRelation using the given locale independent key. |
|
AccessibleRelation(String key,
Object target)
Creates a new AccessibleRelation using the given locale independent key. |
|
AccessibleRelation(String key,
Object[] target)
Creates a new AccessibleRelation using the given locale independent key. |
Method Summary | |
---|---|
String |
getKey()
Returns the key for this relation |
Object[] |
getTarget()
Returns the target objects for this relation |
void |
setTarget(Object target)
Sets the target object for this relation |
void |
setTarget(Object[] target)
Sets the target objects for this relation |
Methods inherited from class javax.accessibility.AccessibleBundle |
---|
toDisplayString, toDisplayString, toDisplayString, toString |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
Field Detail |
---|
public static final String LABEL_FOR
getTarget()
,
CONTROLLER_FOR
,
CONTROLLED_BY
,
LABELED_BY
,
MEMBER_OF
public static final String LABELED_BY
getTarget()
,
CONTROLLER_FOR
,
CONTROLLED_BY
,
LABEL_FOR
,
MEMBER_OF
public static final String MEMBER_OF
getTarget()
,
CONTROLLER_FOR
,
CONTROLLED_BY
,
LABEL_FOR
,
LABELED_BY
public static final String CONTROLLER_FOR
getTarget()
,
CONTROLLED_BY
,
LABEL_FOR
,
LABELED_BY
,
MEMBER_OF
public static final String CONTROLLED_BY
getTarget()
,
CONTROLLER_FOR
,
LABEL_FOR
,
LABELED_BY
,
MEMBER_OF
public static final String FLOWS_TO
public static final String FLOWS_FROM
public static final String SUBWINDOW_OF
public static final String PARENT_WINDOW_OF
public static final String EMBEDS
public static final String EMBEDDED_BY
public static final String CHILD_NODE_OF
public static final String LABEL_FOR_PROPERTY
public static final String LABELED_BY_PROPERTY
public static final String MEMBER_OF_PROPERTY
public static final String CONTROLLER_FOR_PROPERTY
public static final String CONTROLLED_BY_PROPERTY
public static final String FLOWS_TO_PROPERTY
public static final String FLOWS_FROM_PROPERTY
public static final String SUBWINDOW_OF_PROPERTY
public static final String PARENT_WINDOW_OF_PROPERTY
public static final String EMBEDS_PROPERTY
public static final String EMBEDDED_BY_PROPERTY
public static final String CHILD_NODE_OF_PROPERTY
Constructor Detail |
---|
public AccessibleRelation(String key)
key
- the locale independent name of the relation.AccessibleBundle.toDisplayString(java.lang.String, java.util.Locale)
public AccessibleRelation(String key, Object target)
key
- the locale independent name of the relation.target
- the target object for this relationAccessibleBundle.toDisplayString(java.lang.String, java.util.Locale)
public AccessibleRelation(String key, Object[] target)
key
- the locale independent name of the relation.target
- the target object(s) for this relationAccessibleBundle.toDisplayString(java.lang.String, java.util.Locale)
Method Detail |
---|
public String getKey()
CONTROLLER_FOR
,
CONTROLLED_BY
,
LABEL_FOR
,
LABELED_BY
,
MEMBER_OF
public Object[] getTarget()
public void setTarget(Object target)
target
- the target object for this relationpublic void setTarget(Object[] target)
target
- an array containing the target objects for this relationCes informations proviennent du site de http://java.sun.com
Le contenu de cette page provient du site de Sun, et est généré depuis un cache sur l'infobrol après certains traitements automatisés. La présentation peut donc différer du document original, mais le contenu aussi. Vous pouvez utiliser ce bouton pour afficher la page originale du site de Sun :
Maintenir les pages en cache sur différents sites peut offrir plus de disponibilité.
Chaque page est indexée dans la base de donnée, ce qui permet de retrouver facilement les informations, au moyen des sommaires, du moteur de recherche interne, etc.
Des facilités sont mises en place pour que les membres de l'infobrol puissent effectuer des traductions en français des différents documents. Ceci devrait permettre aux débutants en programmation Java de consulter les API en français s'ils maîtrisent moins bien la langue de Shakespeare. Dans le cas où une traduction a été soumise, elle est disponible au moyen d'un lien en bas de page. Si la traduction a été validée, la page s'affiche par défaut en français, et un lien en bas de page permet d'atteindre la version en anglais.
Le code sur l'infobrol est automatiquement coloré selon la syntaxe, et les différents mots clés sont transformés en liens pour accéder rapidement aux informations.
Vous avez la possibilité de partager vos expériences en proposant vos propres extraits de code en utilisant le bouton "ajouter un commentaire" en bas de page. Si vous visitez simplement l'infobrol, vous avez déjà accès à cette fonction, mais si vous étes membre du brol, vous pouvez en plus utiliser des boutons supplémentaires de mise en forme, dont la coloration automatique de vos extraits de codes.
Vous pouvez modifier vos préférences dans votre profil pour ne plus afficher les interactions avec les réseaux sociaux sur ces pages.
6 mots clés dont 0 définis manuellement (plus d'information...).
Avertissement
Cette page ne possède pas encore de mots clés manuels, ceci est donc un exemple automatique (les niveaux de pertinence sont fictifs, mais les liens sont valables). Pour tester le nuage avec une page qui contient des mots définis manuellement, vous pouvez cliquer ici.Vous pouvez modifier vos préférences dans votre profil pour ne plus afficher le nuage de mots clés.