public class ObservableNumberValueDecorator extends Object implements ObservableNumberValue
Constructor and Description |
---|
ObservableNumberValueDecorator(ObservableNumberValue delegate) |
Modifier and Type | Method and Description |
---|---|
void |
addListener(ChangeListener<? super Number> listener) |
void |
addListener(InvalidationListener listener) |
double |
doubleValue() |
boolean |
equals(Object o) |
float |
floatValue() |
protected ObservableNumberValue |
getDelegate() |
Number |
getValue() |
int |
hashCode() |
int |
intValue() |
long |
longValue() |
void |
removeListener(ChangeListener<? super Number> listener) |
void |
removeListener(InvalidationListener listener) |
String |
toString() |
public ObservableNumberValueDecorator(ObservableNumberValue delegate)
@Nonnull protected final ObservableNumberValue getDelegate()
public int intValue()
intValue
in interface ObservableNumberValue
public long longValue()
longValue
in interface ObservableNumberValue
public float floatValue()
floatValue
in interface ObservableNumberValue
public double doubleValue()
doubleValue
in interface ObservableNumberValue
public void addListener(ChangeListener<? super Number> listener)
addListener
in interface ObservableValue<Number>
public void removeListener(ChangeListener<? super Number> listener)
removeListener
in interface ObservableValue<Number>
public Number getValue()
getValue
in interface ObservableValue<Number>
public void addListener(InvalidationListener listener)
addListener
in interface Observable
public void removeListener(InvalidationListener listener)
removeListener
in interface Observable