Class Tooltip.Registration
Object
Registration
- All Implemented Interfaces:
HandlerRegistration, HandlerRegistration
- Enclosing class:
Tooltip
Manage registrations of listener widgets, their tooltip providers and the
corresponding event handlers. Used for a lookup table to match listeners and
providers with the listeners serving as the lookup key.
- Author:
- Christoph Hauert
-
Field Summary
FieldsModifier and TypeFieldDescription(package private) FocusPanelListener widget for tooltips.(package private) HandlerRegistrationReference to mouse move event handler for handling tooltips registered with the listener widget.(package private) HandlerRegistrationReference to mouse over event handler for handling tooltips registered with the listener widget.(package private) HandlerRegistrationReference to mouse over event handler for handling tooltips registered with the listener widget.(package private) HandlerRegistrationReference to mouse wheel event handler for handling tooltips registered with the listener widget.(package private) Tooltip.ProviderProvider of tooltips for this listener widget.(package private) HandlerRegistrationReference to touch end event handler for handling tooltips registered with the listener widget.(package private) HandlerRegistrationReference to touch move event handler for handling tooltips registered with the listener widget.(package private) HandlerRegistrationReference to touch start event handler for handling tooltips registered with the listener widget. -
Constructor Summary
ConstructorsConstructorDescriptionRegistration(FocusPanel listener, Tooltip.Provider provider) Register all event handlers relevant for handling tooltips withlistenerwidget and associate with the tooltipprovider. -
Method Summary
-
Field Details
-
mouseOverHandler
HandlerRegistration mouseOverHandlerReference to mouse over event handler for handling tooltips registered with the listener widget. -
mouseOutHandler
HandlerRegistration mouseOutHandlerReference to mouse over event handler for handling tooltips registered with the listener widget. -
mouseMoveHandler
HandlerRegistration mouseMoveHandlerReference to mouse move event handler for handling tooltips registered with the listener widget. -
mouseWheelHandler
HandlerRegistration mouseWheelHandlerReference to mouse wheel event handler for handling tooltips registered with the listener widget. -
touchStartHandler
HandlerRegistration touchStartHandlerReference to touch start event handler for handling tooltips registered with the listener widget. -
touchMoveHandler
HandlerRegistration touchMoveHandlerReference to touch move event handler for handling tooltips registered with the listener widget. -
touchEndHandler
HandlerRegistration touchEndHandlerReference to touch end event handler for handling tooltips registered with the listener widget. -
provider
Tooltip.Provider providerProvider of tooltips for this listener widget. -
listener
FocusPanel listenerListener widget for tooltips.
-
-
Constructor Details
-
Registration
Register all event handlers relevant for handling tooltips withlistenerwidget and associate with the tooltipprovider.- Parameters:
listener- widget sporting tooltipsprovider- provides tooltips for this listener widget
-
-
Method Details
-
removeHandler
public void removeHandler()- Specified by:
removeHandlerin interfaceHandlerRegistration
-