API Overview API Index Package Overview Direct link to this page
JavaOnTracks 0.1.2
  net.jot.web.widget.builtin. JOTGoogleMapMultipleWidget View Source
Author(s)
thibautc
Since
Version
Serial
Hierarchy
 Object
      JOTWidgetBase
          JOTWidgetNoAjaxBase
              JOTTitledBoxWidget
                  JOTGoogleMapWidget
                      JOTGoogleMapMultipleWidget
Implements
Subclasses
Description
public class JOTGoogleMapMultipleWidget
A widget that renders a google map with a bunch of markers on it (a to z) Expectes the following widgte args: - addresses: pipe(|) separated list of addresses - Each address need to be encoded using JOTWidgetBase.encodeCommas() - gkey : your google Map API key
See also:   
Constructors
public JOTGoogleMapMultipleWidget ()
Methods
Hide/Show inherited methods
public String addGoogleMarker (String address, String letter) [Inherited From JOTGoogleMapWidget]
public void customizeProperties () [Inherited From JOTTitledBoxWidget] [Specified in JOTWidgetBase]
publicstatic String decodeCommas (String value) [Inherited From JOTWidgetBase]
  Put the commas back after parsing the args.
public void dumpWidgetProperties () [Inherited From JOTWidgetBase]
publicstatic String encodeCommas (String value) [Inherited From JOTWidgetBase]
  When passing arguments to a widget they are comma separated, do if an arg value contains a comma this causes problems, so use encodeCommas(argValue) to encode the commas in your args value.
public void executeAjaxCall (JOTFlowRequest request, HttpServletResponse response) throws Exception [Inherited From JOTWidgetBase]
public String getAjaxAction () [Inherited From JOTWidgetNoAjaxBase]
public String getAjaxCallbackJavascript () [Inherited From JOTWidgetNoAjaxBase] [Specified in JOTWidgetBase]
public String getGoogleInit () [Inherited From JOTGoogleMapWidget]
public String getGoogleMapCanvas (String width, String height) [Inherited From JOTGoogleMapWidget]
public String getGoogleScriptString (String googleKey) [Inherited From JOTGoogleMapWidget]
public String getHeight () [Inherited From JOTTitledBoxWidget]
public int getId () [Inherited From JOTWidgetBase]
public String getJscriptCallbackFunctionName () [Inherited From JOTWidgetBase]
public String getJscriptFuncName () [Inherited From JOTWidgetBase]
public String getLinkToGoogle (String address) [Inherited From JOTGoogleMapWidget]
protectedsynchronized int getNextUniqueId () [Inherited From JOTWidgetBase]
  We want each widget in the "page" to have a unique id, to avoid issues with same widget several time in same page So we create a unique id in the request scope which shoudl provide what we wat here.
public String getOverflow () [Inherited From JOTTitledBoxWidget]
public JOTWidgetBaseProperties getProperties () [Inherited From JOTWidgetBase]
public String getShortName () [Inherited From JOTGoogleMapWidget] [Specified in JOTWidgetBase]
public String getShowAllMarkers ()
public String getTitle () [Inherited From JOTGoogleMapWidget] [Specified in JOTTitledBoxWidget]
public String getWidth () [Inherited From JOTTitledBoxWidget]
public void init (HttpServletRequest request, HttpServletResponse response) [Inherited From JOTWidgetBase]
  "Manual" constructor
public void init (JOTView view) [Inherited From JOTWidgetBase]
Standard widdget constructor, calls customizeProperties
public boolean isAjaxEnabled () [Inherited From JOTWidgetNoAjaxBase]
protected Hashtable parseArgs (String args) [Inherited From JOTWidgetBase]
  Parse the args String
public void parseProperties (JOTFlowRequest request) [Inherited From JOTWidgetBase]
public void prepareViewData () throws Exception [Inherited From JOTWidgetBase]
  Will be called when the ajax call is made.
public String render (String args) [Inherited From JOTWidgetBase]
  Will be called by jot, when a widget is found in a view.
public String renderBoxContent (Hashtable args) [Overrides JOTGoogleMapWidget] [Specified in JOTTitledBoxWidget]
public String renderPropertiesScreen (int id) [Inherited From JOTWidgetBase]
public String renderWidget (Hashtable options) [Inherited From JOTTitledBoxWidget] [Specified in JOTWidgetBase]
public boolean validatePermissions () [Inherited From JOTGoogleMapWidget]
public Hashtable widgetAjaxCall (JOTFlowRequest request) [Inherited From JOTWidgetNoAjaxBase] [Specified in JOTWidgetBase]
Fields
Hide/Show inherited fields
protectedfinalstatic Pattern ARG_PATTERN [Inherited From JOTWidgetBase]
public JOTWidgetBaseProperties properties [Inherited From JOTWidgetBase]
public JOTFlowRequest request [Inherited From JOTWidgetBase]
public HttpServletResponse response [Inherited From JOTWidgetBase]
public HttpSession session [Inherited From JOTWidgetBase]
public int uniqueId [Inherited From JOTWidgetBase]
protected JOTView view [Inherited From JOTWidgetBase]
Nested Classes
Generated By: JavaOnTracks Doclet 0.1.5     ©Thibaut Colar