com.lamatek.tags.google
Class GoogleMapZoomControlTag

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

public class GoogleMapZoomControlTag
extends TagSupport
implements java.io.Serializable

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

Version:
0.40
Author:
Tom Cole

Constructor Summary
GoogleMapZoomControlTag()
           
 
Method Summary
 int doEndTag()
           
 java.lang.String getSize()
          Returns the expected size of this control.
 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.
 void setSize(java.lang.String size)
          Sets the control size.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

GoogleMapZoomControlTag

public GoogleMapZoomControlTag()
Method Detail

doEndTag

public int doEndTag()

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.

getSize

public java.lang.String getSize()
Returns the expected size of this control. 'small' means zoom in (+) and out (-) buttons only, 'large' includes a slider control as well.

Returns:
The current size description.

setSize

public void setSize(java.lang.String size)
Sets the control size. 'small' means zoom in (+) and out (-) buttons only, 'large' includes a slider control as well.

Parameters:
size - 'small' for buttons only, 'large' for a slider.