|
||||||||||
| 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
org.openbp.cockpit.modeler.figures.generic.XTriangleFigure
public class XTriangleFigure
Extended triangle figure.
| Field Summary |
|---|
| Fields inherited from class org.openbp.cockpit.modeler.figures.generic.XPolygonFigure |
|---|
polygon |
| 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 | |
|---|---|
XTriangleFigure()
Constructor. |
|
| Method Summary | |
|---|---|
java.awt.Polygon |
getPolygon()
Returns the polygon describing the triangle. |
java.awt.Rectangle |
placeAdjacent(java.awt.Rectangle rect,
double angle)
Places the given rectangle so that its center is in the given direction and it exactly touches the node, without crossing any lines. |
| Methods inherited from class org.openbp.cockpit.modeler.figures.generic.XPolygonFigure |
|---|
center, changed, connectionInsets, containsPoint, createShape, drawFigure, drawFrame, handles |
| Methods inherited from class org.openbp.cockpit.modeler.figures.generic.XRectangleFigure |
|---|
basicDisplayBox, basicMoveBy, createRectangularShape, displayBox, drawAppliances, initialize |
| 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 |
| Constructor Detail |
|---|
public XTriangleFigure()
| Method Detail |
|---|
public java.awt.Rectangle placeAdjacent(java.awt.Rectangle rect,
double angle)
placeAdjacent in class XRectangleFigurerect - The rectangle to adjustangle - The direction in which the rectangle should be placed
public java.awt.Polygon getPolygon()
getPolygon in class XPolygonFigure
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||