public final class LayoutConstraintsDescriptor extends Object implements org.softsmithy.lib.beans.Bean
| Modifier and Type | Field and Description |
|---|---|
static double |
FLEXIBLE_PREF |
| Modifier and Type | Method and Description |
|---|---|
void |
addPropertyChangeListener(String propertyName,
PropertyChangeListener listener) |
boolean |
equals(Object obj) |
static LayoutConstraintsDescriptor |
flexible() |
static LayoutConstraintsDescriptor |
getLayoutConstraints(double prefWidth,
double prefHeight)
Gets a LayoutConstraintsDescriptor with the specified preferred width and preferred height
|
double |
getPrefHeight()
Gets the preferred height of the Docking Area.
|
double |
getPrefWidth()
Gets the preferred width of the Docking Area.
|
int |
hashCode() |
static boolean |
isFlexible(double size) |
static boolean |
isPreferred(double size) |
static LayoutConstraintsDescriptor |
prefHeight(double prefHeight) |
static LayoutConstraintsDescriptor |
prefWidth(double prefWidth) |
void |
removePropertyChangeListener(String propertyName,
PropertyChangeListener listener) |
void |
setPrefHeight(double prefHeight) |
void |
setPrefWidth(double prefWidth) |
String |
toString() |
public static final double FLEXIBLE_PREF
public static LayoutConstraintsDescriptor getLayoutConstraints(double prefWidth, double prefHeight)
prefWidth - the preferred width of the Docking Area. Can be negative to indicate a flexible width.prefHeight - the preferred height of the Docking Area. Can be negative to indicate a flexible height.public static LayoutConstraintsDescriptor prefWidth(double prefWidth)
public static LayoutConstraintsDescriptor prefHeight(double prefHeight)
public static LayoutConstraintsDescriptor flexible()
public double getPrefWidth()
public void setPrefWidth(double prefWidth)
public double getPrefHeight()
public void setPrefHeight(double prefHeight)
public static boolean isFlexible(double size)
public static boolean isPreferred(double size)
public void addPropertyChangeListener(String propertyName, PropertyChangeListener listener)
addPropertyChangeListener in interface org.softsmithy.lib.beans.Beanpublic void removePropertyChangeListener(String propertyName, PropertyChangeListener listener)
removePropertyChangeListener in interface org.softsmithy.lib.beans.BeanCopyright © 2012–2018 Drombler. All rights reserved.