View
Extends
Node.
The View class defines methods for adding panels, saving views, and retrieving view context and a list of panels.
Defined in: mosaicDOM.js.
| Constructor Attributes | Constructor Name and Description |
|---|---|
|
View(o)
Constructor.
|
| Method Attributes | Method Name and Description |
|---|---|
|
addPanel(p)
Adds a new panel instance to the view.
|
|
|
Returns the context for the view.
|
|
|
Returns an array of panels that exist within a view.
|
- Methods borrowed from class Node:
- display, getChildrenNodes, getDisplayed, getNodeId, getNodeLabel, getNodeName, getNodeType, getParentNode, setNodeLabel
Detail
View(o)
Constructor. Note: This constructor is for internal use only. Do not use.
- Parameters:
- o
- DOM object being wrapped from Flex.
Method Detail
addPanel(p)
Adds a new panel instance to the view.
- Parameters:
- p
- A panel instance.
getContext()
Returns the context for the view. View contexts are specific to each particular view.
- Returns:
- The
Contextobject for this view.
getPanels()
Returns an array of panels that exist within a view.
- Returns:
- An array of
Panelobjects.

