public class TypedListener extends java.lang.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
Modifier 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.
|
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) EclipseSource and others 2002, 2016.
All rights reserved. This program and the accompanying materials
are made available under the terms of the
Eclipse Public License v1.0