Package org.eclipse.swt.accessibility
Class AccessibleTextAttributeEvent
java.lang.Object
SWTEventObject
org.eclipse.swt.accessibility.AccessibleTextAttributeEvent
public class AccessibleTextAttributeEvent
extends SWTEventObject
Instances of this class are sent as a result of accessibility clients
sending AccessibleAttribute or AccessibleEditableText messages to an
accessible object.
-
Field Summary
Modifier and TypeFieldDescriptionString[]
[in/out] an array of alternating key and value Strings that represent attributes that do not correspond to TextStyle fieldsint
[in/out] the starting and ending offsets of the character rangeint
[in] the 0-based text offset for which to return attribute information[out] Set this field toACC.OK
if the operation was completed successfully, and null otherwise.int
[in/out] the starting and ending offsets of the character range -
Constructor Summary
ConstructorDescriptionAccessibleTextAttributeEvent
(Object source) Constructs a new instance of this class. -
Method Summary
-
Field Details
-
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 -
attributes
[in/out] an array of alternating key and value Strings that represent attributes that do not correspond to TextStyle fields -
result
[out] Set this field toACC.OK
if the operation was completed successfully, and null otherwise.
-
-
Constructor Details
-
AccessibleTextAttributeEvent
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.- Returns:
- a string representation of the event
-