|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.ObjectFigGroup
org.argouml.uml.diagram.ui.ArgoFigGroup
org.argouml.uml.diagram.ui.FigTextGroup
public class 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 |
---|
Fields inherited from interface org.argouml.uml.diagram.ui.ArgoFig |
---|
DEBUG, DEBUG_COLOR, FILL_COLOR, INVISIBLE_LINE_COLOR, LINE_COLOR, LINE_WIDTH, ROWHEIGHT, SOLID_FILL_COLOR, STEREOHEIGHT, TEXT_COLOR, X0, Y0 |
Constructor Summary | |
---|---|
FigTextGroup(java.lang.Object owner,
DiagramSettings settings)
Construct a FigGroup with the given render settings. |
Method Summary | |
---|---|
void |
addFig(Fig f)
Adds a FigText to the list with figs. |
void |
calcBounds()
|
boolean |
contains(int x,
int y)
Returns true if the bounds of the group contain the given point. |
void |
deleteFromModel()
|
boolean |
hit(java.awt.Rectangle r)
Checks to see if the given click point (Rectangle) hits the FigTextGroup. |
void |
mouseClicked(java.awt.event.MouseEvent me)
Handle mouse click. |
void |
mouseEntered(java.awt.event.MouseEvent me)
|
void |
mouseExited(java.awt.event.MouseEvent me)
|
void |
mousePressed(java.awt.event.MouseEvent me)
|
void |
mouseReleased(java.awt.event.MouseEvent me)
|
void |
removeFromDiagram()
|
Methods inherited from class org.argouml.uml.diagram.ui.ArgoFigGroup |
---|
getProject, getSettings, renderingChanged, setOwner, setProject, setSettings |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public FigTextGroup(java.lang.Object owner, DiagramSettings settings)
owner
- owning UML elementsettings
- rendering settings.Method Detail |
---|
public void addFig(Fig f)
public void calcBounds()
public void removeFromDiagram()
public void deleteFromModel()
public void mousePressed(java.awt.event.MouseEvent me)
mousePressed
in interface java.awt.event.MouseListener
public void mouseReleased(java.awt.event.MouseEvent me)
mouseReleased
in interface java.awt.event.MouseListener
public void mouseEntered(java.awt.event.MouseEvent me)
mouseEntered
in interface java.awt.event.MouseListener
public void mouseExited(java.awt.event.MouseEvent me)
mouseExited
in interface java.awt.event.MouseListener
public void mouseClicked(java.awt.event.MouseEvent me)
mouseClicked
in interface java.awt.event.MouseListener
public boolean hit(java.awt.Rectangle r)
r
- The hit rectangle.
org.tigris.gef.presentation.FigGroup#hit(java.awt.Rectangle)
public boolean contains(int x, int y)
x
- The x coordinate of the point to test.y
- The y coordinate of the point to test.
org.tigris.gef.presentation.FigGroup#contains(int, int)
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
ArgoUML © 1996-2006 | ArgoUML Homepage | ArgoUML Developers' page | ArgoUML Cookbook |