public class OpenNestedGraphOnDoubleClickPolicy extends AbstractInteractionPolicy<javafx.scene.Node> implements IFXOnClickPolicy
OpenNestedGraphOnDoubleClickPolicy
is an IFXOnClickPolicy
that can be installed on NodePart
s (see getHost()
).
It opens the Graph
that is nested inside of its
NodePart
when the NodePart
is double clicked.adaptable
adaptable
IAdaptable.Bound.Impl<T extends IAdaptable>
Constructor and Description |
---|
OpenNestedGraphOnDoubleClickPolicy() |
Modifier and Type | Method and Description |
---|---|
void |
click(javafx.scene.input.MouseEvent event) |
NodePart |
getHost() |
commit, init, restoreRefreshVisuals, rollback, storeAndDisableRefreshVisuals
adaptableProperty, getAdaptable, setAdaptable
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
adaptableProperty, getAdaptable, setAdaptable
public void click(javafx.scene.input.MouseEvent event)
click
in interface IFXOnClickPolicy
public NodePart getHost()
getHost
in interface IPolicy<javafx.scene.Node>
getHost
in class AbstractPolicy<javafx.scene.Node>
Copyright (c) 2014 itemis AG and others. All rights reserved.