All Packages  Class Hierarchy  This Package  Previous  Next  Index

Class CH.ifa.draw.figures.EllipseFigure

java.lang.Object
   |
   +----CH.ifa.draw.standard.AbstractFigure
           |
           +----CH.ifa.draw.figures.AttributeFigure
                   |
                   +----CH.ifa.draw.figures.EllipseFigure

public class EllipseFigure
extends AttributeFigure
An ellipse figure.


Constructor Index

 o EllipseFigure()
 o EllipseFigure(Point, Point)

Method Index

 o basicDisplayBox(Point, Point)
Sets the display box of a figure.
 o basicMoveBy(int, int)
Moves the figure.
 o connectionInsets()
Returns the connection inset.
 o connectorAt(int, int)
Returns the Figures connector for the specified location.
 o displayBox()
Gets the display box of a figure.
 o drawBackground(Graphics)
Draws the background of the figure.
 o drawFrame(Graphics)
Draws the frame of the figure.
 o handles()
Returns the handles of a Figure that can be used to manipulate some of its attributes.
 o read(StorableInput)
Reads the Figure from a StorableInput.
 o write(StorableOutput)
Stores the Figure to a StorableOutput.

Constructors

 o EllipseFigure
 public EllipseFigure()
 o EllipseFigure
 public EllipseFigure(Point origin,
                      Point corner)

Methods

 o handles
 public Vector handles()
Returns the handles of a Figure that can be used to manipulate some of its attributes.

Overrides:
handles 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 displayBox
 public Rectangle displayBox()
Gets the display box of a figure.

Overrides:
displayBox in class AbstractFigure
 o basicMoveBy
 protected void basicMoveBy(int x,
                            int y)
Moves the figure.

Overrides:
basicMoveBy in class AbstractFigure
 o drawBackground
 public void drawBackground(Graphics g)
Draws the background of the figure.

Overrides:
drawBackground in class AttributeFigure
 o drawFrame
 public void drawFrame(Graphics g)
Draws the frame of the figure.

Overrides:
drawFrame in class AttributeFigure
 o connectionInsets
 public Insets connectionInsets()
Returns the connection inset.

Overrides:
connectionInsets in class AbstractFigure
 o connectorAt
 public Connector connectorAt(int x,
                              int y)
Returns the Figures connector for the specified location.

Overrides:
connectorAt in class AbstractFigure
 o write
 public void write(StorableOutput dw)
Stores the Figure to a StorableOutput.

Overrides:
write in class AttributeFigure
 o read
 public void read(StorableInput dr) throws IOException
Reads the Figure from a StorableInput.

Overrides:
read in class AttributeFigure

All Packages  Class Hierarchy  This Package  Previous  Next  Index