|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
java.lang.ObjectCH.ifa.draw.standard.AbstractFigure
CH.ifa.draw.figures.AttributeFigure
CH.ifa.draw.figures.RoundRectangleFigure
public class RoundRectangleFigure
A round rectangle figure.
| Field Summary |
|---|
| Fields inherited from interface CH.ifa.draw.framework.Figure |
|---|
POPUP_MENU |
| Constructor Summary | |
|---|---|
RoundRectangleFigure()
|
|
RoundRectangleFigure(java.awt.Point origin,
java.awt.Point corner)
|
|
| Method Summary | |
|---|---|
void |
basicDisplayBox(java.awt.Point origin,
java.awt.Point corner)
Sets the display box of a figure. |
protected void |
basicMoveBy(int x,
int y)
Moves the figure. |
java.awt.Insets |
connectionInsets()
Returns the connection inset. |
Connector |
connectorAt(int x,
int y)
Returns the Figures connector for the specified location. |
java.awt.Rectangle |
displayBox()
Gets the display box of a figure. |
void |
drawBackground(java.awt.Graphics g)
Draws the background of the figure. |
void |
drawFrame(java.awt.Graphics g)
Draws the frame of the figure. |
java.awt.Point |
getArc()
Gets the arc's width and height. |
java.util.Vector |
handles()
Returns the handles of a Figure that can be used to manipulate some of its attributes. |
void |
read(StorableInput dr)
Reads the Figure from a StorableInput. |
void |
setArc(int width,
int height)
Sets the arc's witdh and height. |
void |
write(StorableOutput dw)
Stores the Figure to a StorableOutput. |
| Methods inherited from class CH.ifa.draw.figures.AttributeFigure |
|---|
draw, getAttribute, getDefaultAttribute, getFillColor, getFrameColor, setAttribute |
| Methods inherited from class CH.ifa.draw.standard.AbstractFigure |
|---|
addFigureChangeListener, addToContainer, canConnect, center, changed, clone, connectedTextLocator, connectorVisibility, containsPoint, decompose, displayBox, displayBox, figures, findFigureInside, includes, invalidate, isEmpty, listener, moveBy, release, removeFigureChangeListener, removeFromContainer, size, willChange |
| Methods inherited from class java.lang.Object |
|---|
equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public RoundRectangleFigure()
public RoundRectangleFigure(java.awt.Point origin,
java.awt.Point corner)
| Method Detail |
|---|
public void basicDisplayBox(java.awt.Point origin,
java.awt.Point corner)
AbstractFigure
basicDisplayBox in interface FigurebasicDisplayBox in class AbstractFigureorigin - the new origincorner - the new cornerAbstractFigure.displayBox(java.awt.Point, java.awt.Point)
public void setArc(int width,
int height)
public java.awt.Point getArc()
public java.util.Vector handles()
AbstractFigure
handles in interface Figurehandles in class AbstractFigureHandlepublic java.awt.Rectangle displayBox()
AbstractFigure
displayBox in interface FiguredisplayBox in class AbstractFigureFigure.basicDisplayBox(java.awt.Point, java.awt.Point)
protected void basicMoveBy(int x,
int y)
AbstractFigure
basicMoveBy in class AbstractFigureAbstractFigure.moveBy(int, int)public void drawBackground(java.awt.Graphics g)
AttributeFigure
drawBackground in class AttributeFigureAttributeFigure.draw(java.awt.Graphics)public void drawFrame(java.awt.Graphics g)
AttributeFigure
drawFrame in class AttributeFigureAttributeFigure.draw(java.awt.Graphics)public java.awt.Insets connectionInsets()
AbstractFigure
connectionInsets in interface FigureconnectionInsets in class AbstractFigure
public Connector connectorAt(int x,
int y)
AbstractFigure
connectorAt in interface FigureconnectorAt in class AbstractFigureChopBoxConnectorpublic void write(StorableOutput dw)
AttributeFigure
write in interface Storablewrite in class AttributeFigure
public void read(StorableInput dr)
throws java.io.IOException
AttributeFigure
read in interface Storableread in class AttributeFigurejava.io.IOException
|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||