|
|||||||||||
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.ui.FigMessage
Class to display graphics for a UML collaboration in a diagram.
Field Summary | |
protected int |
_arrowDirection
|
protected FigPoly |
_figPoly
|
static java.util.Vector |
ARROW_DIRECTIONS
|
int |
PADDING
|
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 | |
FigMessage()
|
|
FigMessage(GraphModel gm,
Layer lay,
java.lang.Object node)
|
Method Summary | |
void |
addPathItemToFigAssociationRole(Layer lay)
add the FigMessage to the Path Items of its FigAssociationRole |
java.lang.Object |
clone()
|
int |
getArrow()
|
java.awt.Color |
getFillColor()
|
boolean |
getFilled()
|
java.awt.Color |
getLineColor()
|
int |
getLineWidth()
|
java.awt.Dimension |
getMinimumSize()
|
void |
paint(java.awt.Graphics g)
|
java.lang.String |
placeString()
Reply text to be shown while placing node in diagram |
void |
renderingChanged()
Rerenders the fig if needed. |
void |
setArrow(int direction)
|
void |
setBounds(int x,
int y,
int w,
int h)
|
void |
setFillColor(java.awt.Color col)
|
void |
setFilled(boolean f)
|
void |
setLineColor(java.awt.Color col)
|
void |
setLineWidth(int w)
|
protected void |
textEdited(FigText ft)
This method is called after the user finishes editing a text field that is in the FigNodeModelElement. |
protected void |
updateArrow()
Determines the direction of the message arrow. |
protected void |
updateNameText()
Updates the text of the name 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, mousePressed, mouseReleased |
Field Detail |
public int PADDING
public static java.util.Vector ARROW_DIRECTIONS
protected FigPoly _figPoly
protected int _arrowDirection
Constructor Detail |
public FigMessage()
public FigMessage(GraphModel gm, Layer lay, 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 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 getFilled()
public void setLineWidth(int w)
public int getLineWidth()
public void setArrow(int direction)
public int getArrow()
public java.awt.Dimension getMinimumSize()
public void setBounds(int x, int y, int w, int h)
protected void textEdited(FigText ft) throws java.beans.PropertyVetoException
FigNodeModelElement
textEdited
in class FigNodeModelElement
java.beans.PropertyVetoException
protected void updateArrow()
public void addPathItemToFigAssociationRole(Layer lay)
public void paint(java.awt.Graphics g)
org.tigris.gef.presentation.Fig#paint(Graphics)
protected void updateNameText()
FigNodeModelElement
updateNameText
in class FigNodeModelElement
FigNodeModelElement.updateNameText()
public void renderingChanged()
FigNodeModelElement
renderingChanged
in class FigNodeModelElement
FigNodeModelElement.renderingChanged()
|
|||||||||||
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 |