public class HideNodePolicy extends AbstractPolicy<javafx.scene.Node>
HideNodePolicy
can be installed on NodeContentPart
. It
provides two methods:
hide()
to hide its host NodeContentPart
show()
to show its host NodeContentPart
Constructor and Description |
---|
HideNodePolicy() |
Modifier and Type | Method and Description |
---|---|
void |
hide()
Executes an operation on the history that hides the
host NodeContentPart (and clears the FocusModel ,
HoverModel , and SelectionModel ). |
void |
show()
Executes an operation on the history that shows the
host NodeContentPart (and clears the FocusModel ,
HoverModel , and SelectionModel ). |
commit, disableRefreshVisuals, enableRefreshVisuals, getAdaptable, getHost, init, setAdaptable
public void hide()
host
NodeContentPart
(and clears the FocusModel
,
HoverModel
, and SelectionModel
).public void show()
host
NodeContentPart
(and clears the FocusModel
,
HoverModel
, and SelectionModel
).Copyright (c) 2014 itemis AG and others. All rights reserved.