|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.ObjectFigNode
org.argouml.uml.diagram.ui.FigNodeModelElement
org.argouml.uml.diagram.state.ui.FigStateVertex
org.argouml.uml.diagram.state.ui.FigFinalState
public class FigFinalState
Class to display graphics for a UML FinalState in a diagram.
This class supports any line width.
| Field Summary |
|---|
| Fields inherited from class org.argouml.uml.diagram.ui.FigNodeModelElement |
|---|
ABSTRACT, ACTIVE, invisibleAllowed, LEAF, NAME_FIG_HEIGHT, NAME_V_PADDING, ROOT, WIDTH |
| Fields inherited from interface org.argouml.uml.diagram.ui.ArgoFig |
|---|
DEBUG, DEBUG_COLOR, FILL_COLOR, INVISIBLE_LINE_COLOR, LINE_COLOR, LINE_WIDTH, ROWHEIGHT, SOLID_FILL_COLOR, STEREOHEIGHT, TEXT_COLOR, X0, Y0 |
| Constructor Summary | |
|---|---|
FigFinalState(java.lang.Object owner,
java.awt.Rectangle bounds,
DiagramSettings settings)
Construct a new FigFinalState. |
|
| Method Summary | |
|---|---|
java.lang.Object |
clone()
Clone this figure. |
protected Fig |
createBigPortFig()
Overrule this if a rectangle is not usable. |
java.awt.Color |
getFillColor()
|
java.util.List |
getGravityPoints()
Return a list of gravity points around the outer circle. |
java.awt.Color |
getLineColor()
|
int |
getLineWidth()
|
boolean |
isFilled()
|
boolean |
isResizable()
Final states are fixed size. |
Selection |
makeSelection()
return selectors, depending whether we deal with activity or state diagrams. |
void |
mouseClicked(java.awt.event.MouseEvent me)
|
void |
setFillColor(java.awt.Color col)
|
void |
setFilled(boolean f)
|
void |
setLineColor(java.awt.Color col)
|
void |
setLineWidth(int w)
|
protected void |
setStandardBounds(int x,
int y,
int w,
int h)
Override setBounds to keep shapes looking right. |
| Methods inherited from class org.argouml.uml.diagram.state.ui.FigStateVertex |
|---|
redrawEnclosedFigs, setEnclosingFig |
| Methods inherited from class java.lang.Object |
|---|
equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Methods inherited from interface java.awt.event.MouseListener |
|---|
mouseEntered, mouseExited, mousePressed, mouseReleased |
| Methods inherited from interface org.argouml.cognitive.Highlightable |
|---|
getHighlight, setHighlight |
| Constructor Detail |
|---|
public FigFinalState(java.lang.Object owner,
java.awt.Rectangle bounds,
DiagramSettings settings)
owner - owning UML elementbounds - position and sizesettings - rendering settings| Method Detail |
|---|
protected Fig createBigPortFig()
FigNodeModelElement
createBigPortFig in class FigNodeModelElementpublic java.lang.Object clone()
FigNodeModelElementTODO: enclosedFigs, encloser and eventSenders may also need to be cloned.
clone in class FigNodeModelElementObject.clone()public Selection makeSelection()
FigStateVertex
makeSelection in class FigStateVertexpublic boolean isResizable()
org.tigris.gef.presentation.Fig#isResizable()public void setLineColor(java.awt.Color col)
public java.awt.Color getLineColor()
public void setFillColor(java.awt.Color col)
public java.awt.Color getFillColor()
public void setFilled(boolean f)
public boolean isFilled()
public void setLineWidth(int w)
setLineWidth in class FigNodeModelElementpublic int getLineWidth()
public void mouseClicked(java.awt.event.MouseEvent me)
mouseClicked in interface java.awt.event.MouseListenermouseClicked in class FigNodeModelElementpublic java.util.List getGravityPoints()
protected void setStandardBounds(int x,
int y,
int w,
int h)
FigNodeModelElement.setBoundsImpl(int, int, int, int).
setStandardBounds in class FigNodeModelElementx - Desired X coordinate of upper left cornery - Desired Y coordinate of upper left cornerw - Desired width of the FigClassh - Desired height of the FigClassorg.tigris.gef.presentation.Fig#setBoundsImpl(int, int, int, int)
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
| ArgoUML © 1996-2006 | ArgoUML Homepage | ArgoUML Developers' page | ArgoUML Cookbook |