|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectcom.bbn.openmap.omGraphics.geom.BasicGeometry
com.bbn.openmap.omGraphics.OMGraphic
com.bbn.openmap.omGraphics.OMText
com.bbn.openmap.dataAccess.shape.EsriTextPoint
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.
Field Summary | |
protected int |
type
|
Fields inherited from class com.bbn.openmap.omGraphics.OMText |
ASCENT, ASCENT_DESCENT, ASCENT_LEADING, baseline, BASELINE_BOTTOM, BASELINE_MIDDLE, BASELINE_TOP, data, DEFAULT_FONT, DEFAULT_TEXT_MATTE_STROKE, f, fm, fmHeight, fontSizer, hackProj, HEIGHT, justify, JUSTIFY_CENTER, JUSTIFY_LEFT, JUSTIFY_RIGHT, lat, lon, parsedData, point, polyBounds, pt, rotationAngle, textMatteColor, textMatteStroke, useMaxWidthForBounds, widths |
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 | |
EsriTextPoint(float lat,
float lon,
java.lang.String stuff,
int justification)
|
Method Summary | |
static EsriTextPoint |
convert(OMText omtext)
|
float[] |
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(float[] 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. |
EsriTextPoint |
shallowCopyPoint()
|
Methods inherited from class com.bbn.openmap.omGraphics.OMText |
computeBounds, computeStringWidths, countChar, distance, fontToXFont, generate, getBaseline, getData, getFMHeight, getFont, getFontSizer, getJustify, getLat, getLon, getMapLocation, getPolyBounds, getRotationAngle, getShowBounds, getTextMatteColor, getTextMatteStroke, getTheta, getUseMaxWidthForBounds, getX, getY, hasLineTypeChoice, parseData, prepareForRender, rebuildFont, render, renderString, setBaseline, setData, setFMHeight, setFont, setFont, setFontSizer, setJustify, setLat, setLon, setMapLocation, setRotationAngle, setScaledFont, setShowBounds, setTextMatteColor, setTextMatteStroke, setTheta, setUseMaxWidthForBounds, setX, setY |
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, getShape, 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.dataAccess.shape.EsriGraphic |
getAttribute, putAttribute |
Methods inherited from interface com.bbn.openmap.omGraphics.OMGeometry |
clearAttributes, contains, draw, fill, getAppObject, getAttribute, getAttributes, getLineType, getNeedToRegenerate, getShape, isRenderable, isVisible, putAttribute, removeAttribute, setAppObject, setAttributes, setLineType, setNeedToRegenerate, setVisible |
Field Detail |
protected int type
Constructor Detail |
public EsriTextPoint(float lat, float lon, java.lang.String stuff, int justification)
Method Detail |
public void setExtents(float[] extents)
setExtents
in interface EsriGraphic
public float[] getExtents()
getExtents
in interface EsriGraphic
public void setType(int t)
EsriGraphic
setType
in interface EsriGraphic
t
- public int getType()
EsriGraphic
getType
in interface EsriGraphic
public static EsriTextPoint convert(OMText omtext)
public EsriGraphic shallowCopy()
EsriGraphic
shallowCopy
in interface EsriGraphic
public EsriTextPoint shallowCopyPoint()
|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |