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

Method buildBox

src/ch/hsr/ogv/view/PaneBox.java:203–212  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

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;

Callers 1

PaneBoxMethod · 0.95

Calls 4

setDrawTopFaceMethod · 0.80
widthPropertyMethod · 0.80
heightPropertyMethod · 0.45
addMethod · 0.45

Tested by

no test coverage detected