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:
- 
Field SummaryFieldsModifier and TypeFieldDescriptionprotected SWTEventListenerThe receiver's event listener
- 
Constructor SummaryConstructorsConstructorDescriptionTypedListener(SWTEventListener listener) Constructs a new instance of this class for the given event listener.
- 
Method SummaryModifier and TypeMethodDescriptionSWTEventListenerReturns the receiver's event listener.voidhandleEvent(Event e) Handles the given event.
- 
Field Details- 
eventListenerprotected SWTEventListener eventListenerThe receiver's event listener
 
- 
- 
Constructor Details- 
TypedListenerpublic TypedListener(SWTEventListener listener) 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
 
 
- 
- 
Method Details- 
getEventListenerpublic SWTEventListener getEventListener()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
 
- 
handleEventHandles 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:
- handleEventin interface- Listener
- Parameters:
- e- the event to handle
 
 
-