|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
java.lang.Objectcom.partnersoft.v3x.apps.MapBrowser.MapPoint
public abstract class MapPoint
A point in a MapPointLayer. Subclasses might be any number of things - houses, telephone poles, plot centroids, whatever. They just need to be able to paint themselves with the paintOn() methods.
| Field Summary | |
|---|---|
Coord3D |
coords
|
| Constructor Summary | |
|---|---|
MapPoint()
|
|
MapPoint(Coord3D someCoords)
|
|
| Method Summary | |
|---|---|
void |
clearGuid()
Clears the current GUID so that it will be regenerated. |
void |
copyFromExistingPoint(MapPoint source)
Every deepCopy() method should call this function to copy the MapPoint's fields. |
Coord3D |
getCoords()
|
java.lang.String |
getGuid()
|
PostprocessingPoint |
getPostprocessingPoint()
|
XyPoint |
getXyPoint()
Returns the more modern XyPoint representation of the point's position. |
boolean |
isSelected()
|
abstract void |
paintOn(java.awt.Graphics g,
java.awt.Point p,
boolean inverse)
Subclasses should override this. |
void |
paintOn(java.awt.Graphics g,
RenderMold mold)
Figures out where the centerpoint should be and calls paintOn(Graphics, Point); Override if you need more complex behavior. |
void |
setCoords(Coord3D someCoords)
|
void |
setGuid(java.lang.String newGuid)
|
void |
setPostprocessingPoint(PostprocessingPoint inPostprocessingPoint)
If the input argument is null, which happens during TOF file loading for example, then this function ignores it. |
void |
setSelected(boolean selected)
|
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Field Detail |
|---|
public Coord3D coords
| Constructor Detail |
|---|
public MapPoint()
public MapPoint(Coord3D someCoords)
| Method Detail |
|---|
public void paintOn(java.awt.Graphics g,
RenderMold mold)
public abstract void paintOn(java.awt.Graphics g,
java.awt.Point p,
boolean inverse)
public Coord3D getCoords()
public void setCoords(Coord3D someCoords)
public boolean isSelected()
public void setSelected(boolean selected)
public void clearGuid()
public void setGuid(java.lang.String newGuid)
public java.lang.String getGuid()
public void copyFromExistingPoint(MapPoint source)
Every deepCopy() method should call this function to copy the MapPoint's fields.
source - public XyPoint getXyPoint()
public PostprocessingPoint getPostprocessingPoint()
public void setPostprocessingPoint(PostprocessingPoint inPostprocessingPoint)
If the input argument is null, which happens during TOF file loading for example, then this function ignores it.
inPostprocessingPoint -
|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||