Package org.jboss.hal.ballroom.form
Class ExistingStateMachine
- java.lang.Object
-
- org.jboss.hal.ballroom.form.AbstractStateMachine
-
- org.jboss.hal.ballroom.form.ExistingStateMachine
-
- All Implemented Interfaces:
StateMachine
public class ExistingStateMachine extends AbstractStateMachine implements StateMachine
A state machine for existing models. Supports theForm.State.READONLYandForm.State.EDITINGstate and all operations exceptForm.Operation.REMOVE.+--------+ (0) | | | clear() | view() reset() | | | +--v-------v--+ | | | +-----+ READONLY <-----+------+ | | | | +--+-------^--+ | | | | | | edit() cancel() save() | | | | | +--v-------+--+ | | | | | | (0)---edit()---> EDITING +-----+ clear() | | | +------+------+ | | | +-------------------+(0) Initial states
-
-
Constructor Summary
Constructors Constructor Description ExistingStateMachine(boolean supportsReset)
-