com.lamatek.tags.google
Class GoogleMapScaleControlTag

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

public class GoogleMapScaleControlTag
extends TagSupport
implements java.io.Serializable

GoogleMapScaleControlTag This class represents a <googlemaps;scaleControl> tag. Developers should not subclass or override this class or it's methods.

Version:
0.40
Author:
Tom Cole

Constructor Summary
GoogleMapScaleControlTag()
           
 
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

GoogleMapScaleControlTag

public GoogleMapScaleControlTag()
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.