|
|||||||||||
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.ClassNameFigure
Field Summary |
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 | |
ClassNameFigure(Class substance,
ClassFigure parentFigure)
|
Method Summary | |
void |
fieldUpdated(Object substance,
FieldItem field,
Object value,
Object param)
Upcalled when a field was modified. |
String |
getName()
|
Class |
getSubstance()
Get the value of substance. |
Color |
getTextColor()
|
void |
setSubstance(Class v)
Set the value of substance. |
void |
setText(String s)
Sets the text shown by the text figure. |
Methods inherited from class org.objectweb.jac.ide.diagrams.TextFigure |
acceptsTyping, basicDisplayBox, basicMoveBy, changed, connect, createCurrentFont, disconnect, displayBox, drawBackground, drawFrame, figureChanged, figureInvalidated, figureRemoved, figureRequestRemove, figureRequestUpdate, getAttribute, getFont, getText, 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 |
Constructor Detail |
public ClassNameFigure(Class substance, ClassFigure parentFigure)
Method Detail |
public Color getTextColor()
getTextColor
in class TextFigure
public Class getSubstance()
public void setSubstance(Class v)
v
- Value to assign to substance.public String getName()
public void setText(String s)
TextFigure
setText
in interface CH.ifa.draw.standard.TextHolder
setText
in class TextFigure
public void fieldUpdated(Object substance, FieldItem field, Object value, Object param)
FieldUpdate
fieldUpdated
in interface FieldUpdate
substance
- the object of which a field was updatedfield
- the updated fieldvalue
- new value of the vieldparam
- extra infos (unused)ViewControlWrapper.registerField(Wrappee,FieldItem,FieldUpdate,Object)
|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |