|
|||||||||||
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.argouml.uml.diagram.ui.FigTextGroup
Custom class to group FigTexts in such a way that they don't overlap and that the group is shrinked to fit (no whitespace in group).
Field Summary | |
private static int |
ROWHEIGHT
|
private boolean |
supressCalcBounds
|
Fields inherited from class org.tigris.gef.presentation.FigGroup |
_dynObjects, _extraFrameSpace |
Fields inherited from class org.tigris.gef.presentation.Fig |
_allowsSaving, _context, _dashes, _dashPeriod, _dashStyle, _displayed, _fillColor, _filled, _group, _h, _layer, _lineColor, _lineWidth, _locked, _resource, _selected, _shown, _w, _x, _y, an, annotationOwner, annotationStatus, BORDER, MIN_SIZE |
Constructor Summary | |
FigTextGroup()
|
Method Summary | |
void |
addFig(org.tigris.gef.presentation.Fig f)
Adds a FigText to the list with figs. |
void |
calcBounds()
|
void |
deleteFromModel()
|
void |
mouseClicked(MouseEvent me)
If the user double clicks on anu part of this FigGroup, pass it down to one of the internal Figs. |
void |
mouseEntered(MouseEvent me)
|
void |
mouseExited(MouseEvent me)
|
void |
mousePressed(MouseEvent me)
|
void |
mouseReleased(MouseEvent me)
|
void |
removeFromDiagram()
|
protected void |
updateFigTexts()
Updates the FigTexts. |
Methods inherited from class org.tigris.gef.presentation.FigGroup |
addFigs, clone, contains, deepSelect, elements, getDisplayedFigs, getExtraFrameSpace, getFigAt, getFigs, getFigs, getFont, getFontFamily, getFontSize, getPrivateData, getSize, getSubFigBounds, getTextColor, getTextFillColor, getTextFilled, hit, hitFig, isReshapable, isRotatable, iterator, paint, parseDynObjects, removeAll, removeFig, setBounds, setExtraFrameSpace, setFigs, setFigs, setFillColor, setFilled, setFont, setFontFamily, setFontSize, setLineColor, setLineWidth, setPrivateData, setTextColor, setTextFillColor, setTextFilled, translate |
Methods inherited from class org.tigris.gef.presentation.Fig |
addAnnotation, addPoint, addPropertyChangeListener, align, center, classNameAndBounds, cleanUp, connectionPoint, contains, contains, countCornersContained, createDrag, damage, delete, dispose, drawDashedLine, drawDashedPerimeter, endTrans, firePropChange, firePropChange, firePropChange, getAnnotationOwner, getAnnotationStrategy, getBounds, getBounds, 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, isCopieable, isCopyable, isCutable, isDisplayed, isLowerRightResizable, isMovable, isResizable, isSelected, isVisible, makeSelection, OK, pointAlongPerimeter, postLoad, postSave, preSave, print, propertyChange, redraw, removeAnnotation, removeAnnotation, removePoint, removePropertyChangeListener, reorder, routingRect, savingAllowed, setAnnotationOwner, setAnnotationStatus, setAnnotationStrategy, setBounds, setCenter, setContext, setDashed, setDashedString, setDisplayed, setEnclosingFig, setGroup, setHandleBox, setHeight, setLayer, setLocation, setLocation, setLocked, setMovable, setNumPoints, setOwner, setPoint, setPoint, setPoint, setPoint, setPoints, setPoints, setPoints, setPoints, setPoints, setResizable, setResource, setSavingAllowed, setSelected, setSingle, setSize, setSize, setVisible, setVisState, 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 |
Field Detail |
private static final int ROWHEIGHT
private boolean supressCalcBounds
Constructor Detail |
public FigTextGroup()
Method Detail |
public void addFig(org.tigris.gef.presentation.Fig f)
FigGroup.addFig(Fig)
protected void updateFigTexts()
public void calcBounds()
Fig.calcBounds()
public void removeFromDiagram()
Fig.removeFromDiagram()
public void deleteFromModel()
Fig.deleteFromModel()
public void mousePressed(MouseEvent me)
mousePressed
in interface MouseListener
MouseListener.mousePressed(java.awt.event.MouseEvent)
public void mouseReleased(MouseEvent me)
mouseReleased
in interface MouseListener
MouseListener.mouseReleased(java.awt.event.MouseEvent)
public void mouseEntered(MouseEvent me)
mouseEntered
in interface MouseListener
MouseListener.mouseEntered(java.awt.event.MouseEvent)
public void mouseExited(MouseEvent me)
mouseExited
in interface MouseListener
MouseListener.mouseExited(java.awt.event.MouseEvent)
public void mouseClicked(MouseEvent me)
mouseClicked
in interface MouseListener
MouseListener.mouseClicked(java.awt.event.MouseEvent)
|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
ArgoUML © 1996-2004 (20050222) | ArgoUML Homepage | ArgoUML Developers' page | ArgoUML Cookbook |