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