public class AddOnlyStateMachine extends AbstractStateMachine implements StateMachine
Form.State.EDITING state and the Form.Operation.CANCEL and Form.Operation.SAVE operations.
Most often used in add dialogs.
| Constructor and Description |
|---|
AddOnlyStateMachine() |
| Modifier and Type | Method and Description |
|---|---|
protected Form.State |
initial() |
protected String |
name() |
protected <C> void |
safeExecute(Form.Operation operation,
C context) |
current, execute, reset, supports, supportsprotected Form.State initial()
initial in class AbstractStateMachineprotected <C> void safeExecute(Form.Operation operation, C context)
safeExecute in class AbstractStateMachineprotected String name()
name in class AbstractStateMachineCopyright © 2018 JBoss, a division of Red Hat. All rights reserved.