Package | Description |
---|---|
fr.lri.swingstates.sm |
A package to program state machines.
|
fr.lri.swingstates.sm.jtransitions |
Modifier and Type | Class and Description |
---|---|
class |
JExtensionalTag
A
JExtensionalTag tag is a tag that can be explicitely attached to and detached from a JComponent,
i.e. |
class |
JNamedTag
A
JNamedTag tag is a JExtensionalTag . |
Modifier and Type | Method and Description |
---|---|
JTag |
JTag.action()
Calls
action(JComponent c) for every component c that has
this tag. |
JTag |
JTag.setBackground(java.awt.Color color)
Calls
c.setBackground(Color color) for every component c
that has this tag. |
Modifier and Type | Method and Description |
---|---|
static java.util.ArrayList<JTag> |
JTag.getAllJTags() |
static java.util.LinkedList<JTag> |
JTag.tagsComponent(javax.swing.JComponent c,
java.lang.Class tagClass)
Tests if the component
c is tagged by a tag of class
tagClass . |
Modifier and Type | Method and Description |
---|---|
JTag |
EventOnJTag.getTag()
Returns the tag instance attached to the JComponent on which the mouse event firing this transition has occured.
|
Constructor and Description |
---|
ClickOnJTag(JTag tag,
int button)
Builds a transition triggered by a mouse clicked event with any modifier on a tagged component that loops on the current state.
|
ClickOnJTag(JTag tag,
int button,
int modifier)
Builds a transition triggered by a mouse clicked event on a tagged component that loops on the current state.
|
ClickOnJTag(JTag tag,
int button,
int modifier,
java.lang.String outState)
Builds a transition triggered by a mouse clicked event on a tagged component.
|
ClickOnJTag(JTag tag,
int button,
java.lang.String outState)
Builds a transition triggered by a mouse clicked event with any modifier on a tagged component.
|
DragOnJTag(JTag tag,
int button)
Builds a transition triggered by a mouse dragged event with any modifier on a component that loops on the current state.
|
DragOnJTag(JTag tag,
int button,
int modifier)
Builds a transition triggered by a mouse dragged event on a component that loops on the current state.
|
DragOnJTag(JTag tag,
int button,
int modifier,
java.lang.String outState)
Builds a transition triggered by a mouse dragged event on a component.
|
DragOnJTag(JTag tag,
int button,
java.lang.String outState)
Builds a transition triggered by a mouse dragged event with any modifier on a component.
|
EnterOnJTag(JTag tag)
Builds a transition triggered when the cursor enters with any modifier in a tagged component.
|
EnterOnJTag(JTag tag,
int modifier)
Builds a transition triggered when the cursor enters in a tagged component.
|
EnterOnJTag(JTag tag,
int modifier,
java.lang.String outState)
Builds a transition triggered when the cursor enters in a tagged component.
|
EnterOnJTag(JTag tag,
java.lang.String outState)
Builds a transition triggered when the cursor enters with any modifier in a tagged component.
|
EventOnJTag(JTag tag,
java.lang.String keyEvent)
Builds a transition with any modifier on a tagged component that loops on the current state.
|
EventOnJTag(JTag tag,
java.lang.String keyEvent,
java.lang.String outState)
Builds a transition with any modifier on a tagged component.
|
LeaveOnJTag(JTag tag)
Builds a transition triggered when the cursor leaves with any modifier a tagged component.
|
LeaveOnJTag(JTag tag,
int modifier)
Builds a transition triggered when the cursor leaves a tagged component.
|
LeaveOnJTag(JTag tag,
int modifier,
java.lang.String outState)
Builds a transition triggered when the cursor leaves a tagged component.
|
LeaveOnJTag(JTag tag,
java.lang.String outState)
Builds a transition triggered when the cursor leaves with any modifier a tagged component.
|
MouseOnJTag(JTag tag,
int button)
Builds a mouse transition with no modifier on tagged component that loops on the current state.
|
MouseOnJTag(JTag tag,
int button,
int modifier)
Builds a mouse transition on tagged component that loops on the current state.
|
MouseOnJTag(JTag tag,
int button,
int modifier,
java.lang.String outState)
Builds a mouse transition on tagged component.
|
MouseOnJTag(JTag tag,
int button,
java.lang.String outState)
Builds a mouse transition with no modifier on tagged component.
|
MoveOnJTag(JTag tag)
Builds a transition triggered by a mouse motion event with any modifier on a tagged component that loops on the current state.
|
MoveOnJTag(JTag tag,
int modifier)
Builds a transition triggered by a mouse motion event on a tagged component that loops on the current state.
|
MoveOnJTag(JTag tag,
int modifier,
java.lang.String outState)
Builds a transition triggered by a mouse motion event on a tagged component.
|
MoveOnJTag(JTag tag,
java.lang.String outState)
Builds a transition triggered by a mouse motion event with any modifier on a tagged component.
|
PressOnJTag(JTag tag,
int button)
Builds a transition triggered by a mouse pressed event with any modifier on a tagged component that loops on the current state.
|
PressOnJTag(JTag tag,
int button,
int modifier)
Builds a transition triggered by a mouse pressed event on a tagged component that loops on the current state.
|
PressOnJTag(JTag tag,
int button,
int modifier,
java.lang.String outState)
Builds a transition triggered by a mouse pressed event on a tagged component.
|
PressOnJTag(JTag tag,
int button,
java.lang.String outState)
Builds a transition triggered by a mouse pressed event with any modifier on a tagged component.
|
ReleaseOnJTag(JTag tag,
int button)
Builds a transition triggered by a mouse released event with any modifier on a tagged component that loops on the current state.
|
ReleaseOnJTag(JTag tag,
int button,
int modifier)
Builds a transition triggered by a mouse released event on a tagged component that loops on the current state.
|
ReleaseOnJTag(JTag tag,
int button,
int modifier,
java.lang.String outState)
Builds a transition triggered by a mouse released event on a tagged component.
|
ReleaseOnJTag(JTag tag,
int button,
java.lang.String outState)
Builds a transition triggered by a mouse released event with any modifier on a tagged component.
|
WheelOnJTag(JTag tag)
Builds a transition triggered by a mouse wheel event with any modifier on a tagged component that loops on the current state.
|
WheelOnJTag(JTag tag,
int modifier)
Builds a transition triggered by a mouse wheel event on a tagged component that loops on the current state.
|
WheelOnJTag(JTag tag,
int modifier,
java.lang.String outState)
Builds a transition triggered by a mouse wheel event on a tagged component.
|
WheelOnJTag(JTag tag,
java.lang.String outState)
Builds a transition triggered by a mouse wheel event with any modifier on a tagged component.
|