|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectcom.google.gwt.core.client.JavaScriptObject
com.google.gwt.maps.client.overlay.PolylineOptions
public class PolylineOptions
Options to pass to the Polyline
constructor.
Constructor Summary | |
---|---|
protected |
PolylineOptions()
|
Method Summary | |
---|---|
static PolylineOptions |
newInstance()
|
static PolylineOptions |
newInstance(boolean clickable)
Construct a new PolylineOptions instance. |
static PolylineOptions |
newInstance(boolean clickable,
boolean geodesic)
Construct a new PolylineOptions instance. |
void |
setClickable(boolean clickable)
Toggles whether or not the polyline is clickable. |
void |
setGeodesic(boolean geodesic)
Render each edge of the polyline as a geodesic (a segment of a "great circle"). |
Methods inherited from class com.google.gwt.core.client.JavaScriptObject |
---|
cast, createArray, createFunction, createObject, equals, hashCode, toSource, toString |
Methods inherited from class java.lang.Object |
---|
clone, finalize, getClass, notify, notifyAll, wait, wait, wait |
Constructor Detail |
---|
protected PolylineOptions()
Method Detail |
---|
public static PolylineOptions newInstance(boolean clickable)
clickable
- pass false
to make this polyline not
clickable.
public static PolylineOptions newInstance(boolean clickable, boolean geodesic)
clickable
- pass false
to make this polyline not
clickable.geodesic
- true
to set this polyline to be geodesic.
public static PolylineOptions newInstance()
public final void setClickable(boolean clickable)
clickable
- pass false
to make this polyline not
clickable.public final void setGeodesic(boolean geodesic)
geodesic
- true
to set this polyline to be geodesic.
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |