public static interface Component.RotationEventListener
This callback will be invoked before the component receives the event.
| 限定符和类型 | 方法 | 说明 |
|---|---|---|
boolean |
onRotationEvent(Component component,
RotationEvent event) |
Rotates a knob event dispatched to a component.
|
boolean onRotationEvent(Component component, RotationEvent event)
The listener responds to a rotation event before the component receives the event.
component - Indicates the component to which the rotation event is dispatched.event - Indicates all information about the rotation event.true if the listener has processed the event; returns false otherwise.