Class Index | File Index

Classes


Class adf.Control


Extends adf.PageElement.

Defined in: core.js.

Class Summary
Constructor Attributes Constructor Name and Description
 
adf.Control(id, type, left, top, width, height)
Represents a ADF webcontrol.
Field Summary
Field Attributes Field Name and Description
 
 
 
 
id
 
 
 
Method Summary
Method Attributes Method Name and Description
 
addUpdateListener(name, listener)
Adds an "updateListener" function to this control
 
Removes an "updateListener" that was added by using adf.Control.addUpdateListener.
Methods borrowed from class adf.PageElement:
hide, resize, show
Class Detail
adf.Control(id, type, left, top, width, height)
Represents a ADF webcontrol. Servers as a base class to provide adf.PageElement functionality along with a simple framework for updating related JavaScript objects asyncronously by maintaining a list of "updateListeners" who will be notified of control updates via {@adf.Controls.processPostBackXML}.
Parameters:
id
{String} the control's id
type
{String} a single word description of the control (ie: map, overview, toc...)
left
{Integer} the pixel value for the CSS left position property
top
{Integer} the pixel value for the CSS top position property
width
{Integer} the pixel value for the CSS width property
height
{Integer} the pixel value for the CSS height property
Field Detail
bounds

divId

divObject

id

type

updateListenerNames

updateListeners
Method Detail
addUpdateListener(name, listener)
Adds an "updateListener" function to this control
Parameters:
name
{String} serves as a key to identify the listener by
listener
{Function} the callback funtion to call when notified of an update

removeUpdateListener(name)
Removes an "updateListener" that was added by using adf.Control.addUpdateListener.
Parameters:
name
{String} the name of the listener to remove

Documentation generated by JsDoc Toolkit 2.1.0 on Mon May 17 2010 13:45:41 GMT-0700 (PDT)