|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.ObjectCH.ifa.draw.standard.AbstractFigure
CH.ifa.draw.figures.AttributeFigure
org.objectweb.jac.ide.diagrams.TextFigure
org.objectweb.jac.ide.diagrams.AttachedTextFigure
Text attached to relations (relation name, cardinalities and role names)
Field Summary | |
static int |
END_CARDINALITY
|
static int |
END_ROLE
|
static int |
NAME
|
static int |
START_CARDINALITY
|
static int |
START_ROLE
|
Fields inherited from class org.objectweb.jac.ide.diagrams.TextFigure |
fOriginX, fOriginY |
Fields inherited from interface CH.ifa.draw.framework.Figure |
POPUP_MENU |
Constructor Summary | |
AttachedTextFigure()
|
|
AttachedTextFigure(LinkFigure linkFig,
int type)
|
Method Summary | |
protected void |
basicMoveBy(int dx,
int dy)
|
void |
close()
Unregister from update events |
void |
connect(CH.ifa.draw.framework.Figure f)
|
static AttachedTextFigure |
createEndCardinality(LinkFigure lf)
|
static AttachedTextFigure |
createEndRole(LinkFigure lf)
|
static AttachedTextFigure |
createName(LinkFigure lf)
|
static AttachedTextFigure |
createStartCardinality(LinkFigure lf)
|
static AttachedTextFigure |
createStartRole(LinkFigure lf)
|
LinkFigure |
getConnectedLink()
Get the value of connectedLink. |
ModelElement |
getSubstance()
Returns the model element associated with this figure. |
int |
getType()
Get the value of type. |
void |
refresh()
|
void |
setConnectedLink(LinkFigure v)
Set the value of connectedLink. |
void |
setText(String s)
Sets the text shown by the text figure. |
void |
setType(int v)
Set the value of type. |
Methods inherited from class org.objectweb.jac.ide.diagrams.TextFigure |
acceptsTyping, basicDisplayBox, changed, createCurrentFont, disconnect, displayBox, drawBackground, drawFrame, figureChanged, figureInvalidated, figureRemoved, figureRequestRemove, figureRequestUpdate, getAttribute, getFont, getText, getTextColor, handles, moveBy, overlayColumns, readOnly, release, setAttribute, setCurrentFontName, setCurrentFontSize, setCurrentFontStyle, setFont, setReadOnly, textDisplayBox, updateLocation |
Methods inherited from class CH.ifa.draw.figures.AttributeFigure |
draw, getDefaultAttribute, getFillColor, getFrameColor |
Methods inherited from class CH.ifa.draw.standard.AbstractFigure |
addFigureChangeListener, addToContainer, canConnect, center, clone, connectedTextLocator, connectionInsets, connectorAt, connectorVisibility, containsPoint, decompose, displayBox, displayBox, figures, findFigureInside, getZValue, includes, invalidate, isEmpty, listener, removeFigureChangeListener, removeFromContainer, setZValue, size, willChange |
Methods inherited from class java.lang.Object |
equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Methods inherited from interface CH.ifa.draw.framework.Figure |
addFigureChangeListener, addToContainer, basicDisplayBox, canConnect, center, changed, clone, connectedTextLocator, connectionInsets, connectorAt, connectorVisibility, containsPoint, decompose, displayBox, displayBox, displayBox, draw, figures, findFigureInside, getAttribute, getZValue, handles, includes, invalidate, isEmpty, listener, moveBy, release, removeFigureChangeListener, removeFromContainer, setAttribute, setZValue, size, willChange |
Field Detail |
public static final int NAME
public static final int START_CARDINALITY
public static final int END_CARDINALITY
public static final int START_ROLE
public static final int END_ROLE
Constructor Detail |
public AttachedTextFigure()
public AttachedTextFigure(LinkFigure linkFig, int type)
Method Detail |
public void close()
ModelElementFigure
close
in interface ModelElementFigure
public static AttachedTextFigure createName(LinkFigure lf)
public static AttachedTextFigure createStartCardinality(LinkFigure lf)
public static AttachedTextFigure createEndCardinality(LinkFigure lf)
public static AttachedTextFigure createStartRole(LinkFigure lf)
public static AttachedTextFigure createEndRole(LinkFigure lf)
public ModelElement getSubstance()
ModelElementFigure
getSubstance
in interface ModelElementFigure
public void setText(String s)
TextFigure
setText
in interface CH.ifa.draw.standard.TextHolder
setText
in class TextFigure
public void refresh()
protected void basicMoveBy(int dx, int dy)
basicMoveBy
in class TextFigure
public int getType()
public void setType(int v)
v
- Value to assign to type.public LinkFigure getConnectedLink()
public void setConnectedLink(LinkFigure v)
v
- Value to assign to connectedLink.public void connect(CH.ifa.draw.framework.Figure f)
connect
in interface CH.ifa.draw.standard.TextHolder
connect
in class TextFigure
|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |