TreeEvent

Instances of this class are sent as a result of trees being expanded and collapsed.

@see TreeListener @see <a href="http://www.eclipse.org/swt/">Sample code and further information</a>

final
class TreeEvent : SelectionEvent {}

Constructors

this
this(Event e)

Constructs a new instance of this class based on the information in the given untyped event.

Inherited Members

From SelectionEvent

item
Widget item;

The item that was selected.

detail
int detail;

Extra detail information about the selection, depending on the widget.

x
int x;

The x location of the selected area.

y
int y;

The y location of selected area.

width
int width;

The width of selected area.

height
int height;

The height of selected area.

stateMask
int stateMask;

The state of the keyboard modifier keys at the time the event was generated.

text
String text;

The text of the hyperlink that was selected. This will be either the text of the hyperlink or the value of its HREF, if one was specified.

doit
bool doit;

A flag indicating whether the operation should be allowed. Setting this field to <code>false</code> will cancel the operation, depending on the widget.

toString
String toString()

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

Meta