|
|||||||||
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.PolyEditingOptions
public class PolyEditingOptions
Options to pass to the Polyline.setDrawingEnabled()
editing routines.
Constructor Summary | |
---|---|
protected |
PolyEditingOptions()
|
Method Summary | |
---|---|
static PolyEditingOptions |
newInstance()
Create a new PolyEditingOptions object. |
static PolyEditingOptions |
newInstance(boolean fromStart)
Create a PolyEditingOptions object. |
static PolyEditingOptions |
newInstance(int maxVertices)
Create a PolyEditingOptions object. |
static PolyEditingOptions |
newInstance(int maxVertices,
boolean fromStart)
Create a PolyEditingOptions object. |
void |
setFromStart(boolean fromStart)
This property specifies whether enableDrawing should add points from the start rather than from the end, which is the default. |
void |
setMaxVertices(int maxVertices)
This property specifies the maximum number of vertices permitted for this polyline. |
Methods inherited from class com.google.gwt.core.client.JavaScriptObject |
---|
cast, createArray, createFunction, createObject, equals, hashCode, toString |
Methods inherited from class java.lang.Object |
---|
clone, finalize, getClass, notify, notifyAll, wait, wait, wait |
Constructor Detail |
---|
protected PolyEditingOptions()
Method Detail |
---|
public static PolyEditingOptions newInstance()
PolyEditingOptions
object.
PolyEditingOptions
object.public static PolyEditingOptions newInstance(boolean fromStart)
PolyEditingOptions
object.
fromStart
- specifies whether Polyline.setDrawingEnabled()
should add points from the start rather than from the end, which
is the default.
PolyEditingOptions
object.public static PolyEditingOptions newInstance(int maxVertices)
PolyEditingOptions
object.
maxVertices
- specifies the maximum number of vertices permitted for
this polyline. Once this number is reached, no more may be added
PolyEditingOptions
object.public static PolyEditingOptions newInstance(int maxVertices, boolean fromStart)
PolyEditingOptions
object.
fromStart
- specifies whether Polyline.setDrawingEnabled()
should add points from the start rather than from the end, which
is the default.maxVertices
- specifies the maximum number of vertices permitted for
this polyline. Once this number is reached, no more may be added
PolyEditingOptions
object.public final void setFromStart(boolean fromStart)
fromStart
- specifies whether Polyline.setDrawingEnabled()
should add points from the start rather than from the end, which
is the default.public final void setMaxVertices(int maxVertices)
maxVertices
- the maximum number of vertices permitted.
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |