|
||||||||||
| 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.deployment.ui.FigObject
public class FigObject
Class to display graphics for a UML Object in a diagram.
| 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 | |
|---|---|
FigObject(java.lang.Object owner,
java.awt.Rectangle bounds,
DiagramSettings settings)
Construct a new FigObject. |
|
| Method Summary | |
|---|---|
java.lang.Object |
clone()
Clone this figure. |
java.awt.Color |
getFillColor()
|
java.awt.Color |
getLineColor()
|
int |
getLineWidth()
|
java.awt.Dimension |
getMinimumSize()
Returns the minimum size of the Fig. |
protected int |
getNotationProviderType()
Overrule this for subclasses that need a different NotationProvider. |
boolean |
isFilled()
|
Selection |
makeSelection()
|
void |
setEnclosingFig(Fig encloser)
|
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)
Replaces FigNodeModelElement.setBoundsImpl(int, int, int, int). |
| 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 FigObject(java.lang.Object owner,
java.awt.Rectangle bounds,
DiagramSettings settings)
owner - owning UML elementbounds - position and sizesettings - render settings| Method Detail |
|---|
protected int getNotationProviderType()
FigNodeModelElement
getNotationProviderType in class FigNodeModelElementpublic java.lang.Object clone()
FigNodeModelElementTODO: enclosedFigs, encloser and eventSenders may also need to be cloned.
clone in class FigNodeModelElementObject.clone()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 Selection makeSelection()
makeSelection in class FigNodeModelElementpublic java.awt.Dimension getMinimumSize()
FigNodeModelElementDo not call this function if the Fig is not resizable! In ArgoUML we decided that it is not needed to implement suitable getMinimumSize() methods for Figs that are not resizable.
getMinimumSize in class FigNodeModelElement
protected void setStandardBounds(int x,
int y,
int w,
int h)
FigNodeModelElementFigNodeModelElement.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)public void setEnclosingFig(Fig encloser)
setEnclosingFig in class FigNodeModelElement
|
||||||||||
| 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 |