All Packages Class Hierarchy This Package Previous Next Index
Class CH.ifa.draw.figures.RoundRectangleFigure
java.lang.Object
|
+----CH.ifa.draw.standard.AbstractFigure
|
+----CH.ifa.draw.figures.AttributeFigure
|
+----CH.ifa.draw.figures.RoundRectangleFigure
- public class RoundRectangleFigure
- extends AttributeFigure
A round rectangle figure.
- See Also:
- RadiusHandle
-
RoundRectangleFigure()
-
-
RoundRectangleFigure(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.
-
getArc()
- Gets the arc's width and height.
-
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.
-
setArc(int, int)
- Sets the arc's witdh and height.
-
write(StorableOutput)
- Stores the Figure to a StorableOutput.
RoundRectangleFigure
public RoundRectangleFigure()
RoundRectangleFigure
public RoundRectangleFigure(Point origin,
Point corner)
basicDisplayBox
public void basicDisplayBox(Point origin,
Point corner)
- Sets the display box of a figure.
- Overrides:
- basicDisplayBox in class AbstractFigure
setArc
public void setArc(int width,
int height)
- Sets the arc's witdh and height.
getArc
public Point getArc()
- Gets the arc's width and height.
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
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