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