public class FileSizeDTO extends ObservableBean implements IFileSize
| Modifier and Type | Field and Description |
|---|---|
static Property<java.lang.Integer,FileSizeDTO> |
SIZE |
static Property<FileSizeUnit,FileSizeDTO> |
UNIT |
| Constructor and Description |
|---|
FileSizeDTO() |
FileSizeDTO(Property<T,? super FileSizeDTO> 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
|
java.lang.Integer |
getSize() |
FileSizeUnit |
getUnit() |
void |
setSize(java.lang.Integer size) |
void |
setUnit(FileSizeUnit unit) |
java.lang.String |
toString() |
addPropertyChangeListener, addPropertyChangeListener, changes, copyPropertiesTo, firePropertyChange, properties, propertyMap, removePropertyChangeListener, removePropertyChangeListener, setpublic static final Property<java.lang.Integer,FileSizeDTO> SIZE
public static final Property<FileSizeUnit,FileSizeDTO> UNIT
public FileSizeDTO()
public FileSizeDTO(Property<T,? super FileSizeDTO> 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 FileSizeUnit getUnit()
public void setSize(java.lang.Integer size)
public void setUnit(FileSizeUnit unit)
public java.lang.String toString()
toString in class java.lang.Object