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.sm |
A package to program state machines.
|
Modifier and Type | Class and Description |
---|---|
class |
GesturalInteraction |
Modifier and Type | Method and Description |
---|---|
static CStateMachine |
Menu.getHiliteMachine() |
CStateMachine |
Menu.getInteraction() |
Modifier and Type | Method and Description |
---|---|
CStateMachine |
CStateMachine.greaterPriorityThan(CStateMachine smLower,
Canvas canvas)
Makes this state machine have a greater priority than another state
machine.
|
CStateMachine |
CStateMachine.greatestPriority(Canvas canvas)
Makes this state machine have the greatest priority.
|
CStateMachine |
CStateMachine.lowestPriority(Canvas canvas)
Makes this state machine have the lowest priority.
|
Modifier and Type | Method and Description |
---|---|
java.util.List<CStateMachine> |
Canvas.getSMs()
Returns the state machines attached to this canvas.
|
Modifier and Type | Method and Description |
---|---|
void |
CTag.attachSM(CStateMachine sm,
boolean reset)
Attaches a state machine to this
CElement to describe its behavior. |
void |
CShape.attachSM(CStateMachine sm,
boolean reset)
Attaches a state machine to this
CElement to describe its behavior. |
void |
CElement.attachSM(CStateMachine sm,
boolean reset)
Attaches a state machine to this
CElement to describe its behavior. |
void |
Canvas.attachSM(CStateMachine sm,
boolean reset)
Attaches a state machine to this
CElement to describe its behavior. |
void |
CTag.detachSM(CStateMachine sm)
Detaches a state machine from this
CElement . |
void |
CShape.detachSM(CStateMachine sm)
Detaches a state machine from this
CElement . |
void |
CElement.detachSM(CStateMachine sm)
Detaches a state machine from this
CElement . |
void |
Canvas.detachSM(CStateMachine sm)
Detaches a state machine from this
CElement . |
CStateMachine |
CStateMachine.greaterPriorityThan(CStateMachine smLower,
Canvas canvas)
Makes this state machine have a greater priority than another state
machine.
|
void |
CStateMachine.lowerPriorityThan(CStateMachine smGreater,
Canvas canvas)
Makes this state machine having a lower priority than another state
machine.
|
Modifier and Type | Class and Description |
---|---|
class |
DnDStateMachine
DnDStateMachine is a predefined state machine to
implement "press-drag-release" interactions on shapes contained in a
SwingStates' canvas. |