Example #1
0
 /**
  * Gets how often to retrieve the compass heading, in milliseconds. Default value is 100.
  *
  * @return double
  */
 public double getFrequency() {
   return JsoHelper.getAttributeAsDouble(jsObj, "frequency");
 }
Example #2
0
 public CompassOptions() {
   jsObj = JsoHelper.createObject();
 }
Example #3
0
 /**
  * Sets how often to retrieve the compass heading, in milliseconds.
  *
  * @param value
  */
 public void setFrequency(double value) {
   JsoHelper.setAttribute(jsObj, "frequency", value);
 }
 private final String _getStyle() {
   return JsoHelper.getAttribute(jsObj, "style");
 }
 /**
  * IDs of map types to show in the control.
  *
  * @param values
  */
 private void setMapTypeIds(JsArrayString values) {
   JsoHelper.setAttribute(jsObj, "mapTypeIds", values);
 }
Example #6
0
 /**
  * One of the three states the reader can be in EMPTY, LOADING or DONE.
  *
  * @return
  */
 public int getReadyState() {
   return JsoHelper.getAttributeAsInt(jsObj, "readyState");
 }
 private void setStyle(String value) {
   JsoHelper.setAttribute(jsObj, "style", value);
 }
 public MapTypeControlOptions() {
   jsObj = JsoHelper.createObject();
 }
 private final String _getPosition() {
   return JsoHelper.getAttribute(jsObj, "position");
 }
Example #10
0
 /**
  * An object containing errors
  *
  * @return
  */
 public FileError getError() {
   return new FileError(JsoHelper.getAttributeAsJavaScriptObject(jsObj, "error"));
 }
Example #11
0
 public MaxZoomResult() {
   jsObj = JsoHelper.createObject();
 }
Example #12
0
 /**
  * The current position of the file pointer
  *
  * @return
  */
 public double getPosition() {
   return JsoHelper.getAttributeAsDouble(jsObj, "position");
 }
Example #13
0
 /**
  * The length of the file to be written.
  *
  * @return
  */
 public double getLength() {
   return JsoHelper.getAttributeAsDouble(jsObj, "length");
 }
Example #14
0
 /**
  * The name of the file to be written
  *
  * @return
  */
 public String getFileName() {
   return JsoHelper.getAttribute(jsObj, "fileName");
 }
Example #15
0
 /**
  * Sets the change in degrees required to initiate a watchHeading success callback.
  *
  * @param value
  */
 public void setFilter(double value) {
   JsoHelper.setAttribute(jsObj, "filter", value);
 }
Example #16
0
 private final void setPosition(String value) {
   JsoHelper.setAttribute(jsObj, "position", value);
 }
Example #17
0
 /**
  * Gets the change in degrees required to initiate a watchHeading success callback.
  *
  * @return double
  */
 public double getFilter() {
   return JsoHelper.getAttributeAsDouble(jsObj, "filter");
 }
Example #18
0
 public MapType() {
   jsObj = JsoHelper.createObject();
 }