public abstract class AbstractFXOnClickPolicy extends AbstractPolicy<javafx.scene.Node>
AbstractFXOnClickPolicy
is called upon mouse click events by the
FXClickDragTool
. You can use it as an adapter on any
IVisualPart
for which mouse click interaction is desired, and you can
also register multiple instances of AbstractFXOnClickPolicy
on the
same IVisualPart
(with different adapter roles).Constructor and Description |
---|
AbstractFXOnClickPolicy() |
Modifier and Type | Method and Description |
---|---|
abstract void |
click(javafx.scene.input.MouseEvent e)
This callback method is invoked when the user performs a mouse click on
the
host . |
commit, disableRefreshVisuals, enableRefreshVisuals, getAdaptable, getHost, init, setAdaptable
public abstract void click(javafx.scene.input.MouseEvent e)
host
.e
- The original MouseEvent
.Copyright (c) 2014 itemis AG and others. All rights reserved.