public class DimensionsDTO extends ObservableBean implements IDimensions
| Modifier and Type | Field and Description |
|---|---|
static Property<java.lang.Integer,DimensionsDTO> |
HEIGHT |
static Property<java.lang.Integer,DimensionsDTO> |
WIDTH |
| Constructor and Description |
|---|
DimensionsDTO() |
DimensionsDTO(Property<T,? super DimensionsDTO> property,
T value) |
| Modifier and Type | Method and Description |
|---|---|
protected java.util.List<Property<?,?>> |
doGetProperties() |
protected void |
doSet(Property<?,?> property,
java.lang.Object value) |
java.lang.Object |
get(Property<?,?> property)
Returns the value of the given property
|
int |
getHeight() |
int |
getWidth() |
void |
setHeight(int height) |
void |
setWidth(int width) |
java.lang.String |
toString() |
addPropertyChangeListener, addPropertyChangeListener, changes, copyPropertiesTo, firePropertyChange, properties, propertyMap, removePropertyChangeListener, removePropertyChangeListener, setpublic static final Property<java.lang.Integer,DimensionsDTO> HEIGHT
public static final Property<java.lang.Integer,DimensionsDTO> WIDTH
public DimensionsDTO()
public DimensionsDTO(Property<T,? super DimensionsDTO> property, T value)
protected java.util.List<Property<?,?>> doGetProperties()
doGetProperties in class ObservableBeanprotected void doSet(Property<?,?> property, java.lang.Object value)
doSet in class ObservableBeanpublic java.lang.Object get(Property<?,?> property)
ObservableBeanget in class ObservableBeanpublic int getHeight()
getHeight in interface IDimensionspublic int getWidth()
getWidth in interface IDimensionspublic void setHeight(int height)
public void setWidth(int width)
public java.lang.String toString()
toString in class java.lang.Object