de.glossmaker.gloss.undo
Class UndoGlossStack

Package class diagram package UndoGlossStack
java.lang.Object
  extended by de.glossmaker.undo.UndoStack<UndoableItem>
      extended by de.glossmaker.gloss.undo.UndoGlossStack
All Implemented Interfaces:
IUndoableStack<UndoableItem>

public class UndoGlossStack
extends UndoStack<UndoableItem>

This class implements the container for undo and redo. The elements that can be stored in this container have to be of the type UndoableItem.

Author:
Markus Flingelli

Field Summary
 
Fields inherited from class de.glossmaker.undo.UndoStack
mRedo, mUndo
 
Method Summary
static UndoGlossStack getInstance()
           
 void pushUndo(UndoableItem item)
           
 
Methods inherited from class de.glossmaker.undo.UndoStack
popRedo, popUndo, pushRedo, redoSize, reset, resetRedo, resetUndo, undoSize
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Method Detail

getInstance

public static UndoGlossStack getInstance()

pushUndo

public void pushUndo(UndoableItem item)
Specified by:
pushUndo in interface IUndoableStack<UndoableItem>
Overrides:
pushUndo in class UndoStack<UndoableItem>


Copyright © 2010 - 2011 Markus Flingelli. All Rights Reserved.