|
|||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||||
java.lang.Object
|
+--com.bbn.openmap.omGraphics.geom.BasicGeometry
|
+--com.bbn.openmap.omGraphics.OMGraphic
|
+--com.bbn.openmap.omGraphics.OMPoly
|
+--com.bbn.openmap.omGraphics.OMSpline
|
+--com.bbn.openmap.omGraphics.OMDecoratedSpline
A decorated splined OMPoly. Decoration list is empty, but accessible via getDecorator() Code from OMPoly, few changes : render() just need to delegate the drawing of the polyline to the ShapeDecorator
| Field Summary |
| Fields inherited from class com.bbn.openmap.omGraphics.OMPoly |
coordMode, COORDMODE_ORIGIN, COORDMODE_PREVIOUS, doShapes, geometryClosed, isPolygon, lat, lon, nsegs, rawllpts, units, xpoints, xs, ypoints, ys |
| Fields inherited from class com.bbn.openmap.omGraphics.OMGraphic |
declutterType, displayPaint, edgeMatchesFill, fillPaint, hasLabel, linePaint, matted, mattingPaint, renderType, selected, selectPaint, showEditablePalette, stroke, textureMask |
| Fields inherited from class com.bbn.openmap.omGraphics.geom.BasicGeometry |
APP_OBJECT_KEY, appObject, ATT_MAP_KEY, lineType, needToRegenerate, shape, visible |
| Constructor Summary | |
OMDecoratedSpline()
Constructor. |
|
OMDecoratedSpline(float[] llPoints,
int units,
int lType)
Constructor. |
|
OMDecoratedSpline(float[] llPoints,
int units,
int lType,
int nsegs)
Constructor. |
|
OMDecoratedSpline(float latPoint,
float lonPoint,
int[] xypoints,
int cMode)
Constructor. |
|
OMDecoratedSpline(float latPoint,
float lonPoint,
int[] xPoints,
int[] yPoints,
int cMode)
Constructor. |
|
OMDecoratedSpline(int[] xypoints)
Constructor. |
|
OMDecoratedSpline(int[] xPoints,
int[] yPoints)
Constructor. |
|
| Method Summary | |
ShapeDecorator |
getDecorator()
Returns the decorator. |
protected void |
initDecorations()
Called by constructor, may be overriden. |
void |
render(java.awt.Graphics g)
Paint the poly. |
void |
revert()
Should reverts it. |
void |
setDecorator(ShapeDecorator decorator)
Sets the decorator. |
| Methods inherited from class com.bbn.openmap.omGraphics.OMSpline |
generate |
| Methods inherited from class com.bbn.openmap.omGraphics.OMPoly |
checkPoints, createShape, distance, getCoordMode, getDoShapes, getLat, getLatLonArray, getLon, getNumSegs, getShape, getXs, getYs, isGeometryClosed, isPolygon, setCoordMode, setDoShapes, setFillPaint, setIsPolygon, setLat, setLocation, setLocation, setLocation, setLocation, setLocation, setLon, setNumSegs, setXs, setYs, shouldRenderFill |
| Methods inherited from class com.bbn.openmap.omGraphics.geom.BasicGeometry |
_distance, appendShapeEdge, appendShapeEdge, appendShapeEdge, appendShapeEdge, checkAttributeMap, checkAttributeMap, clearAttributes, contains, createAttributeMap, createBoxShape, createShape, createShape, describeShapeDetail, describeShapeDetail, distanceToEdge, draw, fill, getAppObject, getAppObject, getAttribute, getAttributeMap, getAttributes, getLineType, getNeedToRegenerate, isRenderable, isVisible, putAttribute, removeAttribute, replaceAppObjectWithAttributeMap, setAppObject, setAppObject, setAttributes, setLineType, setNeedToRegenerate, setVisible |
| Methods inherited from class java.lang.Object |
equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Methods inherited from interface com.bbn.openmap.omGraphics.OMGeometry |
clearAttributes, contains, draw, fill, getAppObject, getAttribute, getAttributes, getLineType, getNeedToRegenerate, isRenderable, isVisible, putAttribute, removeAttribute, setAppObject, setAttributes, setLineType, setNeedToRegenerate, setVisible |
| Constructor Detail |
public OMDecoratedSpline()
public OMDecoratedSpline(float[] llPoints,
int units,
int lType)
llPoints - units - lType -
public OMDecoratedSpline(float[] llPoints,
int units,
int lType,
int nsegs)
llPoints - units - lType - nsegs - public OMDecoratedSpline(int[] xypoints)
xypoints -
public OMDecoratedSpline(int[] xPoints,
int[] yPoints)
xPoints - yPoints -
public OMDecoratedSpline(float latPoint,
float lonPoint,
int[] xypoints,
int cMode)
latPoint - lonPoint - xypoints - cMode -
public OMDecoratedSpline(float latPoint,
float lonPoint,
int[] xPoints,
int[] yPoints,
int cMode)
latPoint - lonPoint - xPoints - yPoints - cMode - | Method Detail |
public void render(java.awt.Graphics g)
render in class OMPolyg - java.awt.Graphics to paint the poly onto.public ShapeDecorator getDecorator()
public void setDecorator(ShapeDecorator decorator)
decorator - The decorator to setprotected void initDecorations()
public void revert()
Revertable
revert in interface Revertablefr.free.lepicier.awt.Revertable#revert()
|
|||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||||