|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
java.lang.Objectorg.tigris.gef.presentation.Fig
org.tigris.gef.presentation.FigGroup
org.tigris.gef.presentation.FigNode
gov.nih.nci.cagrid.graph.uml.UMLClass
public class UMLClass
| Field Summary | |
|---|---|
protected org.tigris.gef.presentation.FigText |
attribs
|
protected java.util.Vector |
attributes
|
int |
defaultRendering
|
static int |
FADED
|
protected org.tigris.gef.presentation.FigText |
header
|
protected java.util.Vector |
methods
|
protected java.lang.String |
name
|
static int |
NORMAL
|
protected org.tigris.gef.presentation.FigText |
opers
|
protected static int |
PRIVATE
|
protected static int |
PROTECTED
|
protected static int |
PUBLIC
|
| Fields inherited from class org.tigris.gef.presentation.FigNode |
|---|
_blinkPorts, _highlight, ang135, ang225, ang315, ang45 |
| 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 |
| Constructor Summary | |
|---|---|
UMLClass(java.lang.String name)
|
|
| Method Summary | |
|---|---|
void |
addAttribute(Attribute att)
|
void |
addAttribute(java.lang.String type,
java.lang.String name)
|
void |
addMethod(Method meth)
|
float |
associationsIntersectRectangle(int x,
int y,
int width,
int height)
|
void |
fade()
|
int |
getLabelOverlap(int x,
int y,
int width,
int height)
|
int |
getLabelOverlap(java.awt.Rectangle r)
|
void |
highlight(org.tigris.gef.base.Layer layer)
|
void |
refresh()
|
void |
setDefaultRendering(int rendering)
|
void |
setName(java.lang.String name)
|
void |
setNormal()
|
void |
setToolTip(java.lang.String text)
|
| Methods inherited from class org.tigris.gef.presentation.FigNode |
|---|
addFigEdge, bindPort, cleanUp, clone, contains, deepHitPort, deleteFromModel, dispose, endTrans, getFigEdges, getFigEdges, getHighlight, getPortFig, getPortFigs, getPortSector, hidePorts, hit, hitPort, hitPort, isBlinkPorts, isDragConnectable, mouseClicked, mouseEntered, mouseExited, mousePressed, mouseReleased, paint, postLoad, propertyChange, removeFigEdge, removeFromDiagram, removePort, setBlinkPorts, setBounds, setEnclosingFig, setHighlight, setOwner, showPorts, superTranslate, translate, updateEdges |
| Methods inherited from class org.tigris.gef.presentation.FigGroup |
|---|
addFig, addFigs, calcBounds, deepSelect, elements, getDisplayedFigs, getExtraFrameSpace, getFigAt, getFigs, getFont, getFontFamily, getFontSize, getPrivateData, getSize, getSubFigBounds, getTextColor, getTextFillColor, getTextFilled, hitFig, isReshapable, isRotatable, iterator, parseDynObjects, removeAll, removeFig, setExtraFrameSpace, setFigs, setFigs, setFillColor, setFilled, setFont, setFontFamily, setFontSize, setLineColor, setLineWidth, setPrivateData, setTextColor, setTextFillColor, setTextFilled |
| Methods inherited from class org.tigris.gef.presentation.Fig |
|---|
addAnnotation, addPoint, addPropertyChangeListener, align, center, classNameAndBounds, connectionPoint, contains, contains, countCornersContained, createDrag, damage, drawDashedLine, drawDashedPerimeter, firePropChange, firePropChange, firePropChange, getAnnotationOwner, getAnnotationStrategy, getBounds, getBounds, getCenter, getClosestPoint, getContext, getDashed, getDashed01, getDashedString, getEnclosedFigs, getEnclosingFig, getFillColor, getFilled, getFilled01, getFirstPoint, getGravityPoints, getGroup, getHalfHeight, getHalfWidth, getHandleBox, getHeight, getId, getLastPoint, getLayer, getLineColor, getLineWidth, getLocation, getLocked, getMinimumSize, getNumPoints, getOwner, getPerimeterLength, getPoint, getPoints, getPopUpActions, getPreferredSize, getResource, getSingle, getTipString, getTrapRect, getUseTrapRect, getVisState, getWidth, getX, getXs, getY, getYs, hasFillColor, hasLineColor, initAnnotations, insertPoint, intersects, intersectsPerimeter, isAnnotation, isCopyable, isCutable, isLowerRightResizable, isMovable, isResizable, isSelectable, isSelected, isVisible, makeSelection, OK, pointAlongPerimeter, postSave, preSave, print, redraw, removeAnnotation, removeAnnotation, removePoint, removePropertyChangeListener, reorder, routingRect, savingAllowed, setAnnotationOwner, setAnnotationStatus, setAnnotationStrategy, setBounds, setCenter, setContext, setDashed, setDashedString, setGroup, setHandleBox, setHeight, setLayer, setLocation, setLocation, setLocked, setMovable, setNumPoints, setPoint, setPoint, setPoint, setPoint, setPoints, setResizable, setResource, setSavingAllowed, setSingle, setSize, setSize, setVisible, setWidth, setX, setXs, setY, setYs, stuffBounds, stuffPointAlongPerimeter, translateAnnotations, unsetAnnotationOwner, updateAnnotationPositions, updateVisState, within |
| Methods inherited from class java.lang.Object |
|---|
equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Methods inherited from interface org.tigris.gef.ui.Highlightable |
|---|
addPropertyChangeListener, removePropertyChangeListener |
| Field Detail |
|---|
protected java.lang.String name
protected java.util.Vector attributes
protected java.util.Vector methods
protected static final int PROTECTED
protected static final int PRIVATE
protected static final int PUBLIC
protected org.tigris.gef.presentation.FigText header
protected org.tigris.gef.presentation.FigText attribs
protected org.tigris.gef.presentation.FigText opers
public static int NORMAL
public static int FADED
public int defaultRendering
| Constructor Detail |
|---|
public UMLClass(java.lang.String name)
| Method Detail |
|---|
public void setDefaultRendering(int rendering)
public void highlight(org.tigris.gef.base.Layer layer)
public void setNormal()
public void fade()
public void setName(java.lang.String name)
public void setToolTip(java.lang.String text)
public void addAttribute(java.lang.String type,
java.lang.String name)
public void addAttribute(Attribute att)
public void addMethod(Method meth)
public void refresh()
public int getLabelOverlap(java.awt.Rectangle r)
public int getLabelOverlap(int x,
int y,
int width,
int height)
public float associationsIntersectRectangle(int x,
int y,
int width,
int height)
|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||