org.argouml.uml.diagram.state.ui
Class FigCompositeState
java.lang.Object
|
+--FigNode
|
+--org.argouml.uml.diagram.ui.FigNodeModelElement
|
+--org.argouml.uml.diagram.state.ui.FigStateVertex
|
+--org.argouml.uml.diagram.state.ui.FigState
|
+--org.argouml.uml.diagram.state.ui.FigCompositeState
- 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 FigCompositeState
- extends FigState
Class to display graphics for a UML MCompositeState in a diagram.
- See Also:
- Serialized Form
Field Summary |
(package private) FigRect |
_cover
The main label on this icon. |
(package private) FigLine |
_divider
|
protected static Logger |
cat
Deprecated. by Linus Tolke as of 0.15.4. Use your own logger in your
class. This will be removed. |
int |
MARGIN
|
Fields inherited from class org.argouml.uml.diagram.ui.FigNodeModelElement |
_bigPort, _enclosedFigs, _encloser, _name, _readyToEdit, _shadowSize, _stereo, BUNDLE, checkSize, ITALIC_LABEL_FONT, LABEL_FONT, POPUP_ADD_OFFSET, ROWHEIGHT, SHADOW_COLOR_ALPHA, SHADOW_COLOR_VALUE, STEREOHEIGHT, suppressCalcBounds |
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, mouseClicked, notationAdded, notationChanged, notationProviderAdded, notationProviderRemoved, notationRemoved, paint, paintClarifiers, postLoad, propertyChange, propertySet, recovered, removed, renderingChanged, roleAdded, roleRemoved, setHandleBox, setItemUID, setName, setNameFig, setShadowSize, setStereotype, setStereotypeFig, superTranslate, updateBounds, 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 |
cat
protected static Logger cat
- Deprecated. by Linus Tolke as of 0.15.4. Use your own logger in your
class. This will be removed.
MARGIN
public final int MARGIN
- See Also:
- Constant Field Values
_cover
FigRect _cover
- The main label on this icon.
_divider
FigLine _divider
FigCompositeState
public FigCompositeState()
FigCompositeState
public FigCompositeState(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()
getMinimumSize
public java.awt.Dimension getMinimumSize()
getUseTrapRect
public boolean getUseTrapRect()
setBounds
public void setBounds(int x,
int y,
int w,
int h)
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()
modelChanged
protected void modelChanged(MElementEvent mee)
- Update the text labels
- Overrides:
modelChanged
in class FigState
- See Also:
org.argouml.uml.diagram.ui.FigNodeModelElement#modelChanged(ru.novosoft.uml.MElementEvent)
textEdited
public 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
getInitialHeight
protected int getInitialHeight()
- Specified by:
getInitialHeight
in class FigState
- See Also:
FigState.getInitialHeight()
getInitialWidth
protected int getInitialWidth()
- Specified by:
getInitialWidth
in class FigState
- See Also:
FigState.getInitialWidth()
getInitialX
protected int getInitialX()
- Specified by:
getInitialX
in class FigState
- See Also:
FigState.getInitialX()
getInitialY
protected int getInitialY()
- Specified by:
getInitialY
in class FigState
- See Also:
FigState.getInitialY()