|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object | +--CH.ifa.draw.standard.AbstractFigure | +--CH.ifa.draw.standard.CompositeFigure | +--org.objectweb.jac.ide.diagrams.InstanceFigure
Field Summary |
Fields inherited from class CH.ifa.draw.standard.CompositeFigure |
_nHighestZ, _nLowestZ, fFigures |
Fields inherited from interface CH.ifa.draw.framework.Figure |
POPUP_MENU |
Constructor Summary | |
InstanceFigure()
|
Method Summary | |
void |
basicDisplayBox(Point origin,
Point corner)
|
protected void |
basicMoveBy(int x,
int y)
|
void |
close()
Unregister from update events |
Rectangle |
displayBox()
|
void |
draw(Graphics g)
|
protected void |
drawBorder(Graphics g)
|
void |
figureChanged(CH.ifa.draw.framework.FigureChangeEvent e)
|
void |
figureRemoved(CH.ifa.draw.framework.FigureChangeEvent e)
|
Package |
getContainerPackage()
Get the value of containerPackage. |
String |
getName()
|
ModelElement |
getSubstance()
Get the value of substance. |
String |
getType()
|
Vector |
handles()
|
void |
layout()
|
void |
setContainerPackage(Package v)
Set the value of containerPackage. |
void |
setSubstance(Instance v)
Set the value of substance. |
void |
update(CH.ifa.draw.framework.FigureChangeEvent e)
|
Methods inherited from class CH.ifa.draw.standard.CompositeFigure |
add, addAll, addAll, bringToFront, draw, figureAt, figureCount, figureInvalidated, figureRequestRemove, figureRequestUpdate, figures, figures, figuresReverse, findFigure, findFigure, findFigure, findFigureInside, findFigureInsideWithout, findFigureWithout, getFigureFromLayer, getLayer, includes, init, orphan, orphanAll, orphanAll, release, remove, removeAll, removeAll, removeAll, replace, sendToBack, sendToLayer |
Methods inherited from class CH.ifa.draw.standard.AbstractFigure |
addFigureChangeListener, addToContainer, canConnect, center, changed, clone, connectedTextLocator, connectionInsets, connectorAt, connectorVisibility, containsPoint, decompose, displayBox, displayBox, getAttribute, getZValue, invalidate, isEmpty, listener, moveBy, removeFigureChangeListener, removeFromContainer, setAttribute, 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, canConnect, center, changed, clone, connectedTextLocator, connectionInsets, connectorAt, connectorVisibility, containsPoint, decompose, displayBox, displayBox, figures, findFigureInside, getAttribute, getZValue, includes, invalidate, isEmpty, listener, moveBy, release, removeFigureChangeListener, removeFromContainer, setAttribute, setZValue, size, willChange |
Constructor Detail |
public InstanceFigure()
Method Detail |
public void close()
ModelElementFigure
close
in interface ModelElementFigure
public ModelElement getSubstance()
getSubstance
in interface ModelElementFigure
public void setSubstance(Instance v)
v
- Value to assign to substance.public String getType()
public Package getContainerPackage()
public void setContainerPackage(Package v)
v
- Value to assign to containerPackage.protected void basicMoveBy(int x, int y)
basicMoveBy
in class CH.ifa.draw.standard.CompositeFigure
public Rectangle displayBox()
displayBox
in interface CH.ifa.draw.framework.Figure
displayBox
in class CH.ifa.draw.standard.AbstractFigure
public void basicDisplayBox(Point origin, Point corner)
basicDisplayBox
in interface CH.ifa.draw.framework.Figure
basicDisplayBox
in class CH.ifa.draw.standard.AbstractFigure
protected void drawBorder(Graphics g)
public void draw(Graphics g)
draw
in interface CH.ifa.draw.framework.Figure
draw
in class CH.ifa.draw.standard.CompositeFigure
public Vector handles()
handles
in interface CH.ifa.draw.framework.Figure
handles
in class CH.ifa.draw.standard.AbstractFigure
public String getName()
public void layout()
public void update(CH.ifa.draw.framework.FigureChangeEvent e)
public void figureChanged(CH.ifa.draw.framework.FigureChangeEvent e)
figureChanged
in interface CH.ifa.draw.framework.FigureChangeListener
figureChanged
in class CH.ifa.draw.standard.CompositeFigure
public void figureRemoved(CH.ifa.draw.framework.FigureChangeEvent e)
figureRemoved
in interface CH.ifa.draw.framework.FigureChangeListener
figureRemoved
in class CH.ifa.draw.standard.CompositeFigure
|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |