Index (Frames) | Index (No Frames) | Package | Package Tree | Tree
javax.swing.undo

Class CompoundEdit

java.lang.Object
|
+--javax.swing.undo.AbstractUndoableEdit
   |
   +--javax.swing.undo.CompoundEdit


public class CompoundEdit

extends AbstractUndoableEdit

CompoundEdit

Author:

Field Summary

java.util.Vectoredits

The collection of UndoableEdits undone/redone en masse by this CompoundEdit

Constructor Summary

CompoundEdit()

Create new Compound Edit

Method Summary

booleanaddEdit(javax.swing.undo.UndoableEdit anEdit)

addEdit
booleancanRedo()

canRedo
booleancanUndo()

canUndo
voiddie()

die
voidend()

end
java.lang.StringgetPresentationName()

getPresentationName
java.lang.StringgetRedoPresentationName()

getRedoPresentationName
java.lang.StringgetUndoPresentationName()

getUndoPresentationName
booleanisInProgress()

isInProgress
booleanisSignificant()

isSignigicant
javax.swing.undo.UndoableEditlastEdit()

lastEdit
voidredo()

redo
java.lang.StringtoString()

String representation
voidundo()

undo

Field Details

edits

protected Vector edits

The collection of UndoableEdits undone/redone en masse by this CompoundEdit


Constructor Details

CompoundEdit

public CompoundEdit()

Create new Compound Edit


Method Details

addEdit

public boolean addEdit(javax.swing.undo.UndoableEdit anEdit)

addEdit

Parameters:


canRedo

public boolean canRedo()

canRedo


canUndo

public boolean canUndo()

canUndo


die

public void die()

die


end

public void end()

end


getPresentationName

public String getPresentationName()

getPresentationName


getRedoPresentationName

public String getRedoPresentationName()

getRedoPresentationName


getUndoPresentationName

public String getUndoPresentationName()

getUndoPresentationName


isInProgress

public boolean isInProgress()

isInProgress


isSignificant

public boolean isSignificant()

isSignigicant


lastEdit

protected UndoableEdit lastEdit()

lastEdit


redo

public void redo()

redo

Throws:


toString

public String toString()

String representation


undo

public void undo()

undo

Throws: