Class MoveEvent<T>

  • Type Parameters:
    T - the type parameter
    All Implemented Interfaces:
    java.lang.Runnable
    Direct Known Subclasses:
    InteractionEvent

    public class MoveEvent<T>
    extends AbstractMouseEvent
    Created with IntelliJ IDEA.
    Since:
    : 2/10/2015 Time : 12:02 AM
    • Constructor Detail

      • MoveEvent

        public MoveEvent​(T destination)
        Creates a new MoveEvent
        Parameters:
        destination - This is the type of AbstractMouseDefinition, passed through is AbstractMouseDestination
    • Method Detail

      • run

        public final void run()
      • runMiddleDrag

        public boolean runMiddleDrag()
        Turns the camera using middle button and drag
        Returns:
        True if completed
      • setCompleted

        public void setCompleted​(boolean completed)
        Sets completed condition boolean.
        Parameters:
        completed - the failed condition boolean.
      • setFailed

        public void setFailed​(boolean failed)
        Sets failed condition boolean.
        Parameters:
        failed - the failed condition boolean.