|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectcom.sun.j2ee.blueprints.ui.mapviewer.MapPoint
com.sun.j2ee.blueprints.ui.mapviewer.MapMarker
public class MapMarker
MapMarker
is a MapPoint
that also contains an
optional markup
property containing the HTML markup to be
displayed for this point.
Constructor Summary | |
---|---|
MapMarker()
Construct an unconfigured MapMarker instance. |
|
MapMarker(double latitude,
double longitude,
java.lang.String markup)
Construct a configured MapMarker instance. |
|
MapMarker(MapPoint point)
Construct a MapMarker configured from the specified point. |
|
MapMarker(MapPoint point,
java.lang.String markup)
Construct a MapMarker configured from the specified point and HTML markup. |
Method Summary | |
---|---|
java.lang.String |
getMarkup()
Return the optional HTML markup associated with this marker. |
void |
setMarkup(java.lang.String markup)
Set the optional HTML markup associated with this marker. |
Methods inherited from class com.sun.j2ee.blueprints.ui.mapviewer.MapPoint |
---|
getLatitude, getLongitude, setLatitude, setLongitude |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public MapMarker()
Construct an unconfigured MapMarker instance.
public MapMarker(MapPoint point)
Construct a MapMarker configured from the specified point.
point
- MapPoint
from which to configure this markerpublic MapMarker(MapPoint point, java.lang.String markup)
Construct a MapMarker configured from the specified point and HTML markup.
point
- MapPoint
from which to configure this markermarkup
- Optional HTML markup describing the point referenced
by this markerpublic MapMarker(double latitude, double longitude, java.lang.String markup)
Construct a configured MapMarker instance.
latitude
- Latitude of the point referenced by this markerlongitude
- Longitude of the point referenced by this markermarkup
- Optional HTML markup describing the point referenced
by this markerMethod Detail |
---|
public java.lang.String getMarkup()
Return the optional HTML markup associated with this marker.
public void setMarkup(java.lang.String markup)
Set the optional HTML markup associated with this marker.
markup
- The optional HTML markup, or null
if there
is no such markup
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |