|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object | +--FigNode | +--org.argouml.uml.diagram.ui.FigNodeModelElement | +--org.argouml.uml.diagram.deployment.ui.FigComponentInstance
Class to display graphics for a UML ComponentInstance in a diagram.
Field Summary | |
protected FigRect |
_cover
|
protected FigRect |
_lowerRect
|
protected FigRect |
_upperRect
|
protected static Category |
cat
|
static int |
OVERLAP
|
Fields inherited from class org.argouml.uml.diagram.ui.FigNodeModelElement |
_bigPort, _enclosedFigs, _encloser, _name, _readyToEdit, _shadowSize, _stereo, checkSize, ITALIC_LABEL_FONT, LABEL_FONT, MARGIN, ROWHEIGHT, STEREOHEIGHT, suppressCalcBounds |
Constructor Summary | |
FigComponentInstance()
|
|
FigComponentInstance(GraphModel gm,
java.lang.Object node)
|
Method Summary | |
java.lang.Object |
clone()
|
java.awt.Dimension |
getMinimumSize()
|
boolean |
getUseTrapRect()
|
Selection |
makeSelection()
|
void |
mouseClicked(java.awt.event.MouseEvent me)
If the user double clicks on any part of this FigNode, pass it down to one of the internal Figs. |
void |
mousePressed(java.awt.event.MouseEvent me)
|
java.lang.String |
placeString()
Reply text to be shown while placing node in diagram |
void |
setBounds(int x,
int y,
int w,
int h)
|
void |
setEnclosingFig(Fig encloser)
Updates the modelelement container if the fig is moved in or out another fig. |
void |
setLineColor(java.awt.Color c)
|
void |
setNode(java.util.Vector figures)
|
protected void |
textEdited(FigText ft)
This method is called after the user finishes editing a text field that is in the FigNodeModelElement. |
protected void |
updateNameText()
Updates the text of the name FigText. |
protected void |
updateStereotypeText()
Updates the text of the sterotype FigText. |
Methods inherited from class java.lang.Object |
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Methods inherited from interface java.awt.event.MouseListener |
mouseEntered, mouseExited, mouseReleased |
Field Detail |
protected static Category cat
public static int OVERLAP
protected FigRect _cover
protected FigRect _upperRect
protected FigRect _lowerRect
Constructor Detail |
public FigComponentInstance()
public FigComponentInstance(GraphModel gm, java.lang.Object node)
Method Detail |
public java.lang.String placeString()
FigNodeModelElement
placeString
in class FigNodeModelElement
public java.lang.Object clone()
public void setLineColor(java.awt.Color c)
public Selection makeSelection()
makeSelection
in class FigNodeModelElement
public java.awt.Dimension getMinimumSize()
public void setBounds(int x, int y, int w, int h)
public void mouseClicked(java.awt.event.MouseEvent me)
FigNodeModelElement
mouseClicked
in interface java.awt.event.MouseListener
mouseClicked
in class FigNodeModelElement
public void mousePressed(java.awt.event.MouseEvent me)
public void setEnclosingFig(Fig encloser)
FigNodeModelElement
setEnclosingFig
in class FigNodeModelElement
org.tigris.gef.presentation.Fig#setEnclosingFig(org.tigris.gef.presentation.Fig)
public void setNode(java.util.Vector figures)
public boolean getUseTrapRect()
protected void textEdited(FigText ft) throws java.beans.PropertyVetoException
FigNodeModelElement
textEdited
in class FigNodeModelElement
java.beans.PropertyVetoException
protected void updateStereotypeText()
FigNodeModelElement
updateStereotypeText
in class FigNodeModelElement
protected void updateNameText()
FigNodeModelElement
updateNameText
in class FigNodeModelElement
FigNodeModelElement.updateNameText()
|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
ArgoUML © 1996-2003 (20030919) | ArgoUML Project Home | ArgoUML Cookbook |