Docjar: A Java Source and Docuemnt Enginecom.*    java.*    javax.*    org.*    all    new    plug-in

Quick Search    Search Deep

org.greenstone.gatherer.undo
Class UndoManager.UndoStack  view UndoManager.UndoStack download UndoManager.UndoStack.java

java.lang.Object
  extended byjava.util.AbstractCollection
      extended byjava.util.AbstractList
          extended byjava.util.AbstractSequentialList
              extended byjava.util.LinkedList
                  extended byorg.greenstone.gatherer.undo.UndoManager.UndoStack
All Implemented Interfaces:
java.lang.Cloneable, java.util.Collection, java.util.List, java.io.Serializable
Enclosing class:
UndoManager

private class UndoManager.UndoStack
extends java.util.LinkedList


Nested Class Summary
 
Nested classes inherited from class java.util.LinkedList
 
Nested classes inherited from class java.util.AbstractList
 
Field Summary
private  boolean enabled
           
private  int pos
           
private  boolean undo
           
 
Fields inherited from class java.util.LinkedList
 
Fields inherited from class java.util.AbstractList
modCount
 
Constructor Summary
UndoManager.UndoStack(boolean undo)
           
 
Method Summary
 void clear()
          Remove all elements from this list.
 UndoManager.UndoJob getJob(long id)
           
 UndoManager.UndoJob pop()
           
 void push(UndoManager.UndoJob job)
           
 void reset()
           
private  void setEnabled(boolean state)
           
 
Methods inherited from class java.util.LinkedList
add, add, addAll, addAll, addFirst, addLast, clone, contains, get, getFirst, getLast, indexOf, lastIndexOf, listIterator, remove, remove, removeFirst, removeLast, set, size, toArray, toArray
 
Methods inherited from class java.util.AbstractSequentialList
iterator
 
Methods inherited from class java.util.AbstractList
equals, hashCode, listIterator, removeRange, subList
 
Methods inherited from class java.util.AbstractCollection
containsAll, isEmpty, removeAll, retainAll, toString
 
Methods inherited from class java.lang.Object
finalize, getClass, notify, notifyAll, wait, wait, wait
 
Methods inherited from interface java.util.List
containsAll, equals, hashCode, isEmpty, iterator, listIterator, removeAll, retainAll, subList
 

Field Detail

enabled

private boolean enabled

undo

private boolean undo

pos

private int pos
Constructor Detail

UndoManager.UndoStack

public UndoManager.UndoStack(boolean undo)
Method Detail

clear

public void clear()
Description copied from class: java.util.LinkedList
Remove all elements from this list.


getJob

public UndoManager.UndoJob getJob(long id)

push

public void push(UndoManager.UndoJob job)

pop

public UndoManager.UndoJob pop()

reset

public void reset()

setEnabled

private void setEnabled(boolean state)