|
||||||||||
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.layer.e00.TX7
public class 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.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 | |
---|---|
TX7(double[] llpoints,
java.lang.String str)
Constructor for the TX7 object |
|
TX7(double[] llpoints,
java.lang.String str,
boolean isRadian)
Constructor for the TX7 object |
|
TX7(double[] 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 |
double[] |
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(double[] 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, 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.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 |
Constructor Detail |
---|
public TX7(double[] llpoints, java.lang.String str, boolean isRadian)
llpoints
- array on lat lon lat lon ...str
- TextisRadian
- true if lat lons given in radianspublic TX7(double[] 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(double[] 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(double[] 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 double[] getLocation()
public boolean generate(Projection proj)
generate
in interface OMGeometry
generate
in class OMGraphicAdapter
proj
- new Projection
OMGraphicAdapter.regenerate(com.bbn.openmap.proj.Projection)
public void render(java.awt.Graphics g)
render
in interface OMGeometry
render
in class OMGraphicAdapter
g
- Graphics
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |