public class TypedListener extends Object implements Listener
IMPORTANT: This class is not part of the SWT public API. It is marked public only so that it can be shared within the packages provided by SWT. It should never be referenced from application code.
Listener
,
Sample code and further informationModifier and Type | Field and Description |
---|---|
protected SWTEventListener |
eventListener
The receiver's event listener
|
Constructor and Description |
---|
TypedListener(SWTEventListener listener)
Constructs a new instance of this class for the given event listener.
|
Modifier and Type | Method and Description |
---|---|
SWTEventListener |
getEventListener()
Returns the receiver's event listener.
|
void |
handleEvent(Event e)
Handles the given event.
|
protected SWTEventListener eventListener
public TypedListener(SWTEventListener listener)
IMPORTANT: This method is not part of the SWT public API. It is marked public only so that it can be shared within the packages provided by SWT. It should never be referenced from application code.
listener
- the event listener to store in the receiverpublic SWTEventListener getEventListener()
IMPORTANT: This method is not part of the SWT public API. It is marked public only so that it can be shared within the packages provided by SWT. It should never be referenced from application code.
public void handleEvent(Event e)
IMPORTANT: This method is not part of the SWT public API. It is marked public only so that it can be shared within the packages provided by SWT. It should never be referenced from application code.
handleEvent
in interface Listener
e
- the event to handle
Copyright (c) 2000, 2015 Eclipse Contributors and others. All rights reserved.Guidelines for using Eclipse APIs.