@Immutable public interface TriggerEvent
Modifier and Type | Method and Description |
---|---|
TriggerEvent |
getOppositeEvent()
This method returns the 'opposite' event from itself.
|
TriggerEvent getOppositeEvent()
Trigger
in running an auto-reversing animation, to determine
whether an opposite event has occurred (and whether to stop/reverse the
animation). Note that some events may have no opposite. Default behavior
returns same event; subclasses with multiple/opposite events must override
to do the right thing here.