|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.ObjectCH.ifa.draw.standard.AbstractFigure
org.openbp.cockpit.modeler.figures.generic.BasicFigure
org.openbp.cockpit.modeler.figures.generic.XFigure
org.openbp.cockpit.modeler.figures.generic.XRectangleFigure
org.openbp.cockpit.modeler.figures.generic.XRoundRectangleFigure
public class XRoundRectangleFigure
Extended round rectangle figure.
| Field Summary |
|---|
| Fields inherited from class org.openbp.cockpit.modeler.figures.generic.XRectangleFigure |
|---|
barHeight, box, frameCount, frameDistance, nBars |
| Fields inherited from class org.openbp.cockpit.modeler.figures.generic.XFigure |
|---|
DECO_FILLCOLOR2, DECO_FRAMECOLOR, DECO_FRAMESTROKE, descriptor, needUpdatePaint, paint |
| Fields inherited from class org.openbp.cockpit.modeler.figures.generic.BasicFigure |
|---|
DECO_FILLCOLOR, DECO_OVERLAY |
| Fields inherited from interface CH.ifa.draw.framework.Figure |
|---|
POPUP_MENU |
| Constructor Summary | |
|---|---|
XRoundRectangleFigure()
Default constructor. |
|
| Method Summary | |
|---|---|
java.awt.Insets |
connectionInsets()
|
CH.ifa.draw.framework.Connector |
connectorAt(int x,
int y)
|
java.awt.geom.RectangularShape |
createRectangularShape()
Creates a rectangular shape object that defines the outline of the figure. |
java.awt.Shape |
createShape()
Creates a shape object that defines the outline of the figure. |
protected void |
drawFigure(java.awt.Graphics g)
Draws the figure. |
protected void |
drawFrame(java.awt.Graphics g)
Draws the frame of the figure. |
int |
getArcHeight()
Gets the arc height of the rectanlge corner. |
int |
getArcWidth()
Gets the arc width of the rectanlge corner. |
void |
initialize()
Initializes the figure after all information from the figure descriptor has been set. |
int |
realArcHeight()
|
int |
realArcWidth()
|
void |
setArcHeight(int arcHeight)
Sets the arc height of the rectanlge corner. |
void |
setArcWidth(int arcWidth)
Sets the arc width of the rectanlge corner. |
| Methods inherited from class org.openbp.cockpit.modeler.figures.generic.XRectangleFigure |
|---|
basicDisplayBox, basicMoveBy, displayBox, drawAppliances, handles, placeAdjacent |
| Methods inherited from class org.openbp.cockpit.modeler.figures.generic.XFigure |
|---|
changed, clone, draw, drawImage, getDefaultFillColor, getDefaultFillColor2, getDefaultFrameColor, getDescriptor, getFillColor2, getFrameColor, getFrameStroke, getImageIcon, getOrientation, requestPaintUpdate, setDescriptor, setFillColor, setFillColor2, setFrameColor, setFrameStroke, setImageIcon, setOrientation, updatePaint |
| Methods inherited from class org.openbp.cockpit.modeler.figures.generic.BasicFigure |
|---|
decorateValue, getDecorationOwner, getFillColor, getParent, setParent |
| Methods inherited from class CH.ifa.draw.standard.AbstractFigure |
|---|
addFigureChangeListener, addToContainer, canConnect, center, connectedTextLocator, connectorVisibility, containsPoint, decompose, displayBox, displayBox, figures, findFigureInside, getAttribute, getZValue, includes, invalidate, isEmpty, listener, moveBy, read, release, removeFigureChangeListener, removeFromContainer, setAttribute, setZValue, size, willChange, write |
| Methods inherited from class java.lang.Object |
|---|
equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Methods inherited from interface CH.ifa.draw.framework.Figure |
|---|
addFigureChangeListener, addToContainer, canConnect, center, connectedTextLocator, connectorVisibility, containsPoint, decompose, displayBox, displayBox, figures, findFigureInside, getAttribute, getZValue, includes, invalidate, isEmpty, listener, moveBy, release, removeFigureChangeListener, removeFromContainer, setAttribute, setZValue, size, willChange |
| Methods inherited from interface CH.ifa.draw.util.Storable |
|---|
read, write |
| Constructor Detail |
|---|
public XRoundRectangleFigure()
| Method Detail |
|---|
public void initialize()
initialize in class XRectangleFigurepublic java.awt.Insets connectionInsets()
connectionInsets in interface CH.ifa.draw.framework.FigureconnectionInsets in class CH.ifa.draw.standard.AbstractFigure()
public CH.ifa.draw.framework.Connector connectorAt(int x,
int y)
connectorAt in interface CH.ifa.draw.framework.FigureconnectorAt in class CH.ifa.draw.standard.AbstractFigure(int x, int y)protected void drawFigure(java.awt.Graphics g)
drawFigure in class XRectangleFigureg - Graphics to draw toprotected void drawFrame(java.awt.Graphics g)
drawFrame in class XRectangleFigureg - Graphics to draw topublic java.awt.Shape createShape()
createShape in class XRectangleFigurepublic java.awt.geom.RectangularShape createRectangularShape()
createRectangularShape in class XRectangleFigurepublic int getArcWidth()
public void setArcWidth(int arcWidth)
arcWidth - 100 = hor. semicircle, default = 8public int getArcHeight()
public void setArcHeight(int arcHeight)
arcHeight - 100 = vert. semicircle, default = 8public int realArcWidth()
public int realArcHeight()
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||