SelectionAdapter

This adapter class provides default implementations for the methods described by the <code>SelectionListener</code> interface. <p> Classes that wish to deal with <code>SelectionEvent</code>s can extend this class and override only the methods which they are interested in. </p>

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

Members

Functions

widgetDefaultSelected
void widgetDefaultSelected(SelectionEvent e)

Sent when default selection occurs in the control. The default behavior is to do nothing.

widgetSelected
void widgetSelected(SelectionEvent e)

Sent when selection occurs in the control. The default behavior is to do nothing.

Inherited Members

From SelectionListener

widgetSelected
void widgetSelected(SelectionEvent e)

Sent when selection occurs in the control. <p> For example, selection occurs in a List when the user selects an item or items with the keyboard or mouse. On some platforms, the event occurs when a mouse button or key is pressed. On others, it happens when the mouse or key is released. The exact key or mouse gesture that causes this event is platform specific. </p>

widgetDefaultSelected
void widgetDefaultSelected(SelectionEvent e)

Sent when default selection occurs in the control. <p> For example, on some platforms default selection occurs in a List when the user double-clicks an item or types return in a Text. On some platforms, the event occurs when a mouse button or key is pressed. On others, it happens when the mouse or key is released. The exact key or mouse gesture that causes this event is platform specific. </p>

Meta