public class HistoryHelper extends Object
| Constructor and Description |
|---|
HistoryHelper() |
| Modifier and Type | Method and Description |
|---|---|
static <B,C> HistoryAction |
addChild(String label,
AbstractEditor<B,C> controller,
C child,
int i) |
static HistoryAction |
changeColor(ChannelEditor controller,
Color cur,
Color prev) |
static HistoryAction |
changeInterpolationFactory(MotionPathEditor controller,
InterpolatorFactory curFactory,
InterpolatorFactory prevFactory) |
static HistoryAction |
moveMotionPath(MotionPathEditor controller,
List<Point2D> prevPoints,
List<Point2D> newPoints) |
static HistoryAction |
movePoint(MotionPathEditor controller,
int curI,
long curTime,
double curPos,
int prevI,
long prevTime,
double prevPos) |
static <B,C> HistoryAction |
removeChild(String label,
AbstractEditor<B,C> controller,
C child,
int i) |
static HistoryAction |
scaleMotionPath(MotionPathEditor controller,
List<Point2D> prevPoints,
List<Point2D> newPoints) |
static HistoryAction |
setState(AbstractEditor controller,
EditState state,
boolean val) |
public static HistoryAction setState(AbstractEditor controller, EditState state, boolean val)
controller - state - val - public static <B,C> HistoryAction removeChild(String label, AbstractEditor<B,C> controller, C child, int i)
B - C - label - controller - child - i - public static <B,C> HistoryAction addChild(String label, AbstractEditor<B,C> controller, C child, int i)
B - C - label - controller - child - i - public static HistoryAction changeColor(ChannelEditor controller, Color cur, Color prev)
controller - cur - prev - public static HistoryAction changeInterpolationFactory(MotionPathEditor controller, InterpolatorFactory curFactory, InterpolatorFactory prevFactory)
controller - curFactory - prevFactory - public static HistoryAction scaleMotionPath(MotionPathEditor controller, List<Point2D> prevPoints, List<Point2D> newPoints)
controller - prevPoints - newPoints - public static HistoryAction moveMotionPath(MotionPathEditor controller, List<Point2D> prevPoints, List<Point2D> newPoints)
controller - prevPoints - newPoints - public static HistoryAction movePoint(MotionPathEditor controller, int curI, long curTime, double curPos, int prevI, long prevTime, double prevPos)
controller - curI - curTime - curPos - prevI - prevTime - prevPos - Copyright © 2011-2016. All Rights Reserved.