Class TypedListener
- All Implemented Interfaces:
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.
- See Also:
- Restriction:
- This class is not intended to be subclassed by clients.
- Restriction:
- This class is not intended to be referenced by clients.
- Restriction:
- This class is not intended to be instantiated by clients.
-
Field Summary
FieldsModifier and TypeFieldDescriptionprotected EventListener
Deprecated, for removal: This API element is subject to removal in a future version.The receiver's event listener -
Constructor Summary
ConstructorsConstructorDescriptionTypedListener
(EventListener listener) Deprecated, for removal: This API element is subject to removal in a future version.Constructs a new instance of this class for the given event listener.TypedListener
(SWTEventListener listener) Deprecated, for removal: This API element is subject to removal in a future version. -
Method Summary
Modifier and TypeMethodDescriptionDeprecated, for removal: This API element is subject to removal in a future version.Returns the receiver's event listener.void
handleEvent
(Event e) Deprecated, for removal: This API element is subject to removal in a future version.Handles the given event.
-
Field Details
-
eventListener
Deprecated, for removal: This API element is subject to removal in a future version.The receiver's event listener
-
-
Constructor Details
-
TypedListener
Deprecated, for removal: This API element is subject to removal in a future version.Constructs a new instance of this class for the given event 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.
- Parameters:
listener
- the event listener to store in the receiver- Restriction:
- This method is not intended to be referenced by clients.
-
TypedListener
Deprecated, for removal: This API element is subject to removal in a future version.Constructs a new instance of this class for the given event 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.
- Parameters:
listener
- the event listener to store in the receiver- Restriction:
- This method is not intended to be referenced by clients.
-
-
Method Details
-
getEventListener
Deprecated, for removal: This API element is subject to removal in a future version.Returns the receiver's event 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.
- Returns:
- the receiver's event listener
- Restriction:
- This method is not intended to be referenced by clients.
-
handleEvent
Deprecated, for removal: This API element is subject to removal in a future version.Handles the given event.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.
- Specified by:
handleEvent
in interfaceListener
- Parameters:
e
- the event to handle- Restriction:
- This method is not intended to be referenced by clients.
-
Widget.addTypedListener(EventListener, int...)
,Widget.getTypedListeners(int, Class)
orWidget.removeTypedListener(int, EventListener)
can probably be used instead.