|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectcom.moximedia.aims.pdf.NorthArrow
A template item object implementation. This object is used to define the index map to be drawn on the map.
| Field Summary |
| Fields inherited from interface com.moximedia.aims.pdf.Item |
ITEM_TYPE_BOX, ITEM_TYPE_CENTERCOORDINATETEXT, ITEM_TYPE_DATETEXT, ITEM_TYPE_IMAGE, ITEM_TYPE_INDEXMAP, ITEM_TYPE_LATLONGRATICULE, ITEM_TYPE_LEGEND, ITEM_TYPE_LINE, ITEM_TYPE_MAP, ITEM_TYPE_NORTHARROW, ITEM_TYPE_PARAGRAPH, ITEM_TYPE_PROMPT, ITEM_TYPE_SCALEBAR, ITEM_TYPE_SCALETEXT, ITEM_TYPE_TEXT, ITEM_TYPE_TITLETEXT |
| Constructor Summary | |
NorthArrow()
Creates a new instance of NorthArrow |
|
| Method Summary | |
java.lang.Object |
clone()
Gets a clone of this object. |
NorthArrow |
getCopy()
Gets a copy of this object. |
int |
getItemType()
Returns the item type enumerator. |
void |
setXmlAttribute(java.lang.String element,
java.lang.String name,
java.lang.String value,
Template template,
java.lang.String imfPath,
java.lang.String printConfigPath)
Sets a template item property using string values. |
void |
write(com.lowagie.text.pdf.PdfWriter writer,
double mapScale,
double angle,
java.util.HashMap serverAlias)
Writes the template item to the PDF document. |
| Methods inherited from class java.lang.Object |
equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
public NorthArrow()
| Method Detail |
public java.lang.Object clone()
clone in interface Itempublic NorthArrow getCopy()
public void write(com.lowagie.text.pdf.PdfWriter writer,
double mapScale,
double angle,
java.util.HashMap serverAlias)
writer - The PdfWriter object to write to.mapScale - The scale of the map.angle - The angle to draw the arrow.
public void setXmlAttribute(java.lang.String element,
java.lang.String name,
java.lang.String value,
Template template,
java.lang.String imfPath,
java.lang.String printConfigPath)
element - The element name.name - The attribute name.value - The attribute value.template - The template object used to convert units.imfPath - The path to the IMF installation directory.printConfigPath - The path to the print confituration file.public int getItemType()
getItemType in interface Item
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||