Uses of Class
javax.accessibility.AccessibleState
| Package | Description |
|---|---|
| javax.accessibility |
Defines a contract between user-interface components and an assistive
technology that provides access to those components.
|
-
Uses of AccessibleState in javax.accessibility
Fields in javax.accessibility declared as AccessibleState Modifier and Type Field Description static AccessibleStateAccessibleState. ACTIVEIndicates a window is currently the active window.static AccessibleStateAccessibleState. ARMEDIndicates that the object is armed.static AccessibleStateAccessibleState. BUSYIndicates the current object is busy.static AccessibleStateAccessibleState. CHECKEDIndicates this object is currently checked.static AccessibleStateAccessibleState. COLLAPSEDIndicates this object is collapsed.static AccessibleStateAccessibleState. EDITABLEIndicates the user can change the contents of this object.static AccessibleStateAccessibleState. ENABLEDIndicates this object is enabled.static AccessibleStateAccessibleState. EXPANDABLEIndicates this object allows progressive disclosure of its children.static AccessibleStateAccessibleState. EXPANDEDIndicates this object is expanded.static AccessibleStateAccessibleState. FOCUSABLEIndicates 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 AccessibleStateAccessibleState. FOCUSEDIndicates this object currently has the keyboard focus.static AccessibleStateAccessibleState. HORIZONTALIndicates the orientation of this object is horizontal.static AccessibleStateAccessibleState. ICONIFIEDIndicates this object is minimized and is represented only by an icon.static AccessibleStateAccessibleState. INDETERMINATEIndicates that the object state is indeterminate.static AccessibleStateAccessibleState. MANAGES_DESCENDANTSIndicates this object is responsible for managing its subcomponents.static AccessibleStateAccessibleState. MODALIndicates something must be done with this object before the user can interact with an object in a different window.static AccessibleStateAccessibleState. MULTI_LINEIndicates this (text) object can contain multiple lines of text.static AccessibleStateAccessibleState. MULTISELECTABLEIndicates this object allows more than one of its children to be selected at the same time.static AccessibleStateAccessibleState. OPAQUEIndicates this object paints every pixel within its rectangular region.static AccessibleStateAccessibleState. PRESSEDIndicates this object is currently pressed.static AccessibleStateAccessibleState. RESIZABLEIndicates the size of this object is not fixed.static AccessibleStateAccessibleState. SELECTABLEIndicates 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 AccessibleStateAccessibleState. SELECTEDIndicates 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 AccessibleStateAccessibleState. SHOWINGIndicates this object, the object's parent, the object's parent's parent, and so on, are all visible.static AccessibleStateAccessibleState. SINGLE_LINEIndicates this (text) object can contain only a single line of text.static AccessibleStateAccessibleState. TRANSIENTIndicates this object is transient.static AccessibleStateAccessibleState. TRUNCATEDA state indicating that text is truncated by a bounding rectangle and that some of the text is not displayed on the screen.static AccessibleStateAccessibleState. VERTICALIndicates the orientation of this object is vertical.static AccessibleStateAccessibleState. VISIBLEIndicates this object is visible.Fields in javax.accessibility with type parameters of type AccessibleState Modifier and Type Field Description protected Vector<AccessibleState>AccessibleStateSet. statesEach entry in theVectorrepresents anAccessibleState.Methods in javax.accessibility that return AccessibleState Modifier and Type Method Description AccessibleState[]AccessibleStateSet. toArray()Returns the current state set as an array ofAccessibleState.Methods in javax.accessibility with parameters of type AccessibleState Modifier and Type Method Description booleanAccessibleStateSet. add(AccessibleState state)Adds a new state to the current state set if it is not already present.voidAccessibleStateSet. addAll(AccessibleState[] states)Adds all of the states to the existing state set.booleanAccessibleStateSet. contains(AccessibleState state)Checks if the current state is in the state set.booleanAccessibleStateSet. remove(AccessibleState state)Removes a state from the current state set.Constructors in javax.accessibility with parameters of type AccessibleState Constructor Description AccessibleStateSet(AccessibleState[] states)Creates a new state with the initial set of states contained in the array of states passed in.