|
||||||||||
PREV NEXT | FRAMES NO FRAMES |
Packages that use State | |
---|---|
net.dpml.component | Interfaces defining the internal 'component' model. |
net.dpml.metro.info | Immutable datatypes that describe a component type. |
net.dpml.metro.runtime | Metro component model controller implementation. |
net.dpml.state | The net.dpml.state package defines states, transitons, operations and triggers and a state machine supporting orderly management of state transitions and dynamic operations. |
Uses of State in net.dpml.component |
---|
Methods in net.dpml.component that return State | |
---|---|
State |
Provider.apply(String key)
Apply a transition to the instance. |
State |
Provider.getState()
Returns the current state of the control. |
Uses of State in net.dpml.metro.info |
---|
Methods in net.dpml.metro.info that return State | |
---|---|
State |
Type.getStateGraph()
Return the state graph for the component type. |
Constructors in net.dpml.metro.info with parameters of type State | |
---|---|
Type(InfoDescriptor info,
CategoryDescriptor[] loggers,
ContextDescriptor context,
ServiceDescriptor[] services,
State graph)
Creation of a new Type instance using a supplied component descriptor, logging, context, services, and part references. |
Uses of State in net.dpml.metro.runtime |
---|
Methods in net.dpml.metro.runtime that return State | |
---|---|
State |
DefaultStateMachine.apply(String name,
Object object)
Apply a named transition to the target object. |
State |
DefaultStateMachine.getState()
Return the current state. |
State |
DefaultStateMachine.initialize(Object object)
Invoke initialization of the supplied object using the initialization action declared under the current state path. |
State |
DefaultStateMachine.terminate(Object object)
Invoke termination of the supplied object using the termination action declared under the current state path. |
Methods in net.dpml.metro.runtime with parameters of type State | |
---|---|
static void |
DefaultStateMachine.validate(State state)
Validate the state integrity. |
Constructors in net.dpml.metro.runtime with parameters of type State | |
---|---|
DefaultStateMachine(EventQueue queue,
Logger logger,
State state)
Creation of a new state machine using a state graph. |
Uses of State in net.dpml.state |
---|
Classes in net.dpml.state that implement State | |
---|---|
class |
DefaultState
Default implementation of an application state descriptor. |
class |
NullState
Null state implementation. |
Fields in net.dpml.state declared as State | |
---|---|
static State |
State.NULL_STATE
Null state. |
Methods in net.dpml.state that return State | |
---|---|
State |
StateMachine.apply(String name,
Object object)
Apply a named state transition. |
State |
StateDecoder.buildStateGraph(Element element)
Build a state graph. |
State |
StateEvent.getFromState()
Return the state that existed prior to the transition. |
State |
DefaultState.getParent()
Return the parent state to this state or null if this is the root of a state graph. |
State |
NullState.getParent()
Return the parent state to this state or null if this is the root of a state graph. |
State |
State.getParent()
Return the parent state to this state or null if this is the root of a state graph. |
State |
DefaultTransition.getState()
Return the state that this transition is a part of. |
State |
StateMachine.getState()
Return the current state. |
State |
Transition.getState()
Return the state that this transition is a part of. |
State[] |
DefaultState.getStatePath()
Return the state path. |
State[] |
NullState.getStatePath()
Return the state path. |
State[] |
State.getStatePath()
Return the state path. |
State[] |
DefaultState.getStates()
Return the substates within this state. |
State[] |
NullState.getStates()
Return the substates within this state. |
State[] |
State.getStates()
Return the substates within this state. |
State |
StateEvent.getToState()
Return the state that was established by a transition. |
State |
StateMachine.initialize(Object object)
Invoke initialization of the supplied object using the initialization action declared under the current state path. |
State |
StateDecoder.loadState(URI uri)
Load a state graph. |
State |
StateMachine.terminate(Object object)
Invoke termination of the supplied object using the termination action declared under the current state path. |
Methods in net.dpml.state with parameters of type State | |
---|---|
void |
StateEncoder.export(State state,
OutputStream output)
Externalize the part to XML. |
void |
DefaultState.setParent(State state)
Set the parent state. |
void |
NullState.setParent(State state)
Set the parent state. |
void |
State.setParent(State state)
Set the parent state. |
void |
DefaultTransition.setState(State state)
Set the state that this transition is a part of. |
void |
Transition.setState(State state)
Set the state that this transition is a part of. |
void |
StateEncoder.writeState(Writer writer,
State state,
String pad)
Write the state. |
Constructors in net.dpml.state with parameters of type State | |
---|---|
DefaultState(String name,
Trigger[] triggers,
Transition[] transitions,
Interface[] interfaces,
Operation[] operations,
State[] states)
Creation of a new non-terminal state. |
|
DefaultState(String name,
Trigger[] triggers,
Transition[] transitions,
Interface[] interfaces,
Operation[] operations,
State[] states,
boolean terminal)
Creation of a new state. |
|
StateEvent(Object source,
State from,
State to)
Construct a new StateEvent . |
|
||||||||||
PREV NEXT | FRAMES NO FRAMES |