Example #1
0
 /**
  * Clones this Step.
  *
  * @return a cloned step
  */
 public Object clone() {
   PositionStep step = (PositionStep) super.clone();
   if (step != null) step.points[0] = step.p = step.new Position(p.getX(), p.getY());
   step.textLayouts = new HashMap<TrackerPanel, TextLayout>();
   step.layoutBounds = new HashMap<TrackerPanel, Rectangle>();
   return step;
 }