Package | Description |
---|---|
fr.lri.swingstates.canvas.animations.transitions | |
fr.lri.swingstates.canvas.transitions | |
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.events |
A package containing all the SwingStates events.
|
fr.lri.swingstates.sm |
A package to program state machines.
|
fr.lri.swingstates.sm.jtransitions | |
fr.lri.swingstates.sm.transitions |
Modifier and Type | Class and Description |
---|---|
class |
AnimationResumed
A transition triggered by an animation that has just been resumed.
|
class |
AnimationStarted
A transition triggered by an animation that has just started.
|
class |
AnimationStopped
A transition triggered by an animation that has just "naturally" stopped
or has just been explicitely stopped.
|
class |
AnimationSuspended
A transition triggered by an animation that has just been suspended.
|
class |
CElementEvent
A transition triggered by a
CElement each time this
CElement is modified. |
Modifier and Type | Class and Description |
---|---|
class |
ClickOnShape
A transition triggered by a mouse button clicked on a CShape.
|
class |
ClickOnTag
A transition triggered by a mouse clicked event on a CShape with a given
tag.
|
class |
DragOnShape
A transition triggered by a mouse move event on a CShape with a mouse
button down.
|
class |
DragOnTag
A transition triggered by a mouse moved event with a button pressed on a
CShape with a given tag.
|
class |
EnterOnShape
A transition triggered when mouse cursor enters on a CShape.
|
class |
EnterOnTag
A transition triggered when the cursor enters in a CShape
that holds a given
tag.
|
class |
EventOnShape
A transition triggered on a CShape in the canvas.
|
class |
EventOnTag
A transition triggered on a tagged shape.
|
class |
LeaveOnShape
A transition triggered when mouse cursor leaves a CShape.
|
class |
LeaveOnTag
A transition triggered when the cursor leaves a CShape with a given tag.
|
class |
MouseOnShape
A transition triggered by a mouse event on a CShape in the canvas.
|
class |
MouseOnTag
A transition triggered by a mouse event on a tagged shape in the canvas.
|
class |
MoveOnShape
A transition triggered by a mouse moved event on a CShape with no mouse
button down.
|
class |
MoveOnTag
A transition triggered by a mouse moved event with no button pressed on a
CShape with a given tag.
|
class |
PressOnShape
A transition triggered by a mouse button pressed on a CShape.
|
class |
PressOnTag
A transition triggered by a mouse pressed event on a CShape with a given
tag.
|
class |
ReleaseOnShape
A transition triggered by a mouse button released on a CShape.
|
class |
ReleaseOnTag
A transition triggered by a mouse released event on a CShape with a given
tag.
|
class |
WheelOnShape
A transition triggered by a mouse wheel event on a CShape with no mouse
button down.
|
class |
WheelOnTag
A transition triggered by a mouse wheel event with no button pressed on a
CShape with a given tag.
|
Modifier and Type | Method and Description |
---|---|
Transition |
StateMachineEvent.getTransition()
Returns the transition that has just been fired by this state machine.
|
Modifier and Type | Method and Description |
---|---|
void |
Watcher.fireStateChanged(Transition t,
State previousState,
State currentState)
Fires a StateMachineEvent to all registered listeners notifying them the state machine has passed in another state.
|
void |
Watcher.fireStateLooped(Transition t,
State state)
Fires a StateMachineEvent to all registered listeners notifying them the state machine has passed a transition but looped in its current state.
|
Constructor and Description |
---|
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.
|
Modifier and Type | Method and Description |
---|---|
java.util.LinkedList<Transition> |
VirtualEvent.getMatchingTransitions(State state)
Retrieves the transitions that match the name of this event on a given state.
|
Modifier and Type | Class and Description |
---|---|
class |
EventOnComponent
A transition triggered on a JComponent.
|
class |
MoveOnComponent
A transition triggered by a mouse move event on a component with no mouse button down.
|
Modifier and Type | Method and Description |
---|---|
java.util.LinkedList<Transition> |
State.getTransitions() |
Modifier and Type | Method and Description |
---|---|
void |
State.addTransition(Transition t)
Adds a transition to this state.
|
void |
State.removeTransition(Transition t)
Removes a transition from this state.
|
Modifier and Type | Class and Description |
---|---|
class |
ClickOnComponent
A transition triggered by a mouse button clicked on a JComponent.
|
class |
ClickOnJTag
A transition triggered by a mouse clicked event on a component with a given tag.
|
class |
DragOnComponent
A transition triggered by a mouse move event on a component with a mouse button down.
|
class |
DragOnJTag
A transition triggered by a mouse moved event with a button pressed on a component with a given tag.
|
class |
EnterOnComponent
A Transition triggered when the mouse enters in a JComponent.
|
class |
EnterOnJTag
A transition triggered when the cursor enters in a component with a given tag.
|
class |
EventOnJTag
A transition triggered on a tagged component.
|
class |
LeaveOnComponent
A transition triggered with no modifier on a component.
|
class |
LeaveOnJTag
A transition triggered when the cursor leaves a component with a given tag.
|
class |
MouseOnComponent
A transition triggered by a mouse event on a component.
|
class |
MouseOnJTag
A transition triggered by a mouse event on a tagged component.
|
class |
MoveOnJTag
A transition triggered by a mouse moved event with no button pressed on a component with a given tag.
|
class |
PressOnComponent
A transition triggered by a mouse button pressed on a component.
|
class |
PressOnJTag
A transition triggered by a mouse pressed event on a component with a given tag.
|
class |
ReleaseOnComponent
A transition triggered by a mouse button released on a component.
|
class |
ReleaseOnJTag
A transition triggered by a mouse released event on a component with a given tag.
|
class |
WheelOnComponent
A transition triggered by a mouse wheel event on a component with no mouse button down.
|
class |
WheelOnJTag
A transition triggered by a mouse wheel event with no button pressed on a component with a given tag.
|
Modifier and Type | Class and Description |
---|---|
class |
Click
A transition triggered by a mouse clicked event.
|
class |
Drag
A transition triggered by a mouse moved event with a button pressed.
|
class |
Enter
A transition triggered when the mouse cursor enters a graphical component.
|
class |
Event
A transition triggered in a high-level event.
|
class |
EventOnPosition
A transition triggered on a location.
|
class |
KeyPress
A transition triggered by a key pressed event.
|
class |
KeyRelease
A transition triggered by a key released event.
|
class |
KeyTransition
A transition triggered by a key event.
|
class |
KeyType
A transition triggered by a key typed event.
|
class |
Leave
A transition triggered when the mouse cursor exited a graphical component.
|
class |
MouseOnPosition
A transition triggered by a mouse event on a location.
|
class |
Move
A transition triggered by a mouse moved event with no button pressed.
|
class |
Press
A transition triggered by a mouse pressed event.
|
class |
Release
A transition triggered by a mouse released event.
|
class |
TaggedTimeOut
A transition triggered by a tagged timer.
|
class |
TimeOut
A transition triggered by a timer.
|
class |
Wheel
A transition triggered by a mouse wheel event with no button pressed.
|