GData JavaScript Client 2.0

Class google.gdata.calendar.WebContent

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

class google.gdata.calendar.WebContent


Describes a "web content" extension. For example: <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" display="ICON" url="http://www.google.com/logos/worldcup06.gif"/> </atom:link>
Defined in gdata.js


Field Summary
 Object $gadgetPrefsClass_
          
 {string|undefined} display
          Determine how the event is drawn.
 {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.
<static>  <final> {string} DISPLAY_CHIP
          Show a chip with an icon on it.
<static>  <final> {string} DISPLAY_ICON
          Only show an icon (the default).
 
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.
 string|undefined getDisplay()
           Returns the determine how the event is drawn.
 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 setDisplay(<string|undefined> display)
           Sets the determine how the event is drawn.
 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

$gadgetPrefsClass_

Object $gadgetPrefsClass_

display

{string|undefined} display

height

{string|undefined} height

url

{string|undefined} url

width

{string|undefined} width

DISPLAY_CHIP

<static> <final> {string} DISPLAY_CHIP

DISPLAY_ICON

<static> <final> {string} DISPLAY_ICON

Constructor Detail

google.gdata.calendar.WebContent

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

Method Detail

addGadgetPref

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

getDisplay

string|undefined getDisplay()

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()

setDisplay

void setDisplay(<string|undefined> display)

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 2.0

Documentation generated by JSDoc on Tue Sep 22 18:28:55 2009