|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectucar.unidata.data.gis.Transect
public class Transect
Holds a list of lat/lon points
| Constructor Summary | |
|---|---|
Transect()
Default ctor |
|
Transect(String name,
ucar.unidata.geoloc.LatLonPoint p1,
ucar.unidata.geoloc.LatLonPoint p2)
|
|
Transect(String name,
List points)
ctor |
|
Transect(Transect that)
Copy ctor |
|
| Method Summary | |
|---|---|
boolean |
equals(Object o)
equals |
Color |
getColor()
Get the Color property. |
boolean |
getEditable()
Get the Editable property. |
String |
getEndText()
Get the EndText property. |
String |
getName()
Get the Name property. |
List |
getPoints()
Get the Points property. |
String |
getStartText()
Get the StartText property. |
static List |
parseXml(Element root)
Process the xml |
void |
setColor(Color value)
Set the Color property. |
void |
setEditable(boolean value)
Set the Editable property. |
void |
setEndText(String value)
Set the EndText property. |
void |
setName(String value)
Set the Name property. |
void |
setPoints(List value)
Set the Points property. |
void |
setStartText(String value)
Set the StartText property. |
String |
toString()
tostring |
static String |
toXml(List transects)
Convert to xml |
| Methods inherited from class java.lang.Object |
|---|
clone, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
| Constructor Detail |
|---|
public Transect()
public Transect(Transect that)
that - The transect to copy
public Transect(String name,
List points)
name - namepoints - list of LatLonPoints
public Transect(String name,
ucar.unidata.geoloc.LatLonPoint p1,
ucar.unidata.geoloc.LatLonPoint p2)
| Method Detail |
|---|
public static List parseXml(Element root)
root - doc root
public static String toXml(List transects)
transects - transects
public void setName(String value)
value - The new value for Namepublic String getName()
public void setPoints(List value)
value - The new value for Pointspublic List getPoints()
public String toString()
toString in class Objectpublic boolean equals(Object o)
equals in class Objecto - that
public void setEditable(boolean value)
value - The new value for Editablepublic boolean getEditable()
public void setStartText(String value)
value - The new value for StartTextpublic String getStartText()
public void setEndText(String value)
value - The new value for EndTextpublic String getEndText()
public void setColor(Color value)
value - The new value for Colorpublic Color getColor()
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||