()
| 201 | } |
| 202 | |
| 203 | private void buildBox() { |
| 204 | this.box = new Cuboid(INIT_DEPTH); |
| 205 | this.box.setDrawTopFace(false); |
| 206 | this.box.widthProperty().bind(this.borderPane.widthProperty()); |
| 207 | this.box.heightProperty().bind(this.borderPane.heightProperty()); |
| 208 | this.box.getTransforms().add(new Rotate(90, Rotate.X_AXIS)); |
| 209 | this.box.translateXProperty().bind(this.borderPane.translateXProperty().subtract(this.borderPane.widthProperty().divide(2))); |
| 210 | this.box.translateZProperty().bind(this.borderPane.translateZProperty().subtract(this.borderPane.heightProperty().divide(2))); |
| 211 | this.box.translateYProperty().bind(this.borderPane.translateYProperty().subtract(INIT_DEPTH / 2)); |
| 212 | } |
| 213 | |
| 214 | public TextField getTopTextField() { |
| 215 | return this.topTextField; |
no test coverage detected