Package 

Class DynamicMouseEventDispatcher

  • All Implemented Interfaces:
    it.unibo.alchemist.boundary.jfx.events.generic.EventDispatcher

    
    public class DynamicMouseEventDispatcher
    extends SimpleMouseEventDispatcher
                        

    A mouse event dispatcher which can receive temporary actions to listen to which will only be triggered once. These temporary actions have a higher priority than actions set through action.

    • Nested Class Summary

      Nested Classes 
      Modifier and Type Class Description
    • Enum Constant Summary

      Enum Constants 
      Enum Constant Description
    • Method Summary

      Modifier and Type Method Description
      MouseActionListener getListener() The listener bound to this dispatcher.
      final Unit setDynamicAction(MouseTriggerAction trigger, Function1<MouseEvent, Unit> job) Set a dynamic action.
      • Methods inherited from class it.unibo.alchemist.boundary.jfx.events.mouse.MouseEventDispatcher

        set
      • Methods inherited from class java.lang.Object

        clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
    • Constructor Detail

      • DynamicMouseEventDispatcher

        DynamicMouseEventDispatcher()