|
GData JavaScript Client 1.9 | ||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
Object | +--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"
url="http://www.google.com/logos/worldcup06.gif"/> </atom:link>
Defined in gdata.js
Field Summary | |
Object |
$gadgetPrefsClass_
|
{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 |
Object $gadgetPrefsClass_
{string|undefined} height
{string|undefined} url
{string|undefined} width
Constructor Detail |
google.gdata.calendar.WebContent(<Object> opt_params)
opt_params
- Optional parameters, each of which is used as the sole parameter to the associated setter method: gadgetPrefs, height, url, and width.
Method Detail |
void addGadgetPref(<google.gdata.calendar.WebContentGadgetPref|Object> gadgetPref)
gadgetPref
- Web content gadget preference to add, or object to use as a parameter to the google.gdata.calendar.WebContentGadgetPref constructor.
google.gdata.calendar.WebContentGadgetPref|Undefined getGadgetPref(<string> name)
name
- Preference name.
Array.<google.gdata.calendar.WebContentGadgetPref> getGadgetPrefs()
number|undefined getHeight()
string|undefined getUrl()
number|undefined getWidth()
void setGadgetPrefs(<Array.<google.gdata.calendar.WebContentGadgetPref>|Array.<Object>|undefined> gadgetPrefs)
gadgetPrefs
- Web content gadget preferences, where each web content gadget preference is added using the addGadgetPref() function, or undefined to clear the web content gadget preferences.
void setHeight(<number|undefined> height)
height
- Height (in pixels) of the <iframe> or <img> element or undefined for none.
void setUrl(<string|undefined> url)
url
- URL of the content to display in the pop-up window or undefined for none.
void setWidth(<number|undefined> width)
width
- Width (in pixels) of the <iframe> or <img> element or undefined for none.
|
GData JavaScript Client 1.9 | ||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |