Class MouseTriggerEvent


  • public class MouseTriggerEvent
    extends TriggerEvent
    Mouse Enter/Exit/Press/Release/Click events
    • Method Summary

      All Methods Instance Methods Concrete Methods 
      Modifier and Type Method Description
      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
    • Method Detail

      • getOppositeEvent

        public 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).
        Overrides:
        getOppositeEvent in class TriggerEvent