org.argouml.uml.diagram.state.ui
Class FigSimpleState
java.lang.Object
org.tigris.gef.presentation.Fig
org.tigris.gef.presentation.FigGroup
org.tigris.gef.presentation.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.FigSimpleState
- All Implemented Interfaces:
- ArgoEventListener, ArgoNotationEventListener, Cloneable, Connecter, DelayedVChangeListener, EventListener, org.tigris.gef.di.GraphicElement, org.tigris.gef.di.GraphNode, Highlightable, KeyListener, MouseListener, NotationContext, PathContainer, PopupGenerator, PropertyChangeListener, Serializable, VetoableChangeListener
- public class FigSimpleState
- extends FigState
Class to display graphics for a UML MState in a diagram.
- See Also:
- Serialized Form
| Fields inherited from class org.tigris.gef.presentation.Fig |
_allowsSaving, _context, _dashes, _dashPeriod, _dashStyle, _filled, _h, _w, _x, _y, an, annotationOwner, annotationStatus, BORDER, MIN_SIZE, plotter |
| Methods inherited from class org.argouml.uml.diagram.ui.FigNodeModelElement |
addElementListener, addElementListener, addElementListener, addEnclosedFig, allowRemoveFromDiagram, buildModifierPopUp, buildVisibilityPopUp, calcBounds, classNameAndBounds, createFeatureIn, damage, delayedVetoableChange, deleteFromModel, displace, elementOrdering, enableSizeChecking, finalize, forceRepaintShadow, getBigPort, getContextNotation, getDiElement, getEnclosedFigs, getEncloser, getEnclosingFig, getItalicLabelFont, getItemUID, getLabelFont, getName, getNameBounds, getNameFig, getPopUpActions, getPopupAddOffset, getRemoveDelegate, getShadowSize, getStereotypeFig, getTipString, hit, hitClarifier, isCheckSize, isDragConnectable, isEditable, isPartlyOwner, isPartlyOwner, isPathVisible, isReadyToEdit, keyPressed, keyReleased, keyTyped, mouseClicked, notationAdded, notationChanged, notationProviderAdded, notationProviderRemoved, notationRemoved, paint, paintClarifiers, placeString, postLoad, propertyChange, removeAllElementListeners, removeElementListener, removeEnclosedFig, removeFromDiagram, removeFromDiagramImpl, setBigPort, setContextNotation, setDiElement, setEditable, setEncloser, setItemUID, setLayer, setName, setNameFig, setPathVisible, setReadyToEdit, setShadowSize, setShadowSizeFriend, setSuppressCalcBounds, setVisible, showHelp, updateBounds, updateNameText, updateStereotypeText, vetoableChange |
| Methods inherited from class org.tigris.gef.presentation.FigNode |
addFigEdge, bindPort, cleanUp, contains, deepHitPort, dispose, endTrans, getFigEdges, getFigEdges, getHighlight, getPortFig, getPortFigs, getPortSector, hidePorts, hitPort, hitPort, isBlinkPorts, mouseEntered, mouseExited, mousePressed, mouseReleased, paint, removeFigEdge, removePort, setBlinkPorts, setHighlight, showPorts, superTranslate, translateImpl, updateEdges |
| Methods inherited from class org.tigris.gef.presentation.FigGroup |
addFig, addFigs, deepSelect, elements, getDisplayedFigs, getExtraFrameSpace, getFigAt, getFigCount, getFigPosn, getFigs, getFont, getFontFamily, getFontSize, getPrivateData, getSubFigBounds, getTextColor, getTextFillColor, getTextFilled, hitFig, isReshapable, isRotatable, iterator, parseDynObjects, removeAll, removeFig, setExtraFrameSpace, setFigs, setFigs, setFont, setFontFamily, setFontSize, setPrivateData, setTextColor, setTextFillColor, setTextFilled |
| Methods inherited from class org.tigris.gef.presentation.Fig |
addAnnotation, addPoint, addPropertyChangeListener, align, center, connectionPoint, contains, contains, countCornersContained, createDrag, firePropChange, firePropChange, firePropChange, getAnnotationOwner, getAnnotationStrategy, getBounds, getBounds, getCenter, getClosestPoint, getContext, getDashed, getDashed01, getDashedString, getFilled01, getFirstPoint, getGravityPoints, getGroup, getHalfHeight, getHalfWidth, getHandleBox, getHeight, getId, getLastPoint, getLayer, getLocation, getLocked, getNumPoints, getOwner, getPerimeterLength, getPoint, getPoints, getPreferredSize, getResource, getSingle, getSize, getTrapRect, getUseTrapRect, getVisState, getWidth, getX, getXs, getY, getYs, hasFillColor, hasLineColor, initAnnotations, insertPoint, intersects, intersectsPerimeter, isAnnotation, isCopyable, isCutable, isLowerRightResizable, isMovable, isRemoveStarted, isResizable, isSelectable, isSelected, isVisible, pointAlongPerimeter, postSave, preSave, print, redraw, removeAnnotation, removePoint, removePropertyChangeListener, reorder, routingRect, savingAllowed, setAnnotationOwner, setAnnotationStatus, setAnnotationStrategy, setBounds, setBounds, setCenter, setContext, setDashed, setDashedString, setGroup, setHandleBox, setHeight, setLocation, setLocation, setLocked, setMovable, setNumPoints, setPoint, setPoint, setPoint, setPoint, setPoints, setResizable, setResource, setSavingAllowed, setSize, setSize, setWidth, setX, setXs, setY, setYs, stuffBounds, stuffPointAlongPerimeter, translate, translateAnnotations, unsetAnnotationOwner, updateAnnotationPositions, within |
| Methods inherited from interface org.tigris.gef.di.GraphicElement |
getId, getOwner, routingRect |
FigSimpleState
public FigSimpleState()
- The main constructor
FigSimpleState
public FigSimpleState(GraphModel gm,
Object node)
- The constructor that hooks into an existing UML element
- Parameters:
gm - ignorednode - the UML element
clone
public Object clone()
- Description copied from class:
FigNodeModelElement
- After the base clone method has been called determine which child
figs of the clone represent the name, stereotype and port.
The clone function is used by Copy/Paste operations.
- Overrides:
clone in class FigNodeModelElement
- See Also:
Object.clone()
getMinimumSize
public Dimension getMinimumSize()
- See Also:
Fig.getMinimumSize()
setBoundsImpl
protected void setBoundsImpl(int x,
int y,
int w,
int h)
- Override setBounds to keep shapes looking right.
- See Also:
Fig.setBounds(int, int, int, int)
setLineColor
public void setLineColor(Color col)
- See Also:
Fig.setLineColor(java.awt.Color)
getLineColor
public Color getLineColor()
- See Also:
Fig.getLineColor()
setFillColor
public void setFillColor(Color col)
- See Also:
Fig.setFillColor(java.awt.Color)
getFillColor
public Color getFillColor()
- See Also:
Fig.getFillColor()
setFilled
public void setFilled(boolean f)
- See Also:
Fig.setFilled(boolean)
getFilled
public boolean getFilled()
- See Also:
Fig.getFilled()
setLineWidth
public void setLineWidth(int w)
- See Also:
Fig.setLineWidth(int)
getLineWidth
public int getLineWidth()
- See Also:
Fig.getLineWidth()
getInitialHeight
protected int getInitialHeight()
- Specified by:
getInitialHeight in class FigState
- Returns:
- the initial height
- See Also:
FigState.getInitialHeight()
getInitialWidth
protected int getInitialWidth()
- Specified by:
getInitialWidth in class FigState
- Returns:
- the initial width
- See Also:
FigState.getInitialWidth()
getInitialX
protected int getInitialX()
- Specified by:
getInitialX in class FigState
- Returns:
- the initial X
- See Also:
FigState.getInitialX()
getInitialY
protected int getInitialY()
- Specified by:
getInitialY in class FigState
- Returns:
- the initial Y
- See Also:
FigState.getInitialY()