|
||||||||||
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.OMGraphicAdapter com.bbn.openmap.omGraphics.OMPoint com.bbn.openmap.dataAccess.shape.EsriPoint
public class EsriPoint
An extension to OMPoint that typecasts a specific Esri graphic type. Used to ensure that all OMGraphics added to a EsriGraphicList is of the same type.
Nested Class Summary |
---|
Nested classes/interfaces inherited from class com.bbn.openmap.omGraphics.OMPoint |
---|
OMPoint.Image |
Field Summary | |
---|---|
protected int |
type
|
Fields inherited from class com.bbn.openmap.omGraphics.OMPoint |
---|
DEFAULT_ISOVAL, DEFAULT_RADIUS, lat1, lon1, oval, radius, x, y |
Fields inherited from class com.bbn.openmap.omGraphics.OMGraphicAdapter |
---|
declutterType, displayPaint, edgeMatchesFill, fillPaint, hasLabel, linePaint, matted, mattingPaint, renderType, selected, selectPaint, showEditablePalette, stroke, textureMask |
Fields inherited from class com.bbn.openmap.omGraphics.geom.BasicGeometry |
---|
attributes, lineType, needToRegenerate, shape, visible |
Constructor Summary | |
---|---|
EsriPoint(double lat,
double lon)
|
Method Summary | |
---|---|
static EsriPoint |
convert(OMPoint ompoint)
|
double[] |
getExtents()
The lat/lon extent of the EsriGraphic, returned as miny, minx, maxy maxx in order of the array. |
int |
getType()
Get the graphic type in ESRI type number form |
void |
setExtents(double[] extents)
The lat/lon extent of the EsriGraphic, assumed to contain miny, minx, maxy maxx in order of the array. |
void |
setType(int t)
Set the type for the EsriGraphic. |
EsriGraphic |
shallowCopy()
Shallow copy this graphic. |
EsriPoint |
shallowCopyPoint()
|
Methods inherited from class com.bbn.openmap.omGraphics.OMPoint |
---|
generate, getLat, getLon, getRadius, getX, getY, hasLineTypeChoice, isOval, restore, set, set, set, setLat, setLon, setOval, setRadius, setX, setY |
Methods inherited from class com.bbn.openmap.omGraphics.geom.BasicGeometry |
---|
_distance, appendShapeEdge, appendShapeEdge, appendShapeEdge, appendShapeEdge, clearAttributes, contains, createAttributeMap, createBoxShape, createShape, createShape, describeShapeDetail, describeShapeDetail, distanceToEdge, distanceToEdge, draw, draw, fill, fill, getAppObject, getAttribute, getAttributes, getDescription, getLineType, getNeedToRegenerate, getShape, isRenderable, isRenderable, isVisible, putAttribute, removeAttribute, setAppObject, setAttributes, setLineType, setNeedToRegenerate, setShape, 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.dataAccess.shape.EsriGraphic |
---|
getAttribute, putAttribute |
Methods inherited from interface com.bbn.openmap.omGraphics.OMGeometry |
---|
clearAttributes, contains, distance, distanceToEdge, draw, draw, fill, fill, getAppObject, getAttribute, getAttributes, getDescription, getLineType, getNeedToRegenerate, getShape, isRenderable, isRenderable, isVisible, putAttribute, removeAttribute, render, setAppObject, setAttributes, setLineType, setNeedToRegenerate, setShape, setVisible |
Field Detail |
---|
protected int type
Constructor Detail |
---|
public EsriPoint(double lat, double lon)
Method Detail |
---|
public void setExtents(double[] extents)
setExtents
in interface EsriGraphic
public double[] getExtents()
getExtents
in interface EsriGraphic
public void setType(int t)
EsriGraphic
setType
in interface EsriGraphic
public int getType()
EsriGraphic
getType
in interface EsriGraphic
public static EsriPoint convert(OMPoint ompoint)
public EsriGraphic shallowCopy()
EsriGraphic
shallowCopy
in interface EsriGraphic
public EsriPoint shallowCopyPoint()
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |