public class HideOnTypePolicy extends AbstractInteractionPolicy<javafx.scene.Node> implements IFXOnTypePolicy
HideOnTypePolicy is an IFXOnTypePolicy that hides its
host NodePart upon the press of a
KeyCode.P key.adaptableadaptableIAdaptable.Bound.Impl<T extends IAdaptable>| Constructor and Description |
|---|
HideOnTypePolicy() |
| 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, storeAndDisableRefreshVisualsadaptableProperty, getAdaptable, setAdaptableclone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitadaptableProperty, getAdaptable, setAdaptablepublic 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 IFXOnTypePolicypublic void released(javafx.scene.input.KeyEvent event)
released in interface IFXOnTypePolicypublic void typed(javafx.scene.input.KeyEvent event)
typed in interface IFXOnTypePolicypublic void unfocus()
unfocus in interface IFXOnTypePolicyCopyright (c) 2014 itemis AG and others. All rights reserved.