Class MoveRecordEdit
java.lang.Object
javax.swing.undo.AbstractUndoableEdit
ca.phon.app.session.editor.undo.SessionUndoableEdit
ca.phon.app.session.editor.undo.MoveRecordEdit
- All Implemented Interfaces:
IExtendable,Serializable,UndoableEdit
- See Also:
-
Field Summary
Fields inherited from class javax.swing.undo.AbstractUndoableEdit
RedoName, UndoName -
Constructor Summary
ConstructorsConstructorDescriptionMoveRecordEdit(SessionEditor editor, Record record, int position) MoveRecordEdit(Session session, EditorEventManager editorEventManager, Record record, int position) -
Method Summary
Modifier and TypeMethodDescriptionbooleancanUndo()voiddoIt()'Do' the specified action.booleanvoidsetIssueRefresh(boolean issueRefresh) voidundo()Methods inherited from class ca.phon.app.session.editor.undo.SessionUndoableEdit
canRedo, getEditorEventManager, getExtension, getExtensions, getSession, getSource, putExtension, redo, removeExtension, setSourceMethods inherited from class javax.swing.undo.AbstractUndoableEdit
addEdit, die, getPresentationName, isSignificant, replaceEdit, toString
-
Constructor Details
-
MoveRecordEdit
-
MoveRecordEdit
public MoveRecordEdit(Session session, EditorEventManager editorEventManager, Record record, int position)
-
-
Method Details
-
getRedoPresentationName
- Specified by:
getRedoPresentationNamein interfaceUndoableEdit- Overrides:
getRedoPresentationNamein classAbstractUndoableEdit
-
getUndoPresentationName
- Specified by:
getUndoPresentationNamein interfaceUndoableEdit- Overrides:
getUndoPresentationNamein classAbstractUndoableEdit
-
isIssueRefresh
public boolean isIssueRefresh() -
setIssueRefresh
public void setIssueRefresh(boolean issueRefresh) -
canUndo
public boolean canUndo()- Specified by:
canUndoin interfaceUndoableEdit- Overrides:
canUndoin classSessionUndoableEdit
-
undo
- Specified by:
undoin interfaceUndoableEdit- Overrides:
undoin classAbstractUndoableEdit- Throws:
CannotUndoException
-
doIt
public void doIt()Description copied from class:SessionUndoableEdit'Do' the specified action. The method is called by the EditorUnsoSupport when new edits are posted.- Specified by:
doItin classSessionUndoableEdit
-