All Packages Class Hierarchy This Package Previous Next Index
Class CH.ifa.draw.samples.statechart.SuperState
CH.ifa.draw.standard.AbstractFigure
|
+----CH.ifa.draw.standard.CompositeFigure
|
+----CH.ifa.draw.contrib.xcomp.ManagedComposite
|
+----CH.ifa.draw.contrib.xcomp.FrameComposite
|
+----CH.ifa.draw.samples.statechart.SuperState
- public class SuperState
- extends FrameComposite
-
SuperState()
-
-
SuperState(Point, Point)
-
-
accept(Figure)
- Default is to accept all figures.
-
add(Figure)
- Adds a figure to the list of figures.
-
created()
- Creates the default state compartment for this super state.
-
createRootFigure()
- Creates a RootRoundRectangleFigure.
-
createRootFigure(Point, Point)
- Creates a RootRoundRectangleFigure.
-
draw(Graphics)
- Draws all the contained figures.
-
drawDividers(Graphics)
- Draws a horizontal solid line after each name compartment and a
vertical dashed line after each state machine compartment (except the
last).
-
getDefaultLayoutManager()
-
-
getInsets()
- Returns insets of (3,3,3,3).
-
remove(Figure)
- Removes a figure from the composite.
SuperState
public SuperState()
SuperState
public SuperState(Point origin,
Point corner)
createRootFigure
protected RootFigure createRootFigure()
- Creates a RootRoundRectangleFigure.
- Overrides:
- createRootFigure in class FrameComposite
createRootFigure
protected RootFigure createRootFigure(Point origin,
Point corner)
- Creates a RootRoundRectangleFigure.
- Overrides:
- createRootFigure in class FrameComposite
created
public void created()
- Creates the default state compartment for this super state.
- Overrides:
- created in class AbstractFigure
getDefaultLayoutManager
protected DrawLayoutManager getDefaultLayoutManager()
- Overrides:
- getDefaultLayoutManager in class CompositeFigure
getInsets
public Insets getInsets()
- Returns insets of (3,3,3,3).
- Overrides:
- getInsets in class FrameComposite
accept
public boolean accept(Figure figure)
- Default is to accept all figures.
- Overrides:
- accept in class FrameComposite
drawDividers
public void drawDividers(Graphics g)
- Draws a horizontal solid line after each name compartment and a
vertical dashed line after each state machine compartment (except the
last).
add
public Figure add(Figure figure)
- Adds a figure to the list of figures.
- Overrides:
- add in class CompositeFigure
remove
public Figure remove(Figure figure)
- Removes a figure from the composite.
- Overrides:
- remove in class CompositeFigure
draw
public void draw(Graphics g)
- Draws all the contained figures. Calls drawDividers() (this is a template
method).
- See Also:
- draw
All Packages Class Hierarchy This Package Previous Next Index