uci.uml.visual
Class FigClass
java.lang.Object
|
+--uci.gef.Fig
|
+--uci.gef.FigGroup
|
+--uci.gef.FigNode
|
+--uci.uml.visual.FigNodeModelElement
|
+--uci.uml.visual.FigClass
- public class FigClass
- extends FigNodeModelElement
Class to display graphics for a UML Class in a diagram.
- See Also:
- Serialized Form
| Fields inherited from class uci.gef.Fig |
_dashes,
_fillColor,
_filled,
_group,
_h,
_layer,
_lineColor,
_lineWidth,
_locked,
_w,
_x,
_y,
BORDER,
DASH_ARRAYS,
DASHED_CHOICES,
MIN_SIZE |
| Methods inherited from class uci.uml.visual.FigNodeModelElement |
delayedVetoableChange,
getEnclosedFigs,
getEnclosingFig,
getNameFig,
getTipString,
hitClarifier,
keyPressed,
keyReleased,
keyTyped,
mouseClicked,
paintClarifiers,
propertyChange,
updateBounds,
vetoableChange |
| Methods inherited from class uci.gef.FigNode |
addFigEdge,
bindPort,
cleanUp,
contains,
deepHitPort,
delete,
dispose,
endTrans,
getBlinkPorts,
getFigEdges,
getHighlight,
getPortFig,
getPortFigs,
getPortSector,
hidePorts,
hit,
hitPort,
hitPort,
mouseEntered,
mouseExited,
mouseReleased,
paint,
postLoad,
removeFigEdge,
removePort,
setBlinkPorts,
setHighlight,
showPorts,
startTrans,
superTranslate,
updateEdges |
| Methods inherited from class uci.gef.FigGroup |
addFig,
calcBounds,
elements,
getFigs,
getFillColor,
getFilled,
getFont,
getFontFamily,
getFontSize,
getLineColor,
getLineWidth,
getTextColor,
getTextFillColor,
getTextFilled,
hitFig,
isReshapable,
isResizable,
isRotatable,
removeAll,
removeFig,
setFigs,
setFillColor,
setFilled,
setFont,
setFontFamily,
setFontSize,
setLineColor,
setLineWidth,
setTextColor,
setTextFillColor,
setTextFilled |
| Methods inherited from class uci.gef.Fig |
addPoint,
addPropertyChangeListener,
align,
center,
classNameAndBounds,
connectionPoint,
contains,
contains,
countCornersContained,
createDrag,
damage,
drawDashedLine,
drawDashedPerimeter,
firePropChange,
firePropChange,
firePropChange,
getBounds,
getClosestPoint,
getDashed,
getDashed01,
getDashedString,
getFilled01,
getFirstPoint,
getGravityPoints,
getGroup,
getHalfHeight,
getHalfWidth,
getHeight,
getId,
getLastPoint,
getLayer,
getLocation,
getLocked,
getNumPoints,
getOwner,
getPerimeterLength,
getPoints,
getPoints,
getPreferedSize,
getSize,
getTrapRect,
getUseTrapRect,
getWidth,
getX,
getXs,
getY,
getYs,
insertPoint,
intersects,
isLowerRightResizable,
isMovable,
OK,
pointAlongPerimeter,
postSave,
preSave,
print,
removePoint,
removePropertyChangeListener,
reorder,
routingRect,
setBounds,
setDashed,
setDashedString,
setGroup,
setHeight,
setLayer,
setLocation,
setLocation,
setLocked,
setNumPoints,
setPoints,
setPoints,
setPoints,
setPoints,
setPoints,
setSize,
setSize,
setWidth,
setX,
setXs,
setY,
setYs,
stuffBounds,
stuffPointAlongPerimeter,
within |
_attr
protected FigText _attr
_oper
protected FigText _oper
_bigPort
protected FigRect _bigPort
_lastVisible
protected FigText _lastVisible
_attrVisible
protected boolean _attrVisible
_operVisible
protected boolean _operVisible
FigClass
public FigClass()
FigClass
public FigClass(GraphModel gm,
Object node)
placeString
public String placeString()
- Overrides:
- placeString in class FigNodeModelElement
clone
public Object clone()
- Overrides:
- clone in class FigNode
makeSelection
public Selection makeSelection()
- Overrides:
- makeSelection in class FigNodeModelElement
getPopUpActions
public Vector getPopUpActions(MouseEvent me)
- Overrides:
- getPopUpActions in class FigNodeModelElement
setOwner
public void setOwner(Object node)
- Overrides:
- setOwner in class FigNodeModelElement
getOperationFig
public FigText getOperationFig()
getAttributeFig
public FigText getAttributeFig()
isOperationVisible
public boolean isOperationVisible()
- Returns the status of the operation field.
- Returns:
- true if the operations are visible, false otherwise
isAttributeVisible
public boolean isAttributeVisible()
- Returns the status of the attribute field.
- Returns:
- true if the attributes are visible, false otherwise
setOperationVisible
public void setOperationVisible(boolean isVisible)
- Sets the operation field visible or not in the class icon.
- Parameters:
true - to set the operations visible, false otherwise
setAttributeVisible
public void setAttributeVisible(boolean isVisible)
- Sets the attribute field visible or not in the class icon.
- Parameters:
true - to set the attributes visible, false otherwise
getMinimumSize
public Dimension getMinimumSize()
- Overrides:
- getMinimumSize in class Fig
translate
public void translate(int dx,
int dy)
- Overrides:
- translate in class FigNode
setBounds
public void setBounds(int x,
int y,
int w,
int h)
- Overrides:
- setBounds in class FigNode
mousePressed
public void mousePressed(MouseEvent me)
- Overrides:
- mousePressed in class FigNode
setEnclosingFig
public void setEnclosingFig(Fig encloser)
- Overrides:
- setEnclosingFig in class FigNodeModelElement
textEdited
protected void textEdited(FigText ft)
throws PropertyVetoException
- Overrides:
- textEdited in class FigNodeModelElement
modelChanged
protected void modelChanged()
- Overrides:
- modelChanged in class FigNodeModelElement