/** * Creates a new instance of this class. * * @param prefWidth the preferred width of the Docking Area. Can be negative to indicate a flexible width. * @param prefHeight the preferred height of the Docking Area. Can be negative to indicate a flexible height. */ private LayoutConstraintsDescriptor(double prefWidth, double prefHeight) { this.prefWidth = getPrefSize(prefWidth); this.prefHeight = getPrefSize(prefHeight); }
public void setPrefHeight(double prefHeight) { double oldValue = this.prefHeight; this.prefHeight = getPrefSize(prefHeight); firePropertyChange(propertyChangeSupport, "prefHeight", oldValue, this.prefHeight); }
public void setPrefWidth(double prefWidth) { double oldValue = this.prefWidth; this.prefWidth = getPrefSize(prefWidth); firePropertyChange(propertyChangeSupport, "prefWidth", oldValue, this.prefWidth); }