|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectorg.jhotdraw.standard.AbstractFigure
org.jhotdraw.figures.AttributeFigure
org.jhotdraw.figures.RoundRectangleFigure
public class RoundRectangleFigure
A round rectangle figure.
RadiusHandle
,
Serialized FormField Summary |
---|
Fields inherited from interface org.jhotdraw.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. |
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. |
HandleEnumeration |
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 org.jhotdraw.figures.AttributeFigure |
---|
draw, getAttribute, getAttribute, getDefaultAttribute, getDefaultAttribute, getFillColor, getFrameColor, initDefaultAttribute, setAttribute, setAttribute, setDefaultAttribute |
Methods inherited from class org.jhotdraw.standard.AbstractFigure |
---|
addDependendFigure, addFigureChangeListener, addToContainer, canConnect, center, changed, clone, connectedTextLocator, connectorVisibility, containsPoint, decompose, displayBox, displayBox, figures, findFigureInside, getDecoratedFigure, getDependendFigures, getTextHolder, getZValue, includes, invalidate, isEmpty, listener, moveBy, release, removeDependendFigure, removeFigureChangeListener, removeFromContainer, setZValue, size, visit, willChange |
Methods inherited from class java.lang.Object |
---|
equals, 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 Figure
basicDisplayBox
in class AbstractFigure
origin
- 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 HandleEnumeration handles()
AbstractFigure
handles
in interface Figure
handles
in class AbstractFigure
Handle
public java.awt.Rectangle displayBox()
AbstractFigure
displayBox
in interface Figure
displayBox
in class AbstractFigure
Figure.basicDisplayBox(java.awt.Point, java.awt.Point)
public void drawBackground(java.awt.Graphics g)
AttributeFigure
AttributeFigure.draw(java.awt.Graphics)
public void drawFrame(java.awt.Graphics g)
AttributeFigure
AttributeFigure.draw(java.awt.Graphics)
public java.awt.Insets connectionInsets()
AbstractFigure
connectionInsets
in interface Figure
connectionInsets
in class AbstractFigure
public Connector connectorAt(int x, int y)
AbstractFigure
connectorAt
in interface Figure
connectorAt
in class AbstractFigure
ChopBoxConnector
public void write(StorableOutput dw)
AttributeFigure
write
in interface Storable
write
in class AttributeFigure
public void read(StorableInput dr) throws java.io.IOException
AttributeFigure
read
in interface Storable
read
in class AttributeFigure
java.io.IOException
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |