| 
 | |||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
java.lang.Objectorg.opengts.war.tools.MapProviderAdapter
org.opengts.war.maps.JSMap
public class JSMap
| Field Summary | |
|---|---|
| static java.lang.String | DEFAULT_MAP_ID | 
| Constructor Summary | |
|---|---|
| JSMap(java.lang.String name,
      java.lang.String key) | |
| Method Summary | |
|---|---|
| protected  boolean | _skipPropKey(java.lang.Object key)Returns true if the specified key is not to be included in the 'defined propertes' section | 
|  java.lang.String | getMapID()Returns the 'id' of the html tag block contain the map image | 
|  void | writeJavaScript(java.io.PrintWriter out,
                RequestProperties reqState)Writes any required JavaScript to the html stream | 
| protected  void | writeJSIncludes(java.io.PrintWriter out,
                RequestProperties reqState) | 
| protected  void | writeJSIncludes(java.io.PrintWriter out,
                RequestProperties reqState,
                java.lang.String[] jsMapURLs) | 
| protected  void | writeJSVariables(java.io.PrintWriter out,
                 RequestProperties reqState) | 
|  void | writeMapUpdate(int mapDataFormat,
               RequestProperties reqState)Writes the events in XML/JSON format to the http output stream. | 
| static void | writePushpinArray(java.io.PrintWriter out,
                  RequestProperties reqState) | 
|  void | writeStyle(java.io.PrintWriter out,
           RequestProperties reqState)Writes any required CSS to the specified PrintWriter. | 
| Methods inherited from class java.lang.Object | 
|---|
| clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait | 
| Field Detail | 
|---|
public static final java.lang.String DEFAULT_MAP_ID
| Constructor Detail | 
|---|
public JSMap(java.lang.String name,
             java.lang.String key)
| Method Detail | 
|---|
public java.lang.String getMapID()
MapProviderAdapter
getMapID in class MapProviderAdapterprotected boolean _skipPropKey(java.lang.Object key)
key - The property key to test
public void writeStyle(java.io.PrintWriter out,
                       RequestProperties reqState)
                throws java.io.IOException
MapProviderAdapter
writeStyle in interface MapProviderwriteStyle in class MapProviderAdapterout - The PrintWriterreqState - The session RequestProperties
java.io.IOException
protected void writeJSVariables(java.io.PrintWriter out,
                                RequestProperties reqState)
                         throws java.io.IOException
java.io.IOException
public static void writePushpinArray(java.io.PrintWriter out,
                                     RequestProperties reqState)
                              throws java.io.IOException
java.io.IOException
protected void writeJSIncludes(java.io.PrintWriter out,
                               RequestProperties reqState,
                               java.lang.String[] jsMapURLs)
                        throws java.io.IOException
java.io.IOException
protected void writeJSIncludes(java.io.PrintWriter out,
                               RequestProperties reqState)
                        throws java.io.IOException
java.io.IOException
public void writeJavaScript(java.io.PrintWriter out,
                            RequestProperties reqState)
                     throws java.io.IOException
MapProviderAdapter
writeJavaScript in interface MapProviderwriteJavaScript in class MapProviderAdapterout - The handle to the html output streamreqState - The current session state
java.io.IOException
public void writeMapUpdate(int mapDataFormat,
                           RequestProperties reqState)
                    throws java.io.IOException
MapProviderAdapter
writeMapUpdate in interface MapProviderwriteMapUpdate in class MapProviderAdapterreqState - The current session state containing the EventData selection criteria
java.io.IOException| 
 | |||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||