Package org.eclipse.swt.accessibility
Class AccessibleTextAttributeEvent
- java.lang.Object
-
- java.util.EventObject
-
- org.eclipse.swt.accessibility.AccessibleTextAttributeEvent
-
- All Implemented Interfaces:
Serializable
public class AccessibleTextAttributeEvent extends EventObject
Instances of this class are sent as a result of accessibility clients sending AccessibleAttribute or AccessibleEditableText messages to an accessible object.
-
-
Field Summary
Fields Modifier and Type Field Description String[]
attributes
[in/out] an array of alternating key and value Strings that represent attributes that do not correspond to TextStyle fieldsint
end
[in/out] the starting and ending offsets of the character rangeint
offset
[in] the 0-based text offset for which to return attribute informationString
result
[out] Set this field toACC.OK
if the operation was completed successfully, and null otherwise.int
start
[in/out] the starting and ending offsets of the character rangeTextStyle
textStyle
[in/out] the TextStyle of the character range-
Fields inherited from class java.util.EventObject
source
-
-
Constructor Summary
Constructors Constructor Description AccessibleTextAttributeEvent(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
-
offset
public int offset
[in] the 0-based text offset for which to return attribute information
-
start
public int start
[in/out] the starting and ending offsets of the character range
-
end
public int end
[in/out] the starting and ending offsets of the character range
-
textStyle
public TextStyle textStyle
[in/out] the TextStyle of the character range
-
attributes
public String[] attributes
[in/out] an array of alternating key and value Strings that represent attributes that do not correspond to TextStyle fields
-
-
Constructor Detail
-
AccessibleTextAttributeEvent
public AccessibleTextAttributeEvent(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
-
-