CAF Noodle JavaScript

Class Noodle.Row.Model

Object
   |
   +--Noodle.Model
         |
         +--Noodle.Row.Model
Direct Known Subclasses:
Noodle.Page.Model, Noodle.Row.RowOnlyModel

class Noodle.Row.Model
extends Noodle.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

Noodle.Row.Model()

Method Detail

_del

<static> void _del()

createDraggable

<static> Object createDraggable()

del

<static> void del()

edit

<static> void edit()

getBody

<static> Object getBody()

getColumns

<static> Object getColumns()

getDefaultLayoutColumnProperties

<static> void getDefaultLayoutColumnProperties(colNum)

getGeneralLayoutPropertiesHTML

<static> Object getGeneralLayoutPropertiesHTML(<string> pfx, <string> rfx)

getLayout

<static> Object getLayout()

getMainRow

<static> Object getMainRow()

getPage

<static> Object getPage()

getPortlets

<static> Object getPortlets()

getPropertiesPanels

<static> Object getPropertiesPanels()

getRows

<static> Object getRows()

getTitlebar

<static> Object getTitlebar()

initialize

<static> void initialize()

initLayout

<static> Object initLayout(layout)

layoutMode

<static> void layoutMode()

layoutSubmit

<static> void layoutSubmit()

minimize

<static> void minimize()

onExpertMode

<static> void onExpertMode(<string> mode, <string> oldMode)

release

<static> void release()

setLayout

<static> void setLayout(<object> layout)

setMode

<static> void setMode(<string> mode)

submitProperties

<static> void submitProperties()

toggleProperties

<static> Object toggleProperties(<string> mode)

view

<static> void view()

CAF Noodle JavaScript

Documentation generated by JSDoc on Fri Sep 20 11:58:17 2013