|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectorg.jdesktop.animation.timing.triggers.TriggerEvent
org.jdesktop.animation.timing.triggers.MouseTriggerEvent
public class MouseTriggerEvent
Mouse Enter/Exit/Press/Release/Click events
Field Summary | |
---|---|
static MouseTriggerEvent |
CLICK
Event fired when mouse is clicked |
static MouseTriggerEvent |
ENTER
Event fired when mouse enters |
static MouseTriggerEvent |
EXIT
Event fired when mouse exits |
static MouseTriggerEvent |
PRESS
Event fired when mouse button is pressed |
static MouseTriggerEvent |
RELEASE
Event fired when mouse button is released |
Method Summary | |
---|---|
TriggerEvent |
getOppositeEvent()
This method finds the opposite of the current event.: ENTER -> EXIT EXIT -> ENTER PRESS -> RELEASE RELEASE -> PRESS Note that CLICK has no obvious opposite so it simply returns CLICK (this method should probably not be called for that case). |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Field Detail |
---|
public static final MouseTriggerEvent ENTER
public static final MouseTriggerEvent EXIT
public static final MouseTriggerEvent PRESS
public static final MouseTriggerEvent RELEASE
public static final MouseTriggerEvent CLICK
Method Detail |
---|
public TriggerEvent getOppositeEvent()
getOppositeEvent
in class TriggerEvent
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |