|
CAF Noodle JavaScript | ||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
Object | +--Noodle.Model | +--Noodle.Tab.Model
Base noodle page model methods.
Defined in tab.js
Constructor Summary | |
Noodle.Tab.Model
()
|
Method Summary | |
<static> void
|
close(<string> redirectURL)
Close the tab. |
<static> void
|
closeOthers()
Close all tabs except this tab. |
<static> void
|
confirmClose()
Display close-tab confirmation dialog. |
<static> void
|
confirmCloseOthers()
Display close-other-tabs confirmation dialog. |
<static> void
|
confirmDeleteWorkspace()
Display a dialog confirming deletion of a workspace. |
<static> void
|
createMenuItems()
Create the tab menu items. |
<static> void
|
del()
Handle the application tab 'delete' tab menu action. |
<static> void
|
deleteWorkspace()
Handle the workspace 'delete' tab menu action. |
<static> void
|
edit()
Edits the properties of this tab. |
<static> Object
|
getMenuCSS()
Get the tab menu CSS. |
<static> Object
|
getNDTab(<int> offset)
Gets the ND_Tab object for this Noodle tab. |
<static> void
|
hide(<optional> redirectURL)
Hide the tab. |
<static> void
|
initialize()
Initialize tab model. |
<static> Object
|
isSelected()
Tells whether tab is selected. |
<static> void
|
load()
Loads this tab. |
<static> void
|
onClean(eventName, srcObject)
Handle page undirty event. |
<static> void
|
onDirty(eventName, srcObject)
Handle page dirty event. |
<static> void
|
onMetadataChange(eventName, srcObject)
|
<static> void
|
open()
Open the tab's link. |
<static> void
|
promptRename()
Displays a dialog allowing a tab to be renamed. |
<static> void
|
release()
Release tab model data structures. |
<static> void
|
rename( newName, <boolean> fireEvents )
Rename the tab. |
<static> void
|
save()
Saves this tab. |
<static> void
|
saveAs()
Saves this tab as a new page. |
<static> void
|
setIcon()
Set the icon URL. |
<static> void
|
setSelected(<boolean> selected)
Selects/deselects this tab. |
<static> void
|
share()
Shows the sharing dialog. |
<static> void
|
show()
Show the tab. |
<static> void
|
showURL()
Shows the friendly url for this tab. |
Constructor Detail |
Noodle.Tab.Model()
Method Detail |
<static> void close(<string> redirectURL)
redirectURL
- Url to which to redirect after close this tab.
<static> void closeOthers()
<static> void confirmClose()
<static> void confirmCloseOthers()
<static> void confirmDeleteWorkspace()
<static> void createMenuItems()
<static> void del()
<static> void deleteWorkspace()
<static> void edit()
<static> Object getMenuCSS()
<static> Object getNDTab(<int> offset)
offset
- Optionally get the next (1) or previous (-1) ND_Tab.
<static> void hide(<optional> redirectURL)
redirectURL
- Url in which to redirect after this tab is hidden.
<static> void initialize()
<static> Object isSelected()
<static> void load()
<static> void onClean(eventName, srcObject)
<static> void onDirty(eventName, srcObject)
<static> void onMetadataChange(eventName, srcObject)
<static> void open()
<static> void promptRename()
promptMessage
- Tab rename prompt message.
promptTabName
- Default tab name input value.
<static> void release()
<static> void rename( newName, <boolean> fireEvents )
fireEvents
- True to fire events.
newTabName
- New tab name.
<static> void save()
<static> void saveAs()
<static> void setIcon()
<static> void setSelected(<boolean> selected)
selected
- True to select (default), false to deselect.
<static> void share()
<static> void show()
<static> void showURL()
|
CAF Noodle JavaScript | ||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |