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

java.lang.Object
  |
  +--org.tigris.gef.presentation.Fig
        |
        +--org.tigris.gef.presentation.FigText
              |
              +--org.argouml.uml.diagram.ui.CompartmentFigText
                    |
                    +--org.argouml.uml.diagram.static_structure.ui.FigFeature
All Implemented Interfaces:
java.lang.Cloneable, java.util.EventListener, java.awt.event.KeyListener, java.awt.event.MouseListener, org.tigris.gef.ui.PopupGenerator, java.beans.PropertyChangeListener, java.io.Serializable

public class FigFeature
extends CompartmentFigText

Fig to show features in class or interface like attributes or operations

Since:
Dec 1, 2002
See Also:
Serialized Form

Fields inherited from class org.argouml.uml.diagram.ui.CompartmentFigText
_isHighlighted, _modelElement, _refFig, cat
 
Fields inherited from class org.tigris.gef.presentation.FigText
_allowsTab, _botMargin, _curText, _editable, _editMode, _expandOnly, _fm, _font, _justification, _leftMargin, _lineHeight, _lineSpacing, _multiLine, _rightMargin, _textColor, _textEditorClass, _textFillColor, _textFilled, _topMargin, _underline, JUSTIFY_CENTER, JUSTIFY_LEFT, JUSTIFY_RIGHT, MIN_TEXT_WIDTH
 
Fields inherited from class org.tigris.gef.presentation.Fig
_allowsSaving, _context, _dashes, _displayed, _fillColor, _filled, _group, _h, _layer, _lineColor, _lineWidth, _locked, _resource, _shown, _w, _x, _y, an, annotationOwner, annotationStatus, BORDER, DASH_ARRAYS, DASHED_CHOICES, MIN_SIZE
 
Constructor Summary
FigFeature(int x, int y, int w, int h, org.tigris.gef.presentation.Fig aFig)
          Constructor for FigFeature.
 
Method Summary
 org.tigris.gef.base.Selection makeSelection()
          Via makeSelection we can add a custom selection class.
 
Methods inherited from class org.argouml.uml.diagram.ui.CompartmentFigText
getFeature, getFillColor, getFilled, getLineColor, getLineWidth, getModelElement, isHighlighted, setFeature, setHighlighted, setLineWidth, setModelElement
 
Methods inherited from class org.tigris.gef.presentation.FigText
append, append, calcBounds, deleteLastChar, deleteLastCharFromString, getAllowsTab, getBold, getBotMargin, getEditable, getExpandOnly, getFont, getFontFamily, getFontSize, getItalic, getJustification, getJustificationByName, getLeftMargin, getLineSpacing, getMinimumSize, getMultiLine, getRightMargin, getText, getTextColor, getTextEditorClass, getTextFillColor, getTextFilled, getTopMargin, getUnderline, hit, isNonStartEditingKey, keyPressed, keyReleased, keyTyped, mouseClicked, mouseEntered, mouseExited, mousePressed, mouseReleased, OK, paint, setAllowsTab, setBold, setBotMargin, setEditable, setExpandOnly, setFont, setFontFamily, setFontSize, setItalic, setJustifciaionByName, setJustification, setLeftMargin, setLineSpacing, setMultiLine, setRightMargin, setText, setTextColor, setTextEditorClass, setTextFillColor, setTextFilled, setTopMargin, setUnderline, startTextEditor, stuffMinimumSize
 
Methods inherited from class org.tigris.gef.presentation.Fig
addAnnotation, addPoint, addPropertyChangeListener, align, center, classNameAndBounds, cleanUp, clone, connectionPoint, contains, contains, contains, countCornersContained, createDrag, damage, delete, dispose, drawDashedLine, drawDashedPerimeter, endTrans, firePropChange, firePropChange, firePropChange, getAnnotationOwner, getAnnotationStrategy, getBounds, getClosestPoint, getContext, getDashed, getDashed01, getDashedString, getEnclosedFigs, getEnclosingFig, getFilled01, getFirstPoint, getGravityPoints, getGroup, getHalfHeight, getHalfWidth, getHandleBox, getHeight, getId, getLastPoint, getLayer, getLocation, getLocked, getNumPoints, getOwner, getPerimeterLength, getPoints, getPoints, getPopUpActions, getPreferedSize, getPrivateData, getResource, getSize, getTipString, getTrapRect, getUseTrapRect, getVisState, getWidth, getX, getXs, getY, getYs, initAnnotations, insertPoint, intersects, isAnnotation, isDisplayed, isLowerRightResizable, isMovable, isReshapable, isResizable, isRotatable, pointAlongPerimeter, postLoad, postSave, preSave, print, propertyChange, removeAnnotation, removeAnnotation, removePoint, removePropertyChangeListener, reorder, routingRect, savingAllowed, setAnnotationOwner, setAnnotationStatus, setAnnotationStrategy, setBounds, setBounds, setCenter, setContext, setDashed, setDashedString, setDisplayed, setEnclosingFig, setFillColor, setFilled, setGroup, setHandleBox, setHeight, setLayer, setLineColor, setLocation, setLocation, setLocked, setNumPoints, setOwner, setPoints, setPoints, setPoints, setPoints, setPoints, setPrivateData, setResource, setSavingAllowed, setSize, setSize, setVisState, setWidth, setX, setXs, setY, setYs, startTrans, stuffBounds, stuffPointAlongPerimeter, translate, unsetAnnotationOwner, updateAnnotationPositions, updateVisState, within
 
Methods inherited from class java.lang.Object
equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

FigFeature

public FigFeature(int x,
                  int y,
                  int w,
                  int h,
                  org.tigris.gef.presentation.Fig aFig)
Constructor for FigFeature.
Parameters:
x -  
y -  
w -  
h -  
aFig -  
Method Detail

makeSelection

public org.tigris.gef.base.Selection makeSelection()
Via makeSelection we can add a custom selection class. This way we can add a custom keyevent handler for our attributes or operations
Overrides:
makeSelection in class org.tigris.gef.presentation.Fig
See Also:
Fig.makeSelection()


ArgoUML (c) 1996-2002
ArgoUML Project Home
ArgoUML Cookbook