Package org.eclipse.swt.accessibility
Class AccessibleTextAttributeEvent
java.lang.Object
java.util.EventObject
org.eclipse.swt.accessibility.AccessibleTextAttributeEvent
- All Implemented Interfaces:
Serializable
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[in/out] the TextStyle of the character rangeFields inherited from class java.util.EventObject
source
-
Constructor Summary
ConstructorDescriptionAccessibleTextAttributeEvent
(Object source) Constructs a new instance of this class. -
Method Summary
Methods inherited from class java.util.EventObject
getSource
-
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 -
textStyle
[in/out] the TextStyle 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.- Overrides:
toString
in classEventObject
- Returns:
- a string representation of the event
-