public interface ValueListener
Note: Your implementation will not be called on the Event Dispatching Thread. If you
want to affect Swing controls, you will need to use java.awt.EventQueue.invokeLater
or java.awt.EventQueue.invokeAndWait
. Alternatively, you can implement
the ValueListenerEDT
interface instead.
Modifier and Type | Method and Description |
---|---|
void |
value(int newValue)
Called when the value being passed has changed since the last call.
|
void value(int newValue)
ValueListener
on a ControllerValue
's
listener lists.newValue
- the new value, in the current logical rangeControllerValue.addValueChangedListener(ValueListener)
,
ControllerValue.setLogMinMax(int, int)