public class FXHoverOnHoverPolicy extends AbstractFXInteractionPolicy implements IFXOnHoverPolicy
FXHoverOnHoverPolicy is an IFXOnHoverPolicy that hovers
its host by altering the HoverModel when the
host is hovered by the mouse.adaptableadaptableIAdaptable.Bound.Impl<T extends IAdaptable>| Constructor and Description |
|---|
FXHoverOnHoverPolicy() |
| Modifier and Type | Method and Description |
|---|---|
void |
hover(javafx.scene.input.MouseEvent e)
This callback method is invoked when the mouse hovers the host.
|
protected boolean |
isHover(javafx.scene.input.MouseEvent event)
Returns
true if the given MouseEvent should trigger
hover. |
isRegistered, isRegisteredForHostcommit, init, restoreRefreshVisuals, rollback, storeAndDisableRefreshVisualsadaptableProperty, getAdaptable, getHost, setAdaptableclone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitadaptableProperty, getAdaptable, setAdaptablepublic void hover(javafx.scene.input.MouseEvent e)
IFXOnHoverPolicyhover in interface IFXOnHoverPolicye - The original MouseEvent.protected boolean isHover(javafx.scene.input.MouseEvent event)
true if the given MouseEvent should trigger
hover. Otherwise returns false. Per default, returns
true if the mouse target is not registered in the visual
part map or it is registered for this FXHoverOnHoverPolicy's
host.event - The MouseEvent in question.true to indicate that the given MouseEvent
should trigger hover, otherwise false.Copyright (c) 2014 itemis AG and others. All rights reserved.