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.
-
EllipseFigure()
-
-
EllipseFigure(Point, Point)
-
-
basicDisplayBox(Point, Point)
- Sets the display box of a figure.
-
basicMoveBy(int, int)
- Moves the figure.
-
connectionInsets()
- Returns the connection inset.
-
connectorAt(int, int)
- Returns the Figures connector for the specified location.
-
displayBox()
- Gets the display box of a figure.
-
drawBackground(Graphics)
- Draws the background of the figure.
-
drawFrame(Graphics)
- Draws the frame of the figure.
-
handles()
- Returns the handles of a Figure that can be used
to manipulate some of its attributes.
-
read(StorableInput)
- Reads the Figure from a StorableInput.
-
write(StorableOutput)
- Stores the Figure to a StorableOutput.
EllipseFigure
public EllipseFigure()
EllipseFigure
public EllipseFigure(Point origin,
Point corner)
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
basicDisplayBox
public void basicDisplayBox(Point origin,
Point corner)
- Sets the display box of a figure.
- Overrides:
- basicDisplayBox in class AbstractFigure
displayBox
public Rectangle displayBox()
- Gets the display box of a figure.
- Overrides:
- displayBox in class AbstractFigure
basicMoveBy
protected void basicMoveBy(int x,
int y)
- Moves the figure.
- Overrides:
- basicMoveBy in class AbstractFigure
drawBackground
public void drawBackground(Graphics g)
- Draws the background of the figure.
- Overrides:
- drawBackground in class AttributeFigure
drawFrame
public void drawFrame(Graphics g)
- Draws the frame of the figure.
- Overrides:
- drawFrame in class AttributeFigure
connectionInsets
public Insets connectionInsets()
- Returns the connection inset.
- Overrides:
- connectionInsets in class AbstractFigure
connectorAt
public Connector connectorAt(int x,
int y)
- Returns the Figures connector for the specified location.
- Overrides:
- connectorAt in class AbstractFigure
write
public void write(StorableOutput dw)
- Stores the Figure to a StorableOutput.
- Overrides:
- write in class AttributeFigure
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