com.lamatek.tags.google
Class GoogleMapCoordinatesTag

java.lang.Object
  extended by TagSupport
      extended by com.lamatek.tags.google.GoogleMapCoordinatesTag

public class GoogleMapCoordinatesTag
extends TagSupport

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

Version:
0.96b
Author:
Tom Cole

Constructor Summary
GoogleMapCoordinatesTag()
           
 
Method Summary
 int doStartTag()
          Overrides doStartTag() from TagSupport.
 java.lang.String getCss_class()
          Returns the CSS class name for the div that displays the coordinates.
 java.lang.String getStyle()
          Returns the style attribute set for the div tag that displays the coordinates.
 int getX()
          Returns the x coordinate of the dov tag's upper left hand corner placement.
 int getY()
          Returns the y coordinate of the dov tag's upper left hand corner placement.
 void setCss_class(java.lang.String css_class)
          Sets the CSS class name for the div that displays the coordinates.
 void setStyle(java.lang.String style)
          Sets the css style attribute for the div tag that displays the coordinates.
 void setX(int x)
          Sets the x coordinate (in pixles) of the desired placement of the upper left hand corner of the div tag that displays the coordinates.
 void setY(int y)
          Sets the y coordinate (in pixles) of the desired placement of the upper left hand corner of the div tag that displays the coordinates.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

GoogleMapCoordinatesTag

public GoogleMapCoordinatesTag()
Method Detail

doStartTag

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


getCss_class

public java.lang.String getCss_class()
Returns the CSS class name for the div that displays the coordinates.

Returns:
A CSS class name.

setCss_class

public void setCss_class(java.lang.String css_class)
Sets the CSS class name for the div that displays the coordinates.

Parameters:
css_class - A valid class name defined in the css.

getStyle

public java.lang.String getStyle()
Returns the style attribute set for the div tag that displays the coordinates.

Returns:
A css style attribute

setStyle

public void setStyle(java.lang.String style)
Sets the css style attribute for the div tag that displays the coordinates.

Parameters:
style - A valid css style string.

getX

public int getX()
Returns the x coordinate of the dov tag's upper left hand corner placement.

Returns:
The x location of the upper left hand corner in pixels.

setX

public void setX(int x)
Sets the x coordinate (in pixles) of the desired placement of the upper left hand corner of the div tag that displays the coordinates.

Parameters:
x - The placement x coordinate (in pixels)

getY

public int getY()
Returns the y coordinate of the dov tag's upper left hand corner placement.

Returns:
The y location of the upper left hand corner in pixels.

setY

public void setY(int y)
Sets the y coordinate (in pixles) of the desired placement of the upper left hand corner of the div tag that displays the coordinates.

Parameters:
y - The placement y coordinate (in pixels)