Klipfolio Dashboard 5 API

Object Spacer

Object
   |
   +--Spacer

The Spacer object is a non-interactive component that separates other components in a Tab object.

Use myTab.addSpacer() to add a spacer to a tab, where myTab is a Tab object.

Example

The following Klip creates a new tab called 'New Tab' with Text and Spacer components..
 function onLoad() {
 
     // Create a new tab
     var tab = Setup.addTab( "New Tab" );
 
     // Add a checkbox to the tab
     tab.addText( "Welcome to Klipfolio Dashboard.");
     tab.addSpacer( true );
     
     tab.addText( "Klipfolio Dashboard is a real-time information 
 			awareness and notification platform.");
     tab.addSpacer( false );
     
     tab.addText( "http://www.serence.com/");
 }
 
The above call to Setup.addTab( "New Tab" ) adds a new Tab object to the Klip's Setup array.

Each Tab object in the Setup array corresponds to a tab in a Klip's Customize window. This window is visible when a user right-clicks on a Klip and chooses the command 'Customize Klip...'

Each Tab object can have multiple UI components, and each Klip can have multiple tabs. Use the Button, Checkbox, ComboBox, ListControl, Spacer, Text, TextArea, and TextField objects in a tab to enable users to configure the Klip to their preferences.


Properties Summary
 boolean bevel
          Specifies whether this component displays a horizontal line for added visual separation.
   

Properties Detail

bevel

boolean bevel

Klipfolio Dashboard 5 API

© 2009 Klipfolio Inc. All Rights Reserved.