Top Description Fields Constructors Methods
org.eclipse.swt.accessibility

public Class AccessibleTextAttributeEvent

extends EventObject
Class Inheritance
Imports
java.util.*, org.eclipse.swt.graphics.*

Instances of this class are sent as a result of accessibility clients sending AccessibleAttribute or AccessibleEditableText messages to an accessible object.
Since
3.6
See Also
AccessibleAttributeListener, AccessibleAttributeAdapter, AccessibleEditableTextListener, AccessibleEditableTextAdapter

Field Summary

Modifier and TypeField and Description
public String[]
attributes

[in/out] an array of alternating key and value Strings that represent attributes that do not correspond to TextStyle fields

public int
end

[in/out] the starting and ending offsets of the character range

public int
offset

[in] the 0-based text offset for which to return attribute information

public String
result

[out] Set this field to ACC#OK if the operation was completed successfully, and null otherwise.

pack-priv static final long
public int
start

[in/out] the starting and ending offsets of the character range

public TextStyle
textStyle

[in/out] the TextStyle of the character range

Inherited from java.util.EventObject:
source

Constructor Summary

AccessConstructor and Description
public
AccessibleTextAttributeEvent(Object
the object that fired the event
source
)

Constructs a new instance of this class.

Method Summary

Modifier and TypeMethod and Description
pack-priv String
toAttributeString(String[] attributes)

public String

Returns:

a string representation of the event
toString
()

Overrides java.util.EventObject.toString.

Returns a string containing a concise, human-readable description of the receiver.
Inherited from java.util.EventObject:
getSource

Field Detail

attributesback to summary
public String[] attributes

[in/out] an array of alternating key and value Strings that represent attributes that do not correspond to TextStyle fields

See Also
AccessibleAttributeListener#getTextAttributes, AccessibleEditableTextListener#setTextAttributes
endback to summary
public int end

[in/out] the starting and ending offsets of the character range

See Also
AccessibleAttributeListener#getTextAttributes, AccessibleEditableTextListener#setTextAttributes
offsetback to summary
public int offset

[in] the 0-based text offset for which to return attribute information

See Also
AccessibleAttributeListener#getTextAttributes
resultback to summary
public String result

[out] Set this field to ACC#OK if the operation was completed successfully, and null otherwise.

Since
3.7
See Also
AccessibleEditableTextListener#setTextAttributes
serialVersionUIDback to summary
pack-priv static final long serialVersionUID

Hides java.util.EventObject.serialVersionUID.

startback to summary
public int start

[in/out] the starting and ending offsets of the character range

See Also
AccessibleAttributeListener#getTextAttributes, AccessibleEditableTextListener#setTextAttributes
textStyleback to summary
public TextStyle textStyle

[in/out] the TextStyle of the character range

See Also
AccessibleAttributeListener#getTextAttributes, AccessibleEditableTextListener#setTextAttributes

Constructor Detail

AccessibleTextAttributeEventback to summary
public AccessibleTextAttributeEvent(Object source)

Constructs a new instance of this class.

Parameters
source:Object

the object that fired the event

Method Detail

toAttributeStringback to summary
pack-priv String toAttributeString(String[] attributes)
toStringback to summary
public String toString()

Overrides java.util.EventObject.toString.

Returns a string containing a concise, human-readable description of the receiver.

Returns:String

a string representation of the event

Annotations
@Override