BioLegato 0.7.3 GDE plugin

org.biolegato.gdesupport.canvas.undo
Class UndoInsert

java.lang.Object
  extended by org.biolegato.gdesupport.canvas.undo.UndoInsert
All Implemented Interfaces:
Undoable

public class UndoInsert
extends java.lang.Object
implements Undoable

This object handles undoing text insertion within a UndoableGDETextArea

Author:
Graham Alvare, Brian Fristensky

Constructor Summary
UndoInsert(UndoableGDETextArea source, int x, int y, int w)
          Creates a new instance of UndoInsert
UndoInsert(UndoableGDETextArea source, int x, int y, int w, int h)
          Creates a new instance of UndoInsert
 
Method Summary
 Undoable undo()
          Undoes a text insertion
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

UndoInsert

public UndoInsert(UndoableGDETextArea source,
                  int x,
                  int y,
                  int w)
Creates a new instance of UndoInsert


UndoInsert

public UndoInsert(UndoableGDETextArea source,
                  int x,
                  int y,
                  int w,
                  int h)
Creates a new instance of UndoInsert

Method Detail

undo

public Undoable undo()
Undoes a text insertion

Specified by:
undo in interface Undoable
Returns:
an object which can redo the undone operation.

BioLegato 0.7.3 GDE plugin

Copyright © 2008-2010 University of Manitoba.