dojox.presentation.Deck
Object » dijit._Widget » dijit.layout._LayoutWidget » dijit.layout.StackContainer » dojox.presentation.Deck
dojo.require("dojox.presentation._base");
defined in dojox/presentation/_base.js
dojox.presentation class basic powerpoint esque engine for handling transitons and control in a page-by-page and part-by-part way FIXME: parsing part(s)/widget(s) in href="" Slides not working TODO: make auto actions progress. FIXME: Safari keydown/press/up listener not working.
Usage
function ()
parameter | type | description |
---|---|---|
params | Object | Optional. |
srcNodeRef | DomNode|String |
dijit._Contained (from dijit.layout._LayoutWidget), dijit._Container (from dijit.layout._LayoutWidget), dijit._Templated
FunctionsBack to top
Defined by dijit._Container, dijit.layout.StackContainer
Adds a widget to the stack

Defined by dijit.layout.StackContainer
Defined by dijit._Widget, dijit._Templated
Construct the UI for this widget from a template, setting this.domNode.

Defined by dijit.layout.StackContainer
callback when user clicks the [X] to remove a page if onClose() returns true then remove and destroy the child
Defined by dijit._Widget
Connects specified obj/event to specified method of this object and registers for disconnect() on widget destroy. Special event: "ondijitclick" triggers on a click or enter-down or space-up Similar to dojo.connect() but takes three arguments rather than four.
Defined by dijit._Widget
Kick off the life-cycle of a widget
Defined by dijit._Widget, dijit.layout.StackContainer
Destroy this widget, but not its descendants
Defined by dijit._Widget
Recursively destroy the children of this widget and their descendants.
Defined by dijit._Widget
Destroy this widget and it's descendants. This is the generic "destructor" function that all widget users should call to cleanly discard with a widget. Once a widget is destroyed, it's removed from the manager object.
Defined by dijit._Widget
Destroys the DOM nodes associated with this widget
Defined by dijit._Widget
Disconnects handle created by this.connect. Also removes handle from this widget's list of connects

Defined by dijit.layout.StackContainer
Defined by dijit._Widget
Returns all the widgets that contained by this, i.e., all widgets underneath this.containerNode.

get the current hash to set in localtion
Defined by dijit._Contained
Returns null if this is the last child of the parent, otherwise returns the next element sibling to the "right".
Defined by dijit._Contained
Returns the parent widget of this widget, assuming the parent implements dijit._Container
Defined by dijit._Contained
Returns null if this is the first child of the parent, otherwise returns the next element sibling to the "left".
Defined by dijit._Widget
Return true if this widget can currently be focused and false if not
Defined by dijit._Widget
Checks the DOM to for the text direction for bi-directional support

Widgets override this method to size & position their contents/children. When this is called this._contentBox is guaranteed to be set (see resize()). This is called after startup(), and also when the widget's size has been changed.

transition to the next slide.

Defined by dijit._Widget
stub function. Override or connect to this method to receive notifications for when the widget moves out of focus.

Defined by dijit._Widget
Callback if someone tries to close the child, child will be closed if func returns true

Defined by dijit._Widget
stub function. Override or connect to this method to receive notifications for when the widget moves into focus.

stub function? TODOC: ?
Called after a widget's dom has been setup
Defined by dijit._Widget
Called after the parameters to the widget have been read-in, but before the widget template is instantiated. Especially useful to set properties that are referenced in the widget template.
Defined by dijit._Widget

transition to the previous slide

Defined by dijit._Container, dijit.layout.StackContainer
Removes the pane from the stack
Defined by dijit.layout._LayoutWidget
Explicitly set this widget's size (in pixels), and then call layout() to resize contents (and maybe adjust child widgets)

Defined by dijit.layout.StackContainer
Show the given widget (which must be one of my children)
Defined by dijit._Widget
Set native HTML attributes reflected in the widget, such as readOnly, disabled, and maxLength in TextBox widgets.

connect to the various handlers and controls for this presention

Defined by dijit._Widget
Defined by dijit._Widget
stub function. Override to implement custom widget tear-down behavior.
Defined by dijit.layout.StackContainer
Gets the next/previous child widget in this container from the current selection
Defined by dijit._Templated
Iterate through the template and attach functions and nodes accordingly.
Defined by dijit._Templated
relocate source contents to templated container node this.containerNode must be able to receive children, or exceptions will be thrown

Defined by dijit._Container

Defined by dijit._Contained
Defined by dijit._Container
Get the next or previous widget sibling of child
goes to slide

does nothing? _that_ seems useful.

Defined by dijit.layout.StackContainer

hides navigation

returns true||false base of a nodes click-ability

Defined by dijit._Container

Defined by dijit._Widget

main presentation function, determines next 'best action' for a specified event.

Defined by dijit._Widget

Defined by dijit.layout.StackContainer

resize this and children to fix this window/container

sets url #mark to direct slide access

Defined by dijit.layout.StackContainer

Defined by dijit.layout.StackContainer

shows navigation

Defined by dijit._Templated

Overrides dijit.layout.StackContainer
over-ride stackcontainers _transition method but atm, i find it to be ugly with not way to call _showChild() without over-riding it too. hopefull basic toggles in superclass._transition will be available in dijit, and this won't be necessary.
populate navigation select list with refs to slides call this if you add a node to your presentation dynamically.
PropertiesBack to top
Defined by dijit._Widget
A map of attributes and attachpoints -- typically standard HTML attributes -- to set on the widget's dom, at the "domNode" attach point, by default. Other node references can be specified as properties of 'this'
Defined by dijit._Widget
Defined by dijit._Templated
holds child elements. "containerNode" is generally set via a dojoAttachPoint assignment and it designates where children of the src dom node will be placed
Defined by dijit._Widget
Unsupported by Dijit, but here for completeness. Dijit only supports setting text direction on the entire document. Bi-directional support, as defined by the [HTML DIR](http://www.w3.org/TR/html401/struct/dirlang.html#adef-dir) attribute. Either left-to-right "ltr" or right-to-left "rtl".
Defined by dijit._Widget
Defined by dijit._Widget
Defined by dijit.layout.StackContainer
if true, change the size of my currently displayed child to match my size
Defined by dijit._Widget, dijit._Templated
this is our visible representation of the widget! Other DOM Nodes may by assigned to other properties, usually through the template system's dojoAttachPonit syntax, but the domNode property is the canonical "top level" node in widget UI.
unsupported (that i know of) just yet. Default it to take control of window. Would be nice to be able to contain presentation in a styled container, like StackContainer ... theoretically possible. [and may not need this variable?]
Defined by dijit._Widget
a unique, opaque ID string that can be assigned by users or by the system. If the developer passes an ID which is known not to be unique, the specified ID is ignored and the system-generated ID is used instead.
Defined by dijit._Container
Defined by dijit.layout._LayoutWidget
Defined by dijit._Widget
Rarely used. Overrides the default Dojo locale used to render this widget, as defined by the [HTML LANG](http://www.w3.org/TR/html401/struct/dirlang.html#adef-lang) attribute. Value must be among the list of locales specified during by the Dojo bootstrap, formatted according to [RFC 3066](http://www.ietf.org/rfc/rfc3066.txt) (like en-us).
Defined by dijit._Widget
Defined by dijit._Widget
Defined by dijit._Widget
time in MS fadein/out of popup nav [default: 250]
icon for navigation "next" button
if true, prevents _any_ click events to propagate actions (limiting control to keyboard and/or action.on="auto" or action.delay="" actions.
Defined by dijit._Widget
Defined by dijit._Widget
icon for navigation "previous" button
Defined by dijit._Widget
Defined by dijit._Widget
Defined by dijit.layout.StackContainer
References the currently selected child widget, if any
if true, window location bar will get a #link to slide for direct access to a particular slide number.
Defined by dijit._Widget
Defined by dijit._Widget
Defined by dijit._Widget
Defined by dijit._Widget
Defined by dijit._Templated
a node that represents the widget template. Pre-empts both templateString and templatePath.
Overrides dijit._Templated
Path to template (HTML file) for this widget relative to dojo.baseUrl
Overrides dijit._Templated
a string that represents the widget template. Pre-empts the
Defined by dijit._Widget
true to allow navigation popup, false to disallow
Defined by dijit._Widget
Defined by dijit._Widget
Defined by dijit._Templated
should we parse the template to find widgets that might be declared in markup inside it? false by default.
Defined by dijit._Widget
Defined by dijit.layout.StackContainer
Defined by dijit._Widget
Defined by dijit.layout._LayoutWidget
Defined by dijit._Widget
Defined by dijit._Templated
Defined by dijit._Widget, dijit.layout.StackContainer
Defined by dijit._Templated