Class adf.PageElement
Defined in: core.js.
Constructor Attributes | Constructor Name and Description |
---|---|
adf.PageElement(id, left, top, width, height)
Represents an visual element on an HTML document.
|
Field Attributes | Field Name and Description |
---|---|
Represents the position of the element in rectangular form
|
|
The id of the containing div element
|
|
The containing DIV element
|
|
The unique id of the element
|
Method Attributes | Method Name and Description |
---|---|
hide()
Hides the element.
|
|
resize(width, height)
Resizes the element by modifying the values for width and height.
|
|
show()
Shows the element.
|
Class Detail
adf.PageElement(id, left, top, width, height)
Represents an visual element on an HTML document. The primary purpose for this is to maintain a uniform set of properties to
describe the position of an element. This object serves as a base class for all of the ADF webcontrols.
- Parameters:
- id
- {String} the id of the object
- 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
{adf.Rectangle}
bounds
Represents the position of the element in rectangular form
{String}
divId
The id of the containing div element
{Element}
divObject
The containing DIV element
{String}
id
The unique id of the element
Method Detail
hide()
Hides the element. Uses adf.Utils.hideElement internally.
resize(width, height)
Resizes the element by modifying the values for width and height.
- Parameters:
- {Integer} width
- the pixel value to change the width to
- {Integer} height
- the pixel value to change the height to
show()
Shows the element. Uses adf.Utils.showElement internally.