Top Fields Constructors Methods
org.jabref.gui.edit.automaticfiededitor

public Class LastAutomaticFieldEditorEdit

extends AbstractUndoableEdit
Class Inheritance
Imports
javax.swing.undo.AbstractUndoableEdit, .CannotRedoException, .CannotUndoException, org.jabref.gui.undo.NamedCompound

Field Summary

Modifier and TypeField and Description
private final Integer
private final NamedCompound
private final Integer
Inherited from javax.swing.undo.AbstractUndoableEdit:
RedoNameUndoName

Constructor Summary

AccessConstructor and Description
public
LastAutomaticFieldEditorEdit(Integer affectedEntries, Integer tabIndex, NamedCompound edit)

Method Summary

Modifier and TypeMethod and Description
public Integer
public NamedCompound
public Integer
public void
redo()

Overrides javax.swing.undo.AbstractUndoableEdit.redo.

Implements javax.swing.undo.UndoableEdit.redo.

Throws CannotRedoException if canRedo returns false.

public void
undo()

Overrides javax.swing.undo.AbstractUndoableEdit.undo.

Implements javax.swing.undo.UndoableEdit.undo.

Throws CannotUndoException if canUndo returns false.

Inherited from javax.swing.undo.AbstractUndoableEdit:
addEditcanRedocanUndodiegetPresentationNamegetRedoPresentationNamegetUndoPresentationNameisSignificantreplaceEdittoString

Field Detail

affectedEntriesback to summary
private final Integer affectedEntries
editback to summary
private final NamedCompound edit
tabIndexback to summary
private final Integer tabIndex

Constructor Detail

LastAutomaticFieldEditorEditback to summary
public LastAutomaticFieldEditorEdit(Integer affectedEntries, Integer tabIndex, NamedCompound edit)

Method Detail

getAffectedEntriesback to summary
public Integer getAffectedEntries()
getEditback to summary
public NamedCompound getEdit()
getTabIndexback to summary
public Integer getTabIndex()
redoback to summary
public void redo() throws CannotRedoException

Overrides javax.swing.undo.AbstractUndoableEdit.redo.

Implements javax.swing.undo.UndoableEdit.redo.

Doc from javax.swing.undo.AbstractUndoableEdit.redo.

Throws CannotRedoException if canRedo returns false. Sets hasBeenDone to true. Subclasses should override to redo the operation represented by this edit. Override should begin with a call to super.

Annotations
@Override
Exceptions
CannotRedoException:
if canRedo returns false
undoback to summary
public void undo() throws CannotUndoException

Overrides javax.swing.undo.AbstractUndoableEdit.undo.

Implements javax.swing.undo.UndoableEdit.undo.

Doc from javax.swing.undo.AbstractUndoableEdit.undo.

Throws CannotUndoException if canUndo returns false. Sets hasBeenDone to false. Subclasses should override to undo the operation represented by this edit. Override should begin with a call to super.

Annotations
@Override
Exceptions
CannotUndoException:
if canUndo returns false