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

public Class AccessibleEvent

extends EventObject
Class Inheritance
Imports
java.util.*

Instances of this class are sent as a result of accessibility clients sending messages to controls asking for information about the control instance.

Note

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

Since
2.0
See Also
AccessibleListener, AccessibleAdapter, Sample code and further information

Field Summary

Modifier and TypeField and Description
public int
childID

The value of this field is set by an accessibility client before the accessible listener method is called.

public String
result

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

pack-priv static final long
Inherited from java.util.EventObject:
source

Constructor Summary

AccessConstructor and Description
public
AccessibleEvent(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

childIDback to summary
public int childID

The value of this field is set by an accessibility client before the accessible listener method is called. ChildID can be CHILDID_SELF, representing the control itself, or a 0-based integer representing a specific child of the control.

resultback to summary
public String result

The value of this field must be set in the accessible listener method before returning. What to set it to depends on the listener method called, and the childID specified by the client.

serialVersionUIDback to summary
pack-priv static final long serialVersionUID

Hides java.util.EventObject.serialVersionUID.

Constructor Detail

AccessibleEventback to summary
public AccessibleEvent(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