|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object org.gwtopenmaps.openlayers.client.util.JSObjectWrapper org.gwtopenmaps.openlayers.client.OpenLayersObjectWrapper org.gwtopenmaps.openlayers.client.OpenLayersEObjectWrapper org.gwtopenmaps.openlayers.client.control.ControlOptions org.gwtopenmaps.openlayers.client.control.GraticuleOptions
public class GraticuleOptions
Field Summary |
---|
Fields inherited from class org.gwtopenmaps.openlayers.client.OpenLayersEObjectWrapper |
---|
eventListeners |
Constructor Summary | |
---|---|
GraticuleOptions()
|
Method Summary | |
---|---|
void |
setDisplayInLayerSwitcher(boolean isDisplay)
APIProperty: displayInLayerSwitcher {Boolean} Allows the Graticule control to be switched on and off. |
void |
setLabelFormat(String format)
APIProperty: labelFormat {String} the format of the labels, default = 'dm'. |
void |
setLabelled(boolean isLabelled)
APIProperty: labelled {Boolean} Should the graticule lines be labelled?. |
void |
setLabelSymbolizer(TextSymbolizer text)
APIProperty: labelSymbolizer {symbolizer} the symbolizer used to render labels |
void |
setLayerName(String name)
APIProperty: layerName {String} the name to be displayed in the layer switcher |
void |
setLineSymbolyzer(LineSymbolizer line)
APIProperty: lineSymbolizer {symbolizer} the symbolizer used to render lines IMPORTANT: when using a lineSymbolizer different from the default, the minimal properties strokeColor, strokeWidth, strokeOpacity have to be set. |
void |
setNumPoints(int num)
APIProperty: numPoints {Integer} The number of points to use in each graticule line. |
void |
setTargetSize(int size)
APIProperty: targetSize {Integer} The maximum size of the grid in pixels on the map |
void |
setVisible(boolean isVisible)
APIProperty: visible {Boolean} should the graticule be initially visible (default=true) |
Methods inherited from class org.gwtopenmaps.openlayers.client.OpenLayersEObjectWrapper |
---|
getListeners, narrowToOpenLayersEObjectWrapper, removeListener |
Methods inherited from class org.gwtopenmaps.openlayers.client.OpenLayersObjectWrapper |
---|
getClassName, getEvents, narrowToOpenLayersObjectWrapper |
Methods inherited from class org.gwtopenmaps.openlayers.client.util.JSObjectWrapper |
---|
getJSObject, setJSObject |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public GraticuleOptions()
Method Detail |
---|
public void setDisplayInLayerSwitcher(boolean isDisplay)
public void setVisible(boolean isVisible)
public void setLabelled(boolean isLabelled)
public void setTargetSize(int size)
public void setLabelFormat(String format)
public void setNumPoints(int num)
public void setLayerName(String name)
public void setLineSymbolyzer(LineSymbolizer line)
public void setLabelSymbolizer(TextSymbolizer text)
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |