java.lang.Objectjavax.accessibility.AccessibleBundle
javax.accessibility.AccessibleState
public class AccessibleState
Class AccessibleState describes a component's particular state. The actual state of the component is defined as an AccessibleStateSet, which is a composed set of AccessibleStates.
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. A public constructor for this class has been purposely omitted and applications should use one of the constants from this class. 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 AccessibleState |
ACTIVE
Indicates a window is currently the active window. |
static AccessibleState |
ARMED
Indicates that the object is armed. |
static AccessibleState |
BUSY
Indicates the current object is busy. |
static AccessibleState |
CHECKED
Indicates this object is currently checked. |
static AccessibleState |
COLLAPSED
Indicates this object is collapsed. |
static AccessibleState |
EDITABLE
Indicates the user can change the contents of this object. |
static AccessibleState |
ENABLED
Indicates this object is enabled. |
static AccessibleState |
EXPANDABLE
Indicates this object allows progressive disclosure of its children. |
static AccessibleState |
EXPANDED
Indicates this object is expanded. |
static AccessibleState |
FOCUSABLE
Indicates this object can accept keyboard focus, which means all events resulting from typing on the keyboard will normally be passed to it when it has focus. |
static AccessibleState |
FOCUSED
Indicates this object currently has the keyboard focus. |
static AccessibleState |
HORIZONTAL
Indicates the orientation of this object is horizontal. |
static AccessibleState |
ICONIFIED
Indicates this object is minimized and is represented only by an icon. |
static AccessibleState |
INDETERMINATE
Indicates that the object state is indeterminate. |
static AccessibleState |
MANAGES_DESCENDANTS
Indicates this object is responsible for managing its subcomponents. |
static AccessibleState |
MODAL
Indicates something must be done with this object before the user can interact with an object in a different window. |
static AccessibleState |
MULTI_LINE
Indicates this (text) object can contain multiple lines of text |
static AccessibleState |
MULTISELECTABLE
Indicates this object allows more than one of its children to be selected at the same time. |
static AccessibleState |
OPAQUE
Indicates this object paints every pixel within its rectangular region. |
static AccessibleState |
PRESSED
Indicates this object is currently pressed. |
static AccessibleState |
RESIZABLE
Indicates the size of this object is not fixed. |
static AccessibleState |
SELECTABLE
Indicates this object is the child of an object that allows its children to be selected, and that this child is one of those children that can be selected. |
static AccessibleState |
SELECTED
Indicates this object is the child of an object that allows its children to be selected, and that this child is one of those children that has been selected. |
static AccessibleState |
SHOWING
Indicates this object, the object's parent, the object's parent's parent, and so on, are all visible. |
static AccessibleState |
SINGLE_LINE
Indicates this (text) object can contain only a single line of text |
static AccessibleState |
TRANSIENT
Indicates this object is transient. |
static AccessibleState |
TRUNCATED
A state indicating that text is truncated by a bounding rectangle and that some of the text is not displayed on the screen. |
static AccessibleState |
VERTICAL
Indicates the orientation of this object is vertical. |
static AccessibleState |
VISIBLE
Indicates this object is visible. |
| Fields inherited from class javax.accessibility.AccessibleBundle |
|---|
key |
| Constructor Summary | |
|---|---|
protected |
AccessibleState(String key)
Creates a new AccessibleState using the given locale independent key. |
| Method Summary |
|---|
| 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 AccessibleState ACTIVE
public static final AccessibleState PRESSED
AccessibleRole.PUSH_BUTTONpublic static final AccessibleState ARMED
AccessibleRole.PUSH_BUTTONpublic static final AccessibleState BUSY
public static final AccessibleState CHECKED
public static final AccessibleState EDITABLE
ENABLEDpublic static final AccessibleState EXPANDABLE
EXPANDED,
COLLAPSED,
AccessibleRole.TREEpublic static final AccessibleState COLLAPSED
EXPANDABLE,
EXPANDED,
AccessibleRole.TREEpublic static final AccessibleState EXPANDED
EXPANDABLE,
COLLAPSED,
AccessibleRole.TREEpublic static final AccessibleState ENABLED
public static final AccessibleState FOCUSABLE
FOCUSEDpublic static final AccessibleState FOCUSED
FOCUSABLEpublic static final AccessibleState ICONIFIED
public static final AccessibleState MODAL
AccessibleRole.DIALOGpublic static final AccessibleState OPAQUE
public static final AccessibleState RESIZABLE
public static final AccessibleState MULTISELECTABLE
public static final AccessibleState SELECTABLE
public static final AccessibleState SELECTED
public static final AccessibleState SHOWING
VISIBLEpublic static final AccessibleState VISIBLE
SHOWINGpublic static final AccessibleState VERTICAL
public static final AccessibleState HORIZONTAL
public static final AccessibleState SINGLE_LINE
public static final AccessibleState MULTI_LINE
public static final AccessibleState TRANSIENT
public static final AccessibleState MANAGES_DESCENDANTS
public static final AccessibleState INDETERMINATE
public static final AccessibleState TRUNCATED
| Constructor Detail |
|---|
protected AccessibleState(String key)
The key String should be a locale independent key for the state. It is not intended to be used as the actual String to display to the user. To get the localized string, use toDisplayString.
key - the locale independent name of the state.AccessibleBundle.toDisplayString(java.lang.String, java.util.Locale)Ces 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.
Recherche (afficher)
Utilisateur (masquer)
Navigation (masquer)
Apparence (afficher)
Stats (afficher)
Citation (masquer)