public class OpenParentGraphOnDoubleClickPolicy extends AbstractFXInteractionPolicy implements IFXOnClickPolicy
OpenParentGraphOnDoubleClickPolicy
is an IFXOnClickPolicy
that can be installed on ZestFxRootPart
s (see getHost()
). It
opens the Graph
that contains the node that contains the
Graph
that is currently open when the background is double clicked.Constructor and Description |
---|
OpenParentGraphOnDoubleClickPolicy() |
Modifier and Type | Method and Description |
---|---|
void |
click(javafx.scene.input.MouseEvent event) |
ZestFxRootPart |
getHost() |
isRegistered, isRegisteredForHost
commit, init, restoreRefreshVisuals, rollback, storeAndDisableRefreshVisuals
getAdaptable, setAdaptable
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
getAdaptable, setAdaptable
public void click(javafx.scene.input.MouseEvent event)
click
in interface IFXOnClickPolicy
public ZestFxRootPart 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.