public class FXHoverTool extends AbstractTool<javafx.scene.Node>
FXHoverTool
is an AbstractTool
that handles mouse hover
changes.active, adaptable
IAdaptable.Bound.Impl<T extends IAdaptable>
Modifier and Type | Field and Description |
---|---|
static java.lang.Class<IFXOnHoverPolicy> |
ON_HOVER_POLICY_KEY
The type of the policy that has to be supported by target parts.
|
ACTIVE_PROPERTY
Constructor and Description |
---|
FXHoverTool() |
Modifier and Type | Method and Description |
---|---|
protected javafx.event.EventHandler<javafx.scene.input.MouseEvent> |
createHoverFilter(FXViewer viewer)
Creates an
EventHandler for hover MouseEvent s. |
protected void |
registerListeners()
This method is called when a valid
IDomain is attached to this
tool so that you can register event listeners for various inputs
(keyboard, mouse) or model changes (selection, scroll offset / viewport). |
protected void |
unregisterListeners()
This method is called when the attached
IDomain is reset to
null so that you can unregister previously registered event
listeners. |
activate, activeProperty, adaptableProperty, clearActivePolicies, deactivate, getActivePolicies, getAdaptable, getDomain, isActive, setActivePolicies, setAdaptable
public static final java.lang.Class<IFXOnHoverPolicy> ON_HOVER_POLICY_KEY
protected javafx.event.EventHandler<javafx.scene.input.MouseEvent> createHoverFilter(FXViewer viewer)
protected void registerListeners()
AbstractTool
IDomain
is attached to this
tool so that you can register event listeners for various inputs
(keyboard, mouse) or model changes (selection, scroll offset / viewport).registerListeners
in class AbstractTool<javafx.scene.Node>
protected void unregisterListeners()
AbstractTool
IDomain
is reset to
null
so that you can unregister previously registered event
listeners.unregisterListeners
in class AbstractTool<javafx.scene.Node>
Copyright (c) 2014 itemis AG and others. All rights reserved.