Package | Description |
---|---|
fr.lri.swingstates.applets | |
fr.lri.swingstates.canvas |
A package to program new widgets starting from the SwingStates' canvas that offers advanced features for programming interaction (state machines, tags, etc.).
|
fr.lri.swingstates.debug |
A package containing listeners for state machine and a graphical widget to visualize state machines while they are running.
|
fr.lri.swingstates.sm |
A package to program state machines.
|
Modifier and Type | Class and Description |
---|---|
class |
GesturalInteraction |
Constructor and Description |
---|
ColorEvent(StateMachine sm,
java.awt.Color c) |
Modifier and Type | Class and Description |
---|---|
class |
CStateMachine
A state machine to handle events with one or more
CElement (Canvas ,
CTag or CShape ). |
Modifier and Type | Method and Description |
---|---|
StateMachine |
StateMachineEvent.getSmSource()
Returns the state machine that originated this event.
|
Modifier and Type | Method and Description |
---|---|
static javax.swing.JFrame |
StateMachineVisualization.windowVisualization(StateMachine sm)
Builds a canvas that displays a state machine
and adds it to en independant
JFrame . |
Constructor and Description |
---|
StateMachineEvent(StateMachine stateMachine)
Builds a StateMachineEvent originated by a state machine that has just been inited.
|
StateMachineEvent(StateMachine stateMachine,
Transition t,
State cState)
Builds a StateMachineEvent originated by a state machine that has just fired a transition that makes it loop on the current state.
|
StateMachineEvent(StateMachine stateMachine,
Transition t,
State pState,
State cState)
Builds a StateMachineEvent.
|
StateMachineVisualization(StateMachine sm)
Builds a canvas that displays a state machine.
|
Watcher(StateMachine stateMachine)
Builds a 'watcher' for a state machine.
|
Modifier and Type | Class and Description |
---|---|
class |
BasicInputStateMachine
A state machine to handle basic input events (mouse events and keyboard events).
|
class |
DnDStateMachine
DnDStateMachine is a predefined state machine to
implement "press-drag-release" interactions on shapes contained in a
SwingStates' canvas. |
class |
JStateMachine
A state machine to monitor events with one or more Component.
|
class |
PressDragReleaseStateMachine |
Modifier and Type | Method and Description |
---|---|
StateMachine |
JStateMachine.attachTo(java.awt.Component c)
Attaches a component to this state machine.
|
StateMachine |
StateMachine.consumes(boolean c)
Makes this state machine consume an event.
|
StateMachine |
JStateMachine.detachFrom(java.awt.Component c)
Removes a component from the control of this state machine.
|
StateMachine |
State.getMachine() |
StateMachine |
StateMachine.reset()
Sets the state of this state machine to the initial state.
|