com.lamatek.tags.google
Class GoogleMapPanControlTag

java.lang.Object
  extended by TagSupport
      extended by com.lamatek.tags.google.GoogleMapPanControlTag
All Implemented Interfaces:
java.io.Serializable

public class GoogleMapPanControlTag
extends TagSupport
implements java.io.Serializable

GoogleMapPanControlTag This class represents a <googlemaps:panControl> tag. Developers should not extend or override this class or it's methods.

Version:
0.40
Author:
Tom Cole

Constructor Summary
GoogleMapPanControlTag()
           
 
Method Summary
 int doEndTag()
          Overrides doEndTag() from TagSupport.
 boolean isEnable()
          Denotes whether or not the map will allow the user to pan the map.
 void setEnable(boolean enable)
          Sets whether or not users should be allowed to pan the map.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

GoogleMapPanControlTag

public GoogleMapPanControlTag()
Method Detail

doEndTag

public int doEndTag()
Overrides doEndTag() from TagSupport. Developers should not override this method.


isEnable

public boolean isEnable()
Denotes whether or not the map will allow the user to pan the map.

Returns:
True if users can pan the map, false if not.

setEnable

public void setEnable(boolean enable)
Sets whether or not users should be allowed to pan the map. If set to false, users can only see the section of map currently displayed.

Parameters:
enable - True to let users pan, false otherwise.