All Packages  Class Hierarchy  This Package  Previous  Next  Index

Class CH.ifa.draw.figures.GroupFigure

java.lang.Object
   |
   +----CH.ifa.draw.standard.AbstractFigure
           |
           +----CH.ifa.draw.standard.CompositeFigure
                   |
                   +----CH.ifa.draw.figures.GroupFigure

public class GroupFigure
extends CompositeFigure
A Figure that groups a collection of figures.


Constructor Index

 o GroupFigure()

Method Index

 o basicDisplayBox(Point, Point)
Sets the display box of a figure.
 o canConnect()
GroupFigures cannot be connected
 o decompose()
Decomposes a figure into its parts.
 o displayBox()
Gets the display box.
 o handles()
Gets the handles for the GroupFigure.
 o setAttribute(String, Object)
Sets the attribute of all the contained figures.

Constructors

 o GroupFigure
 public GroupFigure()

Methods

 o canConnect
 public boolean canConnect()
GroupFigures cannot be connected

Overrides:
canConnect in class AbstractFigure
 o displayBox
 public Rectangle displayBox()
Gets the display box. The display box is defined as the union of the contained figures.

Overrides:
displayBox in class AbstractFigure
 o basicDisplayBox
 public void basicDisplayBox(Point origin,
                             Point corner)
Sets the display box of a figure.

Overrides:
basicDisplayBox in class AbstractFigure
 o decompose
 public FigureEnumeration decompose()
Decomposes a figure into its parts.

Overrides:
decompose in class AbstractFigure
 o handles
 public Vector handles()
Gets the handles for the GroupFigure.

Overrides:
handles in class AbstractFigure
 o setAttribute
 public void setAttribute(String name,
                          Object value)
Sets the attribute of all the contained figures.

Overrides:
setAttribute in class AbstractFigure

All Packages  Class Hierarchy  This Package  Previous  Next  Index