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

public Class AccessibleTextEvent

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

Instances of this class are sent as a result of accessibility clients sending messages to controls asking for detailed information about the implementation of the control instance. Typically, only implementors of custom controls need to listen for this event.

Note

The meaning of each field depends on the message that was sent.

Since
3.0
See Also
AccessibleTextListener, AccessibleTextAdapter, Sample code and further information

Field Summary

Modifier and TypeField and Description
public Accessible
public int
public int
public int
public int
public int
public int
public int
public int[]
public Rectangle[]
public String
result

The value of this field must be set in the accessible text extended listener method before returning.

pack-priv static final long
public int
public int
public int
public int
x

public int
y

Inherited from java.util.EventObject:
source

Constructor Summary

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

Constructs a new instance of this class.

Method Summary

Modifier and TypeMethod and Description
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

accessibleback to summary
public Accessible accessible
Since
3.6
childIDback to summary
public int childID
countback to summary
public int count
Since
3.6
endback to summary
public int end
Since
3.6
heightback to summary
public int height
Since
3.6
indexback to summary
public int index
Since
3.6
lengthback to summary
public int length
offsetback to summary
public int offset
rangesback to summary
public int[] ranges
Since
3.6
rectanglesback to summary
public Rectangle[] rectangles
Since
3.6
resultback to summary
public String result

The value of this field must be set in the accessible text extended listener method before returning. What to set it to depends on the listener method called.

Since
3.6
serialVersionUIDback to summary
pack-priv static final long serialVersionUID

Hides java.util.EventObject.serialVersionUID.

startback to summary
public int start
Since
3.6
typeback to summary
public int type
Since
3.6
widthback to summary
public int width
Since
3.6
xback to summary
public int x
Since
3.6
yback to summary
public int y
Since
3.6

Constructor Detail

AccessibleTextEventback to summary
public AccessibleTextEvent(Object source)

Constructs a new instance of this class.

Parameters
source:Object

the object that fired the event

Method Detail

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