|
|||||||||||
| 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.FigText
org.argouml.uml.diagram.ui.FigSingleLineText
org.argouml.uml.diagram.ui.CompartmentFigText
A FigText class extension for FigClass/FigInterface/FigUseCase compartments.
This implementation now supports the extension point compartment in a use case.
| Field Summary |
| Fields inherited from class org.tigris.gef.presentation.FigText |
END_EDITING, IGNORE, INSERT, JUSTIFY_CENTER, JUSTIFY_LEFT, JUSTIFY_RIGHT, MIN_TEXT_WIDTH |
| 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, plotter |
| Constructor Summary | |
CompartmentFigText(int x,
int y,
int w,
int h,
Fig aFig,
NotationProvider4 np)
Build a new compartment figText of the given dimensions, within the compartment described by aFig. |
|
| Method Summary | |
boolean |
getFilled()
Override for correct graphical behaviour. |
Color |
getLineColor()
Override for correct graphical behaviour. |
NotationProvider4 |
getNotationProvider()
|
boolean |
isHighlighted()
Return whether this item is highlighted. |
void |
setHighlighted(boolean flag)
Mark whether this item is to be highlighted. |
| Methods inherited from class org.argouml.uml.diagram.ui.FigSingleLineText |
getMinimumSize, isStartEditingKey |
| Methods inherited from class java.lang.Object |
equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
public CompartmentFigText(int x,
int y,
int w,
int h,
Fig aFig,
NotationProvider4 np)
aFig.Invoke the parent constructor, then set the reference to the associated compartment figure. The associated FigText is marked as expand only.
Warning. Won't work properly if aFig is
null. A warning is printed.
x - X coordinate of the top left of the FigText.y - Y coordinate of the top left of the FigText.w - Width of the FigText.h - Height of the FigText.aFig - The figure describing the whole compartmentnp - The notationProvider.
See NotationProviderFactory2.| Method Detail |
public boolean getFilled()
true.public Color getLineColor()
public void setHighlighted(boolean flag)
If it is highlighted, make the superclass line width 1 rather than 0 and set the associated component fig as the target in the browser.
flag - true if the entry is to be highlighted,
false otherwise.public boolean isHighlighted()
true if the entry is highlighted,
false otherwise.public NotationProvider4 getNotationProvider()
|
|||||||||||
| 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 |