GData JavaScript Client 1.0

Class google.gdata.calendar.WebContent

Object
   |
   +--google.gdata.calendar.WebContent

class google.gdata.calendar.WebContent


A "web content" extension, which looks something like:

<atom:link rel="http://schemas.google.com/gCal/2005/webContent" title="World Cup" href="http://www.google.com/calendar/images/google-holiday.gif" type="image/gif"> <gCal:webContent width="276" height="120" url="http://www.google.com/logos/worldcup06.gif"/> </atom:link>.
Defined in gdata.js


Field Summary
 String|Undefined height
          Height (in pixels) of the <iframe> or <img> element.
 String|Undefined url
          URL of the content to display in the pop-up window.
 String|Undefined width
          Width (in pixels) of the <iframe> or <img> element.
 
Constructor Summary
google.gdata.calendar.WebContent(<Object> opt_params)
            Constructs a web content using an object parameter whose property names match the setter method to use for each property.
 
Method Summary
 void addGadgetPref(<google.gdata.calendar.WebContentGadgetPref|Object> gadgetPref)
           Adds a new web content gadget preference.
 google.gdata.calendar.WebContentGadgetPref|Undefined getGadgetPref(<String> name)
           Returns the web content gadget preference of a given name.
 Array.<google.gdata.calendar.WebContentGadgetPref> getGadgetPrefs()
           Returns the web content gadget preferences.
 Number|Undefined getHeight()
           Returns the height (in pixels) of the <iframe> or <img> element.
 String|Undefined getUrl()
           Returns the URL of the content to display in the pop-up window.
 Number|Undefined getWidth()
           Returns the width (in pixels) of the <iframe> or <img> element.
 void setGadgetPrefs(<Array.<google.gdata.calendar.WebContentGadgetPref>|Array.<Object>|Undefined> gadgetPrefs)
           Sets the web content gadget preferences.
 void setHeight(<Number|Undefined> height)
           Sets the height (in pixels) of the <iframe> or <img> element.
 void setUrl(<String|Undefined> url)
           Sets the URL of the content to display in the pop-up window.
 void setWidth(<Number|Undefined> width)
           Sets the width (in pixels) of the <iframe> or <img> element.

Field Detail

height

String|Undefined height

url

String|Undefined url

width

String|Undefined width

Constructor Detail

google.gdata.calendar.WebContent

google.gdata.calendar.WebContent(<Object> opt_params)

Method Detail

addGadgetPref

void addGadgetPref(<google.gdata.calendar.WebContentGadgetPref|Object> gadgetPref)

getGadgetPref

google.gdata.calendar.WebContentGadgetPref|Undefined getGadgetPref(<String> name)

getGadgetPrefs

Array.<google.gdata.calendar.WebContentGadgetPref> getGadgetPrefs()

getHeight

Number|Undefined getHeight()

getUrl

String|Undefined getUrl()

getWidth

Number|Undefined getWidth()

setGadgetPrefs

void setGadgetPrefs(<Array.<google.gdata.calendar.WebContentGadgetPref>|Array.<Object>|Undefined> gadgetPrefs)

setHeight

void setHeight(<Number|Undefined> height)

setUrl

void setUrl(<String|Undefined> url)

setWidth

void setWidth(<Number|Undefined> width)

GData JavaScript Client 1.0

Documentation generated by JSDoc on Fri Sep 14 16:32:36 2007