org.gvsig.tools.undo.command
Interface UndoRedoCommandStack

All Superinterfaces:
Observable, UndoRedoStack, WeakReferencingObservable
All Known Implementing Classes:
DefaultUndoRedoCommandStack

public interface UndoRedoCommandStack
extends UndoRedoStack

Author:
Cèsar Ordiñana

Method Summary
 void add(Command command)
           
 void clear()
           
 void endComplex()
           
 Command getNextRedoCommand()
           
 Command getNextUndoCommand()
           
 boolean inComplex()
           
 int size()
           
 void startComplex(String description)
           
 
Methods inherited from interface org.gvsig.tools.undo.UndoRedoStack
canRedo, canUndo, getRedoInfos, getUndoInfos, redo, redo, undo, undo
 
Methods inherited from interface org.gvsig.tools.observer.Observable
addObserver, deleteObserver, deleteObservers
 

Method Detail

add

void add(Command command)

size

int size()

clear

void clear()

getNextUndoCommand

Command getNextUndoCommand()

getNextRedoCommand

Command getNextRedoCommand()

startComplex

void startComplex(String description)

endComplex

void endComplex()

inComplex

boolean inComplex()


Copyright © 2004-2011 gvSIG. All Rights Reserved.