Package org.eclipse.swt.accessibility
Class AccessibleAttributeEvent
java.lang.Object
java.util.EventObject
org.eclipse.swt.accessibility.AccessibleAttributeEvent
- All Implemented Interfaces:
Serializable
Instances of this class are sent as a result of accessibility clients
sending AccessibleAttribute messages to an accessible object.
- Since:
- 3.6
- See Also:
-
Field Summary
Modifier and TypeFieldDescriptionint
[out] the alignment, which is one of SWT#LEFT, SWT#RIGHT or SWT#CENTERString[]
[out] an array of alternating key and value Strings which represent additional (i.e. non predefined) attributesint
[out] the bottom margin in pixelsint
[out] the 1-based number of similar children in this accessible's group, including this accessible (0 means "not applicable")int
[out] the 1-based index of this accessible in its group (0 means "not applicable")int
[out] the 1-based level of this accessible in its group (0 means "not applicable")int
[out] the indent in pixelsboolean
[out] whether or not to justify the textint
[out] the left margin in pixelsint
[out] the right margin in pixelsint[]
[out] an array of pixel locations representing tab stopsint
[out] the top margin in pixelsFields inherited from class java.util.EventObject
source
-
Constructor Summary
ConstructorDescriptionAccessibleAttributeEvent
(Object source) Constructs a new instance of this class. -
Method Summary
Methods inherited from class java.util.EventObject
getSource
-
Field Details
-
topMargin
public int topMargin[out] the top margin in pixels -
bottomMargin
public int bottomMargin[out] the bottom margin in pixels -
leftMargin
public int leftMargin[out] the left margin in pixels -
rightMargin
public int rightMargin[out] the right margin in pixels -
tabStops
public int[] tabStops[out] an array of pixel locations representing tab stops -
justify
public boolean justify[out] whether or not to justify the text -
alignment
public int alignment[out] the alignment, which is one of SWT#LEFT, SWT#RIGHT or SWT#CENTER -
indent
public int indent[out] the indent in pixels -
groupLevel
public int groupLevel[out] the 1-based level of this accessible in its group (0 means "not applicable") -
groupCount
public int groupCount[out] the 1-based number of similar children in this accessible's group, including this accessible (0 means "not applicable") -
groupIndex
public int groupIndex[out] the 1-based index of this accessible in its group (0 means "not applicable") -
attributes
[out] an array of alternating key and value Strings which represent additional (i.e. non predefined) attributes
-
-
Constructor Details
-
AccessibleAttributeEvent
Constructs a new instance of this class.- Parameters:
source
- the object that fired the event
-
-
Method Details
-
toString
Returns a string containing a concise, human-readable description of the receiver.- Overrides:
toString
in classEventObject
- Returns:
- a string representation of the event
-