MCPcopy Create free account
hub / github.com/Nurtak/ObjectGraphVisualization / swapTopField

Method swapTopField

src/ch/hsr/ogv/view/PaneBox.java:230–237  ·  view source on GitHub ↗
(Node labelOrTextField)

Source from the content-addressed store, hash-verified

228 }
229
230 private void swapTopField(Node labelOrTextField) {
231 Node topNode = this.borderPane.getTop();
232 if (topNode instanceof HBox) {
233 HBox topHBox = (HBox) topNode;
234 topHBox.getChildren().clear();
235 topHBox.getChildren().add(labelOrTextField);
236 }
237 }
238
239 private void swapCenterField(Node labelOrField, int rowIndex) {
240 GridPane centerGridPane = getCenter();

Callers 1

allowTopTextInputMethod · 0.95

Calls 1

addMethod · 0.45

Tested by

no test coverage detected