|
|||||||||||
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.layer.e00.TX7
Description of the Class that displays a String along a polygon or a polyline defined by lat lon points.
Field Summary |
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 | |
TX7(float[] llpoints,
java.lang.String str)
Constructor for the TX7 object |
|
TX7(float[] llpoints,
java.lang.String str,
boolean isRadian)
Constructor for the TX7 object |
|
TX7(float[] llpoints,
java.lang.String str,
boolean isRadian,
java.awt.Font font)
Constructor for the TX7 object |
Method Summary | |
boolean |
generate(Projection proj)
generate with a new projection |
java.awt.Font |
getFont()
Gets the font attribute of the TX7 object |
float[] |
getLocation()
Gets the location attribute of the TX7 object |
java.lang.String |
getText()
Gets the text attribute of the TX7 object |
void |
render(java.awt.Graphics g)
render |
void |
setFont(java.awt.Font f)
Sets the font attribute of the TX7 object |
void |
setLocation(float[] llpoints,
boolean isRadian)
Sets the location attribute of the TX7 object |
void |
setText(java.lang.String S)
Sets the text attribute of the TX7 object |
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.omGraphics.OMGeometry |
clearAttributes, contains, draw, fill, getAppObject, getAttribute, getAttributes, getLineType, getNeedToRegenerate, getShape, isRenderable, isVisible, putAttribute, removeAttribute, setAppObject, setAttributes, setLineType, setNeedToRegenerate, setVisible |
Constructor Detail |
public TX7(float[] llpoints, java.lang.String str, boolean isRadian)
llpoints
- array on lat lon lat lon ...str
- TextisRadian
- true if lat lons given in radianspublic TX7(float[] llpoints, java.lang.String str, boolean isRadian, java.awt.Font font)
llpoints
- array on lat lon lat lon ...str
- TextisRadian
- true if lat lons given in radiansfont
- font used to draw textpublic TX7(float[] llpoints, java.lang.String str)
llpoints
- array on lat lon lat lon ...str
- Text *Method Detail |
public void setText(java.lang.String S)
S
- The new text valuepublic void setFont(java.awt.Font f)
f
- The new font valuepublic void setLocation(float[] llpoints, boolean isRadian)
llpoints
- array on lat lon lat lon ...isRadian
- true if lat lons given in radianspublic java.awt.Font getFont()
public java.lang.String getText()
public float[] getLocation()
public boolean generate(Projection proj)
generate
in interface OMGeometry
generate
in class OMGraphic
proj
- new Projection
OMGraphic.regenerate(com.bbn.openmap.proj.Projection)
public void render(java.awt.Graphics g)
render
in class OMGraphic
g
- Graphics
|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |