|
|||||||||||
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.standard.CompositeFigure
org.objectweb.jac.ide.diagrams.GenericObjectFigure
Field Summary | |
static int |
SHAPE_RECT
|
static int |
SHAPE_ROUNDRECT
|
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 | |
GenericObjectFigure()
|
|
GenericObjectFigure(GenericFigure fig,
Package pack,
CH.ifa.draw.framework.DrawingView view)
|
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)
|
CollectionItem |
getCollection()
Get the value of collection. |
Package |
getContainerPackage()
Get the value of containerPackage. |
Font |
getDefaultFont()
Get the value of defaultFont. |
GenericFigure |
getGenericFigure()
Get the value of genericFigure. |
int |
getShape()
Get the value of shape. |
ModelElement |
getSubstance()
Get the value of substance. |
Vector |
handles()
|
void |
layout()
|
void |
setCollection(CollectionItem v)
Set the value of collection. |
void |
setContainerPackage(Package v)
Set the value of containerPackage. |
void |
setDefaultFont(Font v)
Set the value of defaultFont. |
void |
setGenericFigure(GenericFigure v)
Set the value of genericFigure. |
void |
setShape(int v)
Set the value of shape. |
void |
setSubstance(Object 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 |
Field Detail |
public static int SHAPE_RECT
public static int SHAPE_ROUNDRECT
Constructor Detail |
public GenericObjectFigure()
public GenericObjectFigure(GenericFigure fig, Package pack, CH.ifa.draw.framework.DrawingView view)
Method Detail |
public void close()
ModelElementFigure
close
in interface ModelElementFigure
public int getShape()
public void setShape(int v)
v
- Value to assign to shape.public GenericFigure getGenericFigure()
public void setGenericFigure(GenericFigure v)
v
- Value to assign to genericFigure.protected void basicMoveBy(int x, int y)
public Rectangle displayBox()
displayBox
in interface CH.ifa.draw.framework.Figure
public void basicDisplayBox(Point origin, Point corner)
basicDisplayBox
in interface CH.ifa.draw.framework.Figure
protected void drawBorder(Graphics g)
public void draw(Graphics g)
draw
in interface CH.ifa.draw.framework.Figure
public Vector handles()
handles
in interface CH.ifa.draw.framework.Figure
public Font getDefaultFont()
public void setDefaultFont(Font v)
v
- Value to assign to defaultFont.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
public void figureRemoved(CH.ifa.draw.framework.FigureChangeEvent e)
figureRemoved
in interface CH.ifa.draw.framework.FigureChangeListener
public ModelElement getSubstance()
getSubstance
in interface ModelElementFigure
public void setSubstance(Object v)
v
- Value to assign to substance.public CollectionItem getCollection()
public void setCollection(CollectionItem v)
v
- Value to assign to collection.public Package getContainerPackage()
public void setContainerPackage(Package v)
v
- Value to assign to containerPackage.
|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |