Package edu.wpi.grip.core.events
Class StepMovedEvent
- java.lang.Object
-
- edu.wpi.grip.core.events.StepMovedEvent
-
- All Implemented Interfaces:
DirtiesSaveEvent
public class StepMovedEvent extends java.lang.Object implements DirtiesSaveEvent
An event that occurs when a new step is moved from one position to another in the pipeline.
-
-
Constructor Summary
Constructors Constructor Description StepMovedEvent(Step step, int distance)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description intgetDistance()StepgetStep()java.lang.StringtoString()-
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
-
Methods inherited from interface edu.wpi.grip.core.events.DirtiesSaveEvent
doesDirtySave
-
-
-
-
Constructor Detail
-
StepMovedEvent
public StepMovedEvent(Step step, int distance)
- Parameters:
step- The step being moved.distance- The number of indices (positive or negative) to move the step by.
-
-
Method Detail
-
getStep
public Step getStep()
-
getDistance
public int getDistance()
-
toString
public java.lang.String toString()
- Overrides:
toStringin classjava.lang.Object
-
-