|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectorg.jhotdraw.standard.AbstractFigure
org.jhotdraw.standard.CompositeFigure
org.jhotdraw.figures.GroupFigure
public class GroupFigure
A Figure that groups a collection of figures.
Field Summary |
---|
Fields inherited from interface org.jhotdraw.framework.Figure |
---|
POPUP_MENU |
Constructor Summary | |
---|---|
GroupFigure()
|
Method Summary | |
---|---|
void |
basicDisplayBox(java.awt.Point origin,
java.awt.Point corner)
Sets the display box of a figure. |
boolean |
canConnect()
GroupFigures cannot be connected |
FigureEnumeration |
decompose()
Decomposes a figure into its parts. |
java.awt.Rectangle |
displayBox()
Gets the display box. |
HandleEnumeration |
handles()
Gets the handles for the GroupFigure. |
void |
setAttribute(FigureAttributeConstant fac,
java.lang.Object object)
Sets the attribute of the GroupFigure as well as all contained Figures. |
void |
setAttribute(java.lang.String name,
java.lang.Object value)
Deprecated. see setAttribute(FigureAttributeConstant,Object) |
Methods inherited from class org.jhotdraw.standard.CompositeFigure |
---|
add, addAll, addAll, bringToFront, containsFigure, draw, draw, figureAt, figureChanged, figureCount, figureInvalidated, figureRemoved, figureRequestRemove, figureRequestUpdate, figures, figures, figuresReverse, findFigure, findFigure, findFigure, findFigureInside, findFigureInsideWithout, findFigureWithout, getFigureFromLayer, getLayer, includes, init, orphan, orphanAll, orphanAll, read, release, remove, removeAll, removeAll, removeAll, replace, sendToBack, sendToLayer, write |
Methods inherited from class org.jhotdraw.standard.AbstractFigure |
---|
addDependendFigure, addFigureChangeListener, addToContainer, center, changed, clone, connectedTextLocator, connectionInsets, connectorAt, connectorVisibility, containsPoint, displayBox, displayBox, getAttribute, getAttribute, getDecoratedFigure, getDependendFigures, getTextHolder, getZValue, invalidate, isEmpty, listener, moveBy, removeDependendFigure, removeFigureChangeListener, removeFromContainer, setZValue, size, visit, willChange |
Methods inherited from class java.lang.Object |
---|
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public GroupFigure()
Method Detail |
---|
public boolean canConnect()
canConnect
in interface Figure
canConnect
in class AbstractFigure
public java.awt.Rectangle displayBox()
displayBox
in interface Figure
displayBox
in class AbstractFigure
Figure.basicDisplayBox(java.awt.Point, java.awt.Point)
public void basicDisplayBox(java.awt.Point origin, java.awt.Point corner)
AbstractFigure
basicDisplayBox
in interface Figure
basicDisplayBox
in class AbstractFigure
origin
- the new origincorner
- the new cornerAbstractFigure.displayBox(java.awt.Point, java.awt.Point)
public FigureEnumeration decompose()
AbstractFigure
decompose
in interface Figure
decompose
in class AbstractFigure
public HandleEnumeration handles()
handles
in interface Figure
handles
in class AbstractFigure
Handle
public void setAttribute(java.lang.String name, java.lang.Object value)
setAttribute
in interface Figure
setAttribute
in class AbstractFigure
public void setAttribute(FigureAttributeConstant fac, java.lang.Object object)
setAttribute
in interface Figure
setAttribute
in class AbstractFigure
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |