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

Method setDepth

src/ch/hsr/ogv/view/PaneBox.java:603–607  ·  view source on GitHub ↗
(double depth)

Source from the content-addressed store, hash-verified

601 }
602
603 public void setDepth(double depth) {
604 this.box.setDepth(depth);
605 this.box.translateYProperty().bind(this.borderPane.translateYProperty().subtract(depth / 2));
606 setTranslateY((depth / 2) - (getTranslateY() / 2));
607 }
608
609 public double getDepth() {
610 return this.box.getDepth();

Callers 4

createBoxMethod · 0.95
createArrayBoxMethod · 0.95
showModelClassInViewMethod · 0.95
showModelObjectInViewMethod · 0.95

Calls 2

setTranslateYMethod · 0.95
getTranslateYMethod · 0.95

Tested by

no test coverage detected