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

Class AbstractUndoableEdit

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

All Implemented Interfaces:

UndoableEdit, Serializable


public class AbstractUndoableEdit

extends Object

implements UndoableEdit, Serializable

AbstractUndoableEdit

Author:

Field Summary

static java.lang.StringRedoName

String returned by getRedoPresentationName()
static java.lang.StringUndoName

String returned by getUndoPresentationName()

Constructor Summary

AbstractUndoableEdit()

Create new AbstractUndoableEdit

Method Summary

booleanaddEdit(javax.swing.undo.UndoableEdit anEdit)

addEdit
booleancanRedo()

canRedo()
booleancanUndo()

canUndo()
voiddie()

die
java.lang.StringgetPresentationName()

getPresentation
java.lang.StringgetRedoPresentationName()

getRedoPresentationName
java.lang.StringgetUndoPresentationName()

getUndoPresentationName
booleanisSignificant()

isSignificant
voidredo()

redo
booleanreplaceEdit(javax.swing.undo.UndoableEdit anEdit)

replaceEdit
java.lang.StringtoString()

String representation
voidundo()

undo

Field Details

RedoName

protected static final String RedoName

String returned by getRedoPresentationName()


UndoName

protected static final String UndoName

String returned by getUndoPresentationName()


Constructor Details

AbstractUndoableEdit

public AbstractUndoableEdit()

Create new AbstractUndoableEdit


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


getPresentationName

public String getPresentationName()

getPresentation


getRedoPresentationName

public String getRedoPresentationName()

getRedoPresentationName


getUndoPresentationName

public String getUndoPresentationName()

getUndoPresentationName


isSignificant

public boolean isSignificant()

isSignificant


redo

public void redo()

redo

Throws:


replaceEdit

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

replaceEdit

Parameters:


toString

public String toString()

String representation


undo

public void undo()

undo

Throws: