Class CmsLocationValue


  • public final class CmsLocationValue
    extends com.google.gwt.core.client.JavaScriptObject
    The location value.

    • Constructor Summary

      Constructors 
      Modifier Constructor Description
      protected CmsLocationValue()
      Protected constructor required for JavaScript overlay objects.
    • Method Summary

      All Methods Static Methods Instance Methods Concrete Methods 
      Modifier and Type Method Description
      CmsLocationValue cloneValue()
      Clones the value object.
      java.lang.String getAddress()
      Returns the location address.
      int getHeight()
      Returns the height.
      float getLatitude()
      Returns the latitude.
      java.lang.String getLatitudeString()
      Returns the latitude string representation.
      float getLongitude()
      Returns the longitude.
      java.lang.String getLongitudeString()
      Returns the longitude string representation.
      java.lang.String getMode()
      Returns the mode.
      java.lang.String getType()
      Returns the type.
      int getWidth()
      Returns the width.
      int getZoom()
      Returns the zoom.
      static CmsLocationValue parse​(java.lang.String value)
      Parses the given JSON string.
      void setAddress​(java.lang.String address)
      Sets the address.
      void setHeight​(int height)
      Sets the height.
      void setHeight​(java.lang.String height)
      Sets the height.
      void setLatitude​(float latitude)
      Sets the latitude.
      void setLatitude​(java.lang.String latitude)
      Sets the latitude.
      void setLongitude​(float longitude)
      Sets the longitude.
      void setLongitude​(java.lang.String longitude)
      Sets the longitude.
      void setMode​(java.lang.String mode)
      Sets the map mode.
      void setType​(java.lang.String type)
      Sets the map type.
      void setWidth​(int width)
      Sets the width.
      void setWidth​(java.lang.String width)
      Sets the width.
      void setZoom​(int zoom)
      Sets the map zoom level.
      void setZoom​(java.lang.String zoom)
      Sets the map zoom level.
      java.lang.String toJSONString()
      Returns the JSON string representation of this value.
      • Methods inherited from class com.google.gwt.core.client.JavaScriptObject

        cast, createArray, createArray, createFunction, createObject, equals, hashCode, toSource, toString
      • Methods inherited from class java.lang.Object

        clone, finalize, getClass, notify, notifyAll, wait, wait, wait
    • Constructor Detail

      • CmsLocationValue

        protected CmsLocationValue()
        Protected constructor required for JavaScript overlay objects.

    • Method Detail

      • parse

        public static CmsLocationValue parse​(java.lang.String value)
        Parses the given JSON string.

        Parameters:
        value - the value string to parse
        Returns:
        the location object
      • getAddress

        public java.lang.String getAddress()
        Returns the location address.

        Returns:
        the address
      • getHeight

        public int getHeight()
        Returns the height.

        Returns:
        the height
      • getLatitude

        public float getLatitude()
        Returns the latitude.

        Returns:
        the latitude
      • getLatitudeString

        public java.lang.String getLatitudeString()
        Returns the latitude string representation.

        Returns:
        the latitude string representation
      • getLongitude

        public float getLongitude()
        Returns the longitude.

        Returns:
        the longitude
      • getLongitudeString

        public java.lang.String getLongitudeString()
        Returns the longitude string representation.

        Returns:
        the longitude string representation
      • getMode

        public java.lang.String getMode()
        Returns the mode.

        Returns:
        the mode
      • getType

        public java.lang.String getType()
        Returns the type.

        Returns:
        the type
      • getWidth

        public int getWidth()
        Returns the width.

        Returns:
        the width
      • getZoom

        public int getZoom()
        Returns the zoom.

        Returns:
        the zoom
      • setAddress

        public void setAddress​(java.lang.String address)
        Sets the address.

        Parameters:
        address - the address
      • setHeight

        public void setHeight​(int height)
        Sets the height.

        Parameters:
        height - the height
      • setHeight

        public void setHeight​(java.lang.String height)
        Sets the height.

        Parameters:
        height - the height
      • setLatitude

        public void setLatitude​(float latitude)
        Sets the latitude.

        Parameters:
        latitude - the latitude
      • setLatitude

        public void setLatitude​(java.lang.String latitude)
        Sets the latitude.

        Parameters:
        latitude - the latitude
      • setLongitude

        public void setLongitude​(float longitude)
        Sets the longitude.

        Parameters:
        longitude - the longitude
      • setLongitude

        public void setLongitude​(java.lang.String longitude)
        Sets the longitude.

        Parameters:
        longitude - the longitude
      • setMode

        public void setMode​(java.lang.String mode)
        Sets the map mode.

        Parameters:
        mode - the map mode
      • setType

        public void setType​(java.lang.String type)
        Sets the map type.

        Parameters:
        type - the map type
      • setWidth

        public void setWidth​(int width)
        Sets the width.

        Parameters:
        width - the width
      • setWidth

        public void setWidth​(java.lang.String width)
        Sets the width.

        Parameters:
        width - the width
      • setZoom

        public void setZoom​(int zoom)
        Sets the map zoom level.

        Parameters:
        zoom - the zoom level
      • setZoom

        public void setZoom​(java.lang.String zoom)
        Sets the map zoom level.

        Parameters:
        zoom - the zoom level
      • toJSONString

        public java.lang.String toJSONString()
        Returns the JSON string representation of this value.

        Returns:
        the JSON string representation