|
CAF Noodle JavaScript | ||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES All Classes | ||||||||
SUMMARY: FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
Object | +--Noodle.Model | +--Noodle.Row.Model
Base noodle row model.
Defined in row.js
Constructor Summary | |
Noodle.Row.Model
()
|
Method Summary | |
<static> void
|
_del()
Delete implementation. |
<static> Object
|
createDraggable()
Create the noodle row draggable item. |
<static> void
|
del()
Deletes this row. |
<static> void
|
edit()
Set edit mode. |
<static> Object
|
getBody()
Gets this row's body. |
<static> Object
|
getColumns()
Array of "portlet-column" table cells (td elements). |
<static> void
|
getDefaultLayoutColumnProperties(colNum)
Default properties for new layout.column, optionally for specified total number of columns. |
<static> Object
|
getGeneralLayoutPropertiesHTML(<string> pfx, <string> rfx)
General layout properties html (for edit layout panel). |
<static> Object
|
getLayout()
Layout properties for this row and its columns. |
<static> Object
|
getMainRow()
Gets the main row of a page, or the simply the element of a row. |
<static> Object
|
getPage()
This row's page model. |
<static> Object
|
getPortlets()
Array of all the "portlet-container" descendant divs in this row. |
<static> Object
|
getPropertiesPanels()
Returns map of properties panel names to content divs, or null if properties panel doesn't exist. |
<static> Object
|
getRows()
Array of all the "portlet-row" descendant divs in this row. |
<static> Object
|
getTitlebar()
Gets this row's drag titlebar. |
<static> void
|
initialize()
Initialize noodle row model. |
<static> Object
|
initLayout(layout)
Fill in layout data from the page as it has been rendered. |
<static> void
|
layoutMode()
Toggles portlet into layout mode. |
<static> void
|
layoutSubmit()
Submits layout properties panel. |
<static> void
|
minimize()
Minimizes this row. |
<static> void
|
onExpertMode(<string> mode, <string> oldMode)
Handles expert-mode change. |
<static> void
|
release()
Releases the noodle row data structures. |
<static> void
|
setLayout(<object> layout)
Update the layout of this row and its columns with the specified layout data. |
<static> void
|
setMode(<string> mode)
Sets the current mode. |
<static> void
|
submitProperties()
Submit the full properties panel. |
<static> Object
|
toggleProperties(<string> mode)
Switches among properties sub-modes. |
<static> void
|
view()
Restores this row. |
Constructor Detail |
Noodle.Row.Model()
Method Detail |
<static> void _del()
<static> Object createDraggable()
<static> void del()
<static> void edit()
<static> Object getBody()
<static> Object getColumns()
<static> void getDefaultLayoutColumnProperties(colNum)
colNum
- Total number of columns.
<static> Object getGeneralLayoutPropertiesHTML(<string> pfx, <string> rfx)
pfx
- Id prefix.
rfx
- Resource-key prefix.
<static> Object getLayout()
<static> Object getMainRow()
<static> Object getPage()
<static> Object getPortlets()
<static> Object getPropertiesPanels()
<static> Object getRows()
<static> Object getTitlebar()
<static> void initialize()
<static> Object initLayout(layout)
layout
- Initial layout object.
<static> void layoutMode()
<static> void layoutSubmit()
<static> void minimize()
<static> void onExpertMode(<string> mode, <string> oldMode)
mode
- New mode.
oldMode
- Old mode.
<static> void release()
<static> void setLayout(<object> layout)
layout
- Current layout object.
<static> void setMode(<string> mode)
mode
- Mode to make current.
<static> void submitProperties()
<static> Object toggleProperties(<string> mode)
mode
- New properties sub-mode.
<static> void view()
|
CAF Noodle JavaScript | ||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES All Classes | ||||||||
SUMMARY: FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |