1. BorderPane
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 | public class FxBorderPane implements FxNode { BorderPane pane; public FxBorderPane() { pane = new BorderPane(); pane.setPadding(new Insets(0, 0, 0, 0)); } @Override public BorderPane get() { return pane; } public void setTop(Node item) { pane.setTop(item); } public void setBottom(Node item) { pane.setBottom(item); } public void setLeft(Node item) { pane.setLeft(item); } public void setRight(Node item) { pane.setRight(item); } public void setCenter(Node item) { pane.setCenter(item); } public void setTop(FxNode item) { pane.setTop(item.get()); } public void setBottom(FxNode item) { pane.setBottom(item.get()); } public void setLeft(FxNode item) { pane.setLeft(item.get()); } public void setRight(FxNode item) { pane.setRight(item.get()); } public void setCenter(FxNode item) { pane.setCenter(item.get()); } } |
댓글 없음:
댓글 쓰기