Klipfolio Dashboard 5 API

Object Page

Object
   |
   +--Page

A Page is an individual panel in a logical process. A collection of Page object makes up a Stack object, a collection of which in turn creates an Actions.Window.

One or more of the following 3 buttons may be added:

For an example of how to use the Page object, see Actions.Window.


Properties Summary
 String back
          Specifies the text to display on the Back button for that page.
 String done
          Specifies the text to display on the Done button for that page.
 String next
          Specifies the text to display on the Next button for that page.
 String title
          Text shown in the window's title bar.
   
Function Summary
 Button addButton( <String> label )
           Adds a Button component with the specified label to this page.
 Checkbox addCheckbox( <String> label )
           Adds a Checkbox component with the specified label to this page.
 ComboBox addComboBox( <String> item1 [, <String> item2] [, ...] )
           Adds a ComboBox component with the specified items to this page.
 ListControl addListControl( [<boolean> checked [, <boolean> multiselect [, <String> item1 [, <String> item2 [, etc ...]]]]] )
           Adds a ListControl component to this page.
 Spacer addSpacer( [<boolean> line] )
           Adds a Spacer component with the option of making it visible as a horizontal line.
 Text addText( <String> label )
           Adds a Text component with the specified label this page.
 TextArea addTextArea( [<String> text] )
           Adds a TextArea component with the optional default text to this page.
 TextField addTextField( <String> text [, <boolean> obscured] )
           Adds a TextField component with default text to this page.
 function onBack( <String> current_page )
           Handler Function that is called when the user clicks the Back button.
 function onDone( <String> current_page )
           Handler Function that is called when the user clicks the Done button.
 function onNext( <String> current_page )
           Handler Function that is called when the user clicks the Next button.
 function setError( <String> error_msg )
           Shows error_msg as an error message on the page.

Properties Detail

back

String back

done

String done

next

String next

title

String title

Function Detail

addButton

Button addButton( <String> label )

addCheckbox

Checkbox addCheckbox( <String> label )

addComboBox

ComboBox addComboBox( <String> item1 [, <String> item2] [, ...] )

addListControl

ListControl addListControl( [<boolean> checked [, <boolean> multiselect [, <String> item1 [, <String> item2 [, etc ...]]]]] )

addSpacer

Spacer addSpacer( [<boolean> line] )

addText

Text addText( <String> label )

addTextArea

TextArea addTextArea( [<String> text] )

addTextField

TextField addTextField( <String> text [, <boolean> obscured] )

onBack

function onBack( <String> current_page )

onDone

function onDone( <String> current_page )

onNext

function onNext( <String> current_page )

setError

function setError( <String> error_msg )

Klipfolio Dashboard 5 API

© 2009 Klipfolio Inc. All Rights Reserved.