|
||||||||||
| 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.XPolygonFigure
public abstract class XPolygonFigure
Extended triangle figure.
| Field Summary | |
|---|---|
protected java.awt.Polygon |
polygon
Cached polygon of the triangle |
| 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 | |
|---|---|
XPolygonFigure()
Constructor. |
|
| Method Summary | |
|---|---|
java.awt.Point |
center()
|
void |
changed()
|
java.awt.Insets |
connectionInsets()
|
boolean |
containsPoint(int x,
int y)
|
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. |
abstract java.awt.Polygon |
getPolygon()
Returns the polygon describing the triangle. |
java.util.Vector |
handles()
|
| Methods inherited from class org.openbp.cockpit.modeler.figures.generic.XRectangleFigure |
|---|
basicDisplayBox, basicMoveBy, createRectangularShape, displayBox, drawAppliances, initialize, placeAdjacent |
| Methods inherited from class org.openbp.cockpit.modeler.figures.generic.XFigure |
|---|
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, connectedTextLocator, connectorAt, connectorVisibility, 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, connectedTextLocator, connectorAt, connectorVisibility, 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 |
| Field Detail |
|---|
protected java.awt.Polygon polygon
| Constructor Detail |
|---|
public XPolygonFigure()
| Method Detail |
|---|
public boolean containsPoint(int x,
int y)
containsPoint in interface CH.ifa.draw.framework.FigurecontainsPoint in class CH.ifa.draw.standard.AbstractFigureprotected 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 void changed()
changed in interface CH.ifa.draw.framework.Figurechanged in class XFigurepublic java.util.Vector handles()
handles in interface CH.ifa.draw.framework.Figurehandles in class XRectangleFigurepublic java.awt.Insets connectionInsets()
connectionInsets in interface CH.ifa.draw.framework.FigureconnectionInsets in class CH.ifa.draw.standard.AbstractFigurepublic java.awt.Point center()
center in interface CH.ifa.draw.framework.Figurecenter in class CH.ifa.draw.standard.AbstractFigurepublic java.awt.Shape createShape()
createShape in class XRectangleFigurepublic abstract java.awt.Polygon getPolygon()
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||