public abstract class IlvAbstractGraphicEdit extends AbstractUndoableEdit implements IlvGraphicEdit
undoImpl
and redoImpl.RedoName, UndoName| Modifier | Constructor and Description |
|---|---|
protected |
IlvAbstractGraphicEdit()
The constructor.
|
| Modifier and Type | Method and Description |
|---|---|
void |
after(IlvGraphic g)
Fill the edit with information about the status of the graphic object
after it has changed.
|
void |
before(IlvGraphic g)
Fill the edit with information about the status of the graphic object
before it has changed.
|
IlvGraphic |
getObject()
Returns the affected graphic object.
|
void |
redo()
Performs a redo.
|
protected abstract void |
redoImpl(IlvGraphic g)
Performs the redo on the graphic object.
|
void |
undo()
Performs an undo.
|
protected abstract void |
undoImpl(IlvGraphic g)
Performs the undo on the graphic object.
|
addEdit, canRedo, canUndo, die, getPresentationName, getRedoPresentationName, getUndoPresentationName, isSignificant, replaceEdit, toStringclone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, waitaddEdit, canRedo, canUndo, die, getPresentationName, getRedoPresentationName, getUndoPresentationName, isSignificant, replaceEditpublic void before(IlvGraphic g)
before in interface IlvGraphicEditpublic void after(IlvGraphic g)
after in interface IlvGraphicEditpublic IlvGraphic getObject()
public void undo()
throws CannotUndoException
applyToObject on the graphic object passed
to before(ilog.views.IlvGraphic) and then calls undoImpl(ilog.views.IlvGraphic).undo in interface UndoableEditundo in class AbstractUndoableEditCannotUndoException - if canUndo
returns falsepublic void redo()
throws CannotRedoException
applyToObject on the graphic object passed
to before(ilog.views.IlvGraphic) and then calls redoImpl(ilog.views.IlvGraphic).redo in interface UndoableEditredo in class AbstractUndoableEditCannotRedoException - if canRedo
returns falseprotected abstract void undoImpl(IlvGraphic g) throws CannotRedoException
applyToObject on the
graphic object, therefore it is safe to modify the graphic object
directly.g - The graphic object.CannotUndoException - if canUndo
returns falseCannotRedoExceptionprotected abstract void redoImpl(IlvGraphic g) throws CannotRedoException
applyToObject on the
graphic object, therefore it is safe to modify the graphic object
directly.g - The graphic object.CannotRedoException - if canRedo
returns false© Copyright 2024 Rogue Wave Software, Inc., a Perforce company.. All Rights Reserved.