|
||||||||||
| 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.OMGraphicAdapter
com.bbn.openmap.omGraphics.OMText
com.bbn.openmap.dataAccess.shape.EsriTextPoint
public class 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, HEIGHT, justify, JUSTIFY_CENTER, JUSTIFY_LEFT, JUSTIFY_RIGHT, lat, lon, parsedData, point, polyBounds, pt, renderRotationAngle, rotationAngle, textMatteColor, textMatteStroke, useMaxWidthForBounds, widths |
| 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 | |
|---|---|
EsriTextPoint(double lat,
double lon,
java.lang.String stuff,
int justification)
|
|
| Method Summary | |
|---|---|
static EsriTextPoint |
convert(OMText omtext)
|
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. |
EsriTextPoint |
shallowCopyPoint()
|
| Methods inherited from class com.bbn.openmap.omGraphics.OMText |
|---|
computeBounds, computeStringWidths, countChar, distance, evaluateRotationAngle, fontToXFont, generate, getBaseline, getData, getFMHeight, getFont, getFontSizer, getJustify, getLat, getLineWidths, getLon, getMapLocation, getMaxLineWidth, getPolyBounds, getRotationAngle, getTextMatteColor, getTextMatteStroke, getUseMaxWidthForBounds, getX, getY, hasLineTypeChoice, parseData, prepareForRender, rebuildFont, render, renderString, restore, setBaseline, setData, setFMHeight, setFont, setFont, setFontSizer, setJustify, setLat, setLon, setMapLocation, setRotationAngle, setScaledFont, setTextMatteColor, setTextMatteStroke, setUseMaxWidthForBounds, 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, distanceToEdge, draw, draw, fill, fill, getAppObject, getAttribute, getAttributes, getDescription, getLineType, getNeedToRegenerate, getShape, isRenderable, isRenderable, isVisible, putAttribute, removeAttribute, setAppObject, setAttributes, setLineType, setNeedToRegenerate, setShape, setVisible |
| Field Detail |
|---|
protected int type
| Constructor Detail |
|---|
public EsriTextPoint(double lat,
double lon,
java.lang.String stuff,
int justification)
| Method Detail |
|---|
public void setExtents(double[] extents)
setExtents in interface EsriGraphicpublic double[] getExtents()
getExtents in interface EsriGraphicpublic void setType(int t)
EsriGraphic
setType in interface EsriGraphicpublic int getType()
EsriGraphic
getType in interface EsriGraphicpublic static EsriTextPoint convert(OMText omtext)
public EsriGraphic shallowCopy()
EsriGraphic
shallowCopy in interface EsriGraphicpublic EsriTextPoint shallowCopyPoint()
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||