@Override public Boolean getValue() { return getDelegate().getValue(); }
protected void sceneWidthChange(Number newSceneWidth) { left.visibleProperty().set(widthProperty().greaterThan(hideLeftGap).getValue()); // System.out.println("newSceneWidth: " + newSceneWidth); // right.setVisible(newSceneWidth.doubleValue() > 800); }
setupConvoyJoinLeaveLabel(leaveConvoyImg, joinConvoyImg, convoyJoinLeaveGraphic, convoyJoinLeaveLbl, inConvoy().getValue()); inConvoy().addListener((observable, oldValue, newValue) -> setupConvoyJoinLeaveLabel(leaveConvoyImg, joinConvoyImg, convoyJoinLeaveGraphic, convoyJoinLeaveLbl, newValue));