org.argouml.uml.diagram.static_structure.ui
Class FigInstance

java.lang.Object
  |
  +--FigNode
        |
        +--org.argouml.uml.diagram.ui.FigNodeModelElement
              |
              +--org.argouml.uml.diagram.static_structure.ui.FigInstance
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 FigInstance
extends FigNodeModelElement

Class to display graphics for a UML MInstance in a diagram.

See Also:
Serialized Form

Field Summary
(package private)  FigText _attr
          UML does not really use ports, so just define one big one so that users can drag edges to or from any point in the icon.
 
Fields inherited from class org.argouml.uml.diagram.ui.FigNodeModelElement
_bigPort, _enclosedFigs, _encloser, _name, _readyToEdit, _shadowSize, _stereo, BUNDLE, checkSize, ITALIC_LABEL_FONT, LABEL_FONT, MARGIN, POPUP_ADD_OFFSET, ROWHEIGHT, SHADOW_COLOR_ALPHA, SHADOW_COLOR_VALUE, STEREOHEIGHT, suppressCalcBounds
 
Constructor Summary
FigInstance()
           
FigInstance(GraphModel gm, java.lang.Object node)
           
 
Method Summary
 java.lang.Object clone()
           
 java.awt.Dimension getMinimumSize()
           
 java.lang.String placeString()
          Reply text to be shown while placing node in diagram
 void setBounds(int x, int y, int w, int h)
           
 
Methods inherited from class org.argouml.uml.diagram.ui.FigNodeModelElement
addFig, calcBounds, createFeatureIn, damage, delayedVetoableChange, delete, dispose, elementOrdering, enableSizeChecking, finalize, getContextNotation, getEnclosedFigs, getEnclosingFig, getItemUID, getName, getNameFig, getPopUpActions, getShadowSize, getStereotype, getStereotypeFig, getTipString, getUpdatedSize, hit, hitClarifier, isPartlyOwner, isPartlyOwner, keyPressed, keyReleased, keyTyped, listRoleItemSet, makeSelection, modelChanged, mouseClicked, notationAdded, notationChanged, notationProviderAdded, notationProviderRemoved, notationRemoved, paint, paintClarifiers, postLoad, propertyChange, propertySet, recovered, removed, renderingChanged, roleAdded, roleRemoved, setEnclosingFig, setHandleBox, setItemUID, setName, setNameFig, setOwner, setShadowSize, setStereotype, setStereotypeFig, superTranslate, textEdited, updateBounds, updateListeners, updateNameText, 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
 

Field Detail

_attr

FigText _attr
UML does not really use ports, so just define one big one so that users can drag edges to or from any point in the icon.

Constructor Detail

FigInstance

public FigInstance()

FigInstance

public FigInstance(GraphModel gm,
                   java.lang.Object node)
Method Detail

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()

getMinimumSize

public java.awt.Dimension getMinimumSize()

setBounds

public void setBounds(int x,
                      int y,
                      int w,
                      int h)


ArgoUML © 1996-2004 (20040306)ArgoUML HomepageArgoUML Developers' pageArgoUML Cookbook