Package nu.fw.jeti.plugins.drawing.shapes.actions

Examples of nu.fw.jeti.plugins.drawing.shapes.actions.Action


   *
   * @return action that should be undone<br>
   * <tt>null</tt> if there are no more actions to undo
   */
  public synchronized Action undo() {
    Action a = null;
    if (!doneStack.empty()) {
      a = doneStack.pop();
      undoneStack.add(a);
    }
    return a;
View Full Code Here


   *
   * @return action that should be redone<br>
   * <tt>null</tt> if there are no more actions to redo
   */
  public synchronized Action redo() {
    Action a = null;
    if (!undoneStack.empty()) {
      a = undoneStack.pop();
      doneStack.add(a);
    }
    return a;
View Full Code Here

TOP

Related Classes of nu.fw.jeti.plugins.drawing.shapes.actions.Action

Copyright © 2018 www.massapicom. All rights reserved.
All source code are property of their respective owners. Java is a trademark of Sun Microsystems, Inc and owned by ORACLE Inc. Contact coftware#gmail.com.