| Package | Description | 
|---|---|
| fr.lri.swingstates.animations | 
 
A package to program graphical animations. 
 | 
| 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.gestures | 
| Modifier and Type | Method and Description | 
|---|---|
void | 
Animation.setCanvas(Canvas canvas)  | 
| Modifier and Type | Class and Description | 
|---|---|
class  | 
GraphicalEditor  | 
class  | 
GraphicalEditorSM  | 
| Modifier and Type | Method and Description | 
|---|---|
static CPolyLine | 
PieMenuApplet.pie(Canvas canvas,
   java.awt.Color color,
   double x,
   double y,
   double start,
   double extent,
   double radius)
Draws a pie shape. 
 | 
static CShape | 
PieMenuApplet.pieMenu(int radius,
       Canvas c)  | 
| Modifier and Type | Method and Description | 
|---|---|
Canvas | 
Canvas.addShape(CShape sms)
Adds a shape to the canvas. 
 | 
Canvas | 
CTag.getCanvas()
Returns the canvas in which this CElement is displayed. 
 | 
Canvas | 
CShape.getCanvas()
Return the canvas this shape belongs to, if any. 
 | 
Canvas | 
CElement.getCanvas()
Returns the canvas in which this CElement is displayed. 
 | 
Canvas | 
Canvas.getCanvas()
Returns the canvas in which this CElement is displayed. 
 | 
Canvas | 
Canvas.removeAllShapes()
Removes all shapes from this canvas. 
 | 
Canvas | 
Canvas.removeShape(CShape shape)
Removes a shape from the canvas. 
 | 
Canvas | 
Canvas.removeShapes(CTag shapes)
Removes a set of tagged shapes from the canvas. 
 | 
| Modifier and Type | Method and Description | 
|---|---|
CShape | 
CShape.addTo(Canvas c)
Adds this shape to a canvas. 
 | 
static ClassTag | 
ClassTag.getTag(Canvas c,
      java.lang.Class tagClass)
Returns the existing  
ClassTag
 registered on a given canvas or creates it if
 it does not exist. | 
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. 
 | 
void | 
CStateMachine.lowerPriorityThan(CStateMachine smGreater,
                 Canvas canvas)
Makes this state machine having a lower priority than another state
 machine. 
 | 
CStateMachine | 
CStateMachine.lowestPriority(Canvas canvas)
Makes this state machine have the lowest priority. 
 | 
| Constructor and Description | 
|---|
CExtensionalTag(Canvas c)
Builds a CExtensionalTag that can tag the shapes displayed on the canvas c. 
 | 
CIntentionalTag(Canvas c)
Builds a  
CIntentionalTag. | 
CTag(Canvas c)
Builds a CTag that can tag the shapes displayed on the canvas c. 
 | 
| Modifier and Type | Class and Description | 
|---|---|
class  | 
StateMachineVisualization
A canvas that displays a state machine and shows its activity in real time. 
 | 
| Modifier and Type | Method and Description | 
|---|---|
static CShape | 
GestureUtils.showArrowPreview(Canvas canvas,
                CPolyLine polyline,
                int x,
                int y,
                int sizeBoundingBox,
                int sizeSpan,
                double sizeStartPoint)
Displays a polyline of a gesture example in a bounding box in a
 SwingStates  
Canvas. | 
static CShape | 
GestureUtils.showPreview(Canvas canvas,
           CPolyLine polyline,
           int x,
           int y,
           int sizeBoundingBox,
           int sizeSpan,
           double sizeStartPoint)
Displays a polyline of a gesture example in a bounding box in a
 SwingStates  
Canvas. |