org.argouml.uml.diagram.deployment.ui
Class FigObject
java.lang.Object
|
+--FigNode
|
+--org.argouml.uml.diagram.ui.FigNodeModelElement
|
+--org.argouml.uml.diagram.deployment.ui.FigObject
- All Implemented Interfaces:
- ArgoEventListener, ArgoNotationEventListener, DelayedVChangeListener, java.util.EventListener, java.awt.event.KeyListener, java.awt.event.MouseListener, NotationContext, java.beans.PropertyChangeListener, java.beans.VetoableChangeListener
- public class FigObject
- extends FigNodeModelElement
Class to display graphics for a UML Object in a diagram.
- See Also:
- Serialized Form
Field Summary |
MElementResidence |
resident
|
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 |
Methods inherited from class org.argouml.uml.diagram.ui.FigNodeModelElement |
calcBounds, createFeatureIn, damage, delayedVetoableChange, delete, dispose, elementOrdering, enableSizeChecking, finalize, getContextNotation, getEnclosedFigs, getEnclosingFig, getItemUID, getNameFig, getPopUpActions, getShadowSize, getTipString, getUpdatedSize, hit, hitClarifier, isPartlyOwner, isPartlyOwner, keyPressed, keyReleased, keyTyped, listRoleItemSet, modelChanged, mouseClicked, notationAdded, notationChanged, notationProviderAdded, notationProviderRemoved, notationRemoved, paintClarifiers, postLoad, propertyChange, propertySet, recovered, removed, renderingChanged, roleAdded, roleRemoved, setItemUID, setOwner, setShadowSize, updateBounds, updateListeners, updateStereotypeText, vetoableChange |
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 |
resident
public MElementResidence resident
FigObject
public FigObject()
FigObject
public FigObject(GraphModel gm,
java.lang.Object node)
placeString
public java.lang.String placeString()
- Description copied from class:
FigNodeModelElement
- Reply text to be shown while placing node in diagram
- Overrides:
placeString
in class FigNodeModelElement
clone
public java.lang.Object clone()
setLineColor
public void setLineColor(java.awt.Color col)
getLineColor
public java.awt.Color getLineColor()
setFillColor
public void setFillColor(java.awt.Color col)
getFillColor
public java.awt.Color getFillColor()
setFilled
public void setFilled(boolean f)
getFilled
public boolean getFilled()
setLineWidth
public void setLineWidth(int w)
getLineWidth
public int getLineWidth()
makeSelection
public Selection makeSelection()
- Overrides:
makeSelection
in class FigNodeModelElement
getMinimumSize
public java.awt.Dimension getMinimumSize()
setBounds
public void setBounds(int x,
int y,
int w,
int h)
textEdited
protected void textEdited(FigText ft)
throws java.beans.PropertyVetoException
- Description copied from class:
FigNodeModelElement
- This method is called after the user finishes editing a text
field that is in the FigNodeModelElement. Determine which field
and update the model. This class handles the name, subclasses
should override to handle other text elements.
- Overrides:
textEdited
in class FigNodeModelElement
java.beans.PropertyVetoException
setEnclosingFig
public void setEnclosingFig(Fig encloser)
- Description copied from class:
FigNodeModelElement
- Updates the modelelement container if the fig is moved in or
out another fig. If this fig doesn't have an enclosing fig
anymore, the namespace of the diagram will be the owning
modelelement. If this fig is moved inside another
FigNodeModelElement the owner of that fignodemodelelement will
be the owning modelelement.
- Overrides:
setEnclosingFig
in class FigNodeModelElement
- See Also:
org.tigris.gef.presentation.Fig#setEnclosingFig(org.tigris.gef.presentation.Fig)
updateNameText
protected void updateNameText()
- Description copied from class:
FigNodeModelElement
- Updates the text of the name FigText.
- Overrides:
updateNameText
in class FigNodeModelElement
- See Also:
FigNodeModelElement.updateNameText()