/** * Gets a LayoutConstraintsDescriptor with the specified preferred width and preferred height * * @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. * @return a LayoutConstraintsDescriptor */ public static LayoutConstraintsDescriptor getLayoutConstraints(double prefWidth, double prefHeight) { return new LayoutConstraintsDescriptor(prefWidth, prefHeight); }
public static LayoutConstraintsDescriptor prefWidth(double prefWidth) { return new LayoutConstraintsDescriptor(prefWidth, FLEXIBLE_PREF); }
public static LayoutConstraintsDescriptor flexible() { return new LayoutConstraintsDescriptor(FLEXIBLE_PREF, FLEXIBLE_PREF); }
public static LayoutConstraintsDescriptor prefHeight(double prefHeight) { return new LayoutConstraintsDescriptor(FLEXIBLE_PREF, prefHeight); }