groovy.ui.text
Class TextUndoManager.StructuredEdit

java.lang.Object
  extended by javax.swing.undo.AbstractUndoableEdit
      extended by javax.swing.undo.CompoundEdit
          extended by groovy.ui.text.TextUndoManager.StructuredEdit
All Implemented Interfaces:
java.io.Serializable, javax.swing.undo.UndoableEdit
Enclosing class:
TextUndoManager

private class TextUndoManager.StructuredEdit
extends javax.swing.undo.CompoundEdit


Field Summary
private  long editedTime
           
 
Fields inherited from class javax.swing.undo.CompoundEdit
edits
 
Fields inherited from class javax.swing.undo.AbstractUndoableEdit
RedoName, UndoName
 
Constructor Summary
private TextUndoManager.StructuredEdit()
           
 
Method Summary
 boolean addEdit(javax.swing.undo.UndoableEdit edit)
           
 boolean canUndo()
           
protected  long editedTime()
           
 boolean isInProgress()
           
 
Methods inherited from class javax.swing.undo.CompoundEdit
canRedo, die, end, getPresentationName, getRedoPresentationName, getUndoPresentationName, isSignificant, lastEdit, redo, toString, undo
 
Methods inherited from class javax.swing.undo.AbstractUndoableEdit
replaceEdit
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Field Detail

editedTime

private long editedTime
Constructor Detail

TextUndoManager.StructuredEdit

private TextUndoManager.StructuredEdit()
Method Detail

addEdit

public boolean addEdit(javax.swing.undo.UndoableEdit edit)
Specified by:
addEdit in interface javax.swing.undo.UndoableEdit
Overrides:
addEdit in class javax.swing.undo.CompoundEdit

canUndo

public boolean canUndo()
Specified by:
canUndo in interface javax.swing.undo.UndoableEdit
Overrides:
canUndo in class javax.swing.undo.CompoundEdit

editedTime

protected long editedTime()

isInProgress

public boolean isInProgress()
Overrides:
isInProgress in class javax.swing.undo.CompoundEdit


Copyright © ${year} The Codehaus. All Rights Reserved.