public interface Interpolable
Explicitly separates current / target values.
Modifier and Type | Method and Description |
---|---|
int |
getTargetValue()
Gets the target value.
|
int |
getValue()
Gets the current value.
|
void |
setCurrentValue(int value)
Sets the current value (synchronously).
|
void |
setValue(int value)
Sets the target value.
|
int getValue()
Technically, it's "getCurrentValue", but we need to match the name in Swing classes.
void setCurrentValue(int value)
value
- the current valueint getTargetValue()
void setValue(int value)
Technically, it's "setTargetValue", but we need to match the name in Swing classes.
value
- the target value