public class ShowHiddenNeighborsOnTypePolicy extends AbstractInteractionPolicy<javafx.scene.Node> implements IFXOnTypePolicy
ShowHiddenNeighborsOnTypePolicy
is an IFXOnTypePolicy
that shows all hidden neighbors of its host upon KeyCode.E
key press.Constructor and Description |
---|
ShowHiddenNeighborsOnTypePolicy() |
Modifier and Type | Method and Description |
---|---|
NodePart |
getHost() |
void |
pressed(javafx.scene.input.KeyEvent event) |
void |
released(javafx.scene.input.KeyEvent event) |
void |
typed(javafx.scene.input.KeyEvent event) |
void |
unfocus() |
commit, init, restoreRefreshVisuals, rollback, storeAndDisableRefreshVisuals
getAdaptable, setAdaptable
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
getAdaptable, setAdaptable
public NodePart getHost()
getHost
in interface IPolicy<javafx.scene.Node>
getHost
in class AbstractPolicy<javafx.scene.Node>
public void pressed(javafx.scene.input.KeyEvent event)
pressed
in interface IFXOnTypePolicy
public void released(javafx.scene.input.KeyEvent event)
released
in interface IFXOnTypePolicy
public void typed(javafx.scene.input.KeyEvent event)
typed
in interface IFXOnTypePolicy
public void unfocus()
unfocus
in interface IFXOnTypePolicy
Copyright (c) 2014 itemis AG and others. All rights reserved.