public class SimpleShortProperty extends AbstractBasicChangeableItem implements Property<java.lang.Short>
Constructor and Description |
---|
SimpleShortProperty(java.lang.String basicName)
Constructor.
|
SimpleShortProperty(java.lang.String basicName,
int value)
Constructor.
|
SimpleShortProperty(java.lang.String basicName,
short value)
Constructor.
|
Modifier and Type | Method and Description |
---|---|
java.lang.Short |
getValue()
Get the value of the property.
|
void |
setValue(int value)
Set the value.
|
void |
setValue(short value)
Set the value.
|
void |
setValue(java.lang.Short value)
Set the value.
|
addValueChangeListener, addValueChangeListenerWeakly, firePropertyChange, fireValueChange, fireValueChange, fireValueChange, getBasicName, getPropertyName, removeValueChangeListener, removeValueChangeListenerWeakly
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
addValueChangeListener, addValueChangeListenerWeakly, removeValueChangeListener, removeValueChangeListenerWeakly
public SimpleShortProperty(@NotNull java.lang.String basicName)
basicName
- name or name prefixpublic SimpleShortProperty(@NotNull java.lang.String basicName, int value)
basicName
- name or name prefixvalue
- initial value, only the lower 8 bits are usedpublic SimpleShortProperty(@NotNull java.lang.String basicName, short value)
basicName
- name or name prefixvalue
- initial value, only the lower 8 bits are used@NotNull public java.lang.Short getValue()
public void setValue(java.lang.Short value)
public void setValue(short value)
value
- new valuepublic void setValue(int value)
This is a convenience method.
value
- new value, only the lower 8 bits are used