public class OpenNestedGraphOnDoubleClickPolicy extends AbstractFXOnClickPolicy
OpenNestedGraphOnDoubleClickPolicy
is an
AbstractFXOnClickPolicy
that can be installed on
NodeContentPart
s (see getHost()
). It opens the Graph
that is nested inside of its NodeContentPart
when the
NodeContentPart
is double clicked.Constructor and Description |
---|
OpenNestedGraphOnDoubleClickPolicy() |
Modifier and Type | Method and Description |
---|---|
void |
click(javafx.scene.input.MouseEvent e) |
NodeContentPart |
getHost() |
commit, disableRefreshVisuals, enableRefreshVisuals, getAdaptable, init, setAdaptable
public void click(javafx.scene.input.MouseEvent e)
click
in class AbstractFXOnClickPolicy
public NodeContentPart 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.