/** * Will replace the full table content in the layout manager with this content. The use can cancel * it and this pane will be hidden and replaced by the table. */ public void beginEdition(Node node) { getChildren().clear(); getChildren().addAll(node, minimizeAction); NodeHelper.setVgrow(node); // AnchorPane.setTopAnchor(closeAction, 5.0); // AnchorPane.setRightAnchor(closeAction, 30.0); AnchorPane.setTopAnchor(minimizeAction, 5.0); AnchorPane.setRightAnchor(minimizeAction, 30.0); AnchorPane.setTopAnchor(node, 0.0); AnchorPane.setBottomAnchor(node, 0.0); AnchorPane.setLeftAnchor(node, 0.0); AnchorPane.setRightAnchor(node, 0.0); }
public void endEdition() { getChildren().clear(); } }