(double height)
| 522 | } |
| 523 | |
| 524 | private double restrictedHeight(double height) { |
| 525 | double retHeight = height; |
| 526 | if (height < MIN_HEIGHT) { |
| 527 | retHeight = MIN_HEIGHT; |
| 528 | } |
| 529 | else if (height > MAX_HEIGHT) { |
| 530 | retHeight = MAX_HEIGHT; |
| 531 | } |
| 532 | return retHeight; |
| 533 | } |
| 534 | |
| 535 | public void setWidth(double witdh) { |
| 536 | this.borderPane.setPrefWidth(witdh); |
no outgoing calls
no test coverage detected