WB - The WaveBean type used for this command (by default you can use the WaveBean interface)public class DefaultUndoableCommand<WB extends org.jrebirth.af.api.wave.WaveBean> extends AbstractUndoableCommand<WB>
runIntoThread, runnablePriorityinnerComponentMap, PROCESS_WAVE_METHOD_NAME, rootComponentADD_BEHAVIOR, CALL_ANNOTATED_METHOD_ERROR, COMMAND_NOT_FOUND_ERROR, COMMAND_NOT_FOUND_MESSAGE, COMPONENT_INJECTION_FAILURE, COMPONENT_RELEASE_ERROR, CUSTOM_METHOD_NOT_FOUND, LISTEN_WAVE_TYPE, MODEL_NOT_FOUND_ERROR, MODEL_NOT_FOUND_MESSAGE, NO_WAVE_LISTENER, NOTIFIER_CONSUMES, NOTIFIER_HANDLES, SEND_WAVE, SERVICE_NOT_FOUND_ERROR, SERVICE_NOT_FOUND_MESSAGE, UNLISTEN_WAVE_TYPE, WAVE_BEAN_CREATION_ERROR, WAVE_DISPATCH_ERROR, WAVE_HANDLING_ERROR, WAVE_LOST, WAVE_LOST_CONTEXT, WAVE_SENDING_ERRORbooleanItem, byteItem, characterItem, classItem, doubleItem, exceptionItem, floatItem, integerItem, longItem, shortItem, stringItem, voidItem| Constructor and Description |
|---|
DefaultUndoableCommand() |
| Modifier and Type | Method and Description |
|---|---|
protected void |
init(org.jrebirth.af.api.wave.Wave wave)
Initialize the command internal properties to be able to undo or redo the command.
|
protected void |
initCommand() |
protected void |
initInnerComponents() |
protected void |
redo()
Do or Redo the command.
|
protected void |
undo()
Undo the command.
|
performafterPerform, beforePerform, isRunning, readyfinalize, fireConsumed, fireFailed, fireHandled, getPriorityLevel, getRunInto, processWave, run, run, waveBeanaddBehavior, addBehavior, getBehavior, getBehaviorData, hasBehavior, manageOptionalDataattachUi, callCommand, callCommand, findInnerComponent, getInnerComponentMap, initInternalInnerComponents, listen, listen, listen, release, returnData, rootComponent, rootComponent, sendWave, sendWave, sendWave, setup, unlistengetCommand, getCommand, getCommands, getCommands, getFirstKeyPart, getKeyPart, getListKeyPart, getModel, getModel, getModels, getModels, getSecondKeyPart, getService, getService, getServices, getServices, getThirdKeyPart, key, key, localFacade, localFacadeclone, equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitaddBehavior, addBehavior, getBehavior, getBehaviorData, hasBehaviorfindInnerComponent, listen, listen, listen, rootComponent, rootComponent, sendWave, sendWave, sendWave, unlistenkey, key, localFacade, localFacade, release, setupattachUi, getModel, getModel, getModels, getModelsprotected void init(org.jrebirth.af.api.wave.Wave wave)
init in class AbstractUndoableCommand<WB extends org.jrebirth.af.api.wave.WaveBean>wave - the waveprotected void undo()
undo in class AbstractUndoableCommand<WB extends org.jrebirth.af.api.wave.WaveBean>protected void redo()
redo in class AbstractUndoableCommand<WB extends org.jrebirth.af.api.wave.WaveBean>protected void initCommand()
initCommand in class AbstractSingleCommand<WB extends org.jrebirth.af.api.wave.WaveBean>protected void initInnerComponents()
initInnerComponents in class AbstractComponent<org.jrebirth.af.api.command.Command>Copyright © 2011–2016 JRebirth OSS. All rights reserved.