java.lang.Object
eu.hansolo.toolbox.properties.ReadOnlyProperty<Short>
eu.hansolo.toolbox.properties.ReadOnlyShortProperty
eu.hansolo.toolbox.properties.ShortProperty
-
Field Summary
FieldsFields inherited from class eu.hansolo.toolbox.properties.ReadOnlyShortProperty
bidirectional, propertyToUpdateFields inherited from class eu.hansolo.toolbox.properties.ReadOnlyProperty
bean, initialValue, name, observers, value -
Constructor Summary
ConstructorsConstructorDescriptionShortProperty(short value) ShortProperty(Object bean, String name, short value) ShortProperty(String name, short value) -
Method Summary
Modifier and TypeMethodDescriptionvoidbind(ReadOnlyShortProperty property) voidbindBidirectional(ShortProperty property) booleanisBound()booleanvoidset(short value) voidsetInitialValue(Short initialValue) protected voidsetPropertyToUpdate(ShortProperty property, boolean bidirectional) protected voidsetValue(short value, ShortProperty property) voidvoidunbind()voidunset()Methods inherited from class eu.hansolo.toolbox.properties.ReadOnlyShortProperty
get, setPropertyToUpdate, unsetPropertyToUpdateMethods inherited from class eu.hansolo.toolbox.properties.ReadOnlyProperty
addObserver, addOnChange, didChange, fireEvent, getBean, getInitialValue, getName, getValue, invalidated, isSet, removeAllObservers, removeObserver, setPropertyToUpdate, willChange
-
Field Details
-
propertyBoundTo
-
bound
protected boolean bound
-
-
Constructor Details
-
ShortProperty
public ShortProperty() -
ShortProperty
public ShortProperty(short value) -
ShortProperty
-
ShortProperty
-
-
Method Details
-
setValue
-
set
public void set(short value) -
setValue
-
unset
public void unset() -
setInitialValue
-
bind
-
isBound
public boolean isBound() -
bindBidirectional
-
isBoundBidirectional
public boolean isBoundBidirectional() -
unbind
public void unbind() -
setPropertyToUpdate
-