Class Index | File Index

Classes


Namespace BTM.UI

UI Classes and Functions
Defined in: ui.js.

Namespace Summary
Constructor Attributes Constructor Name and Description
 
Method Summary
Method Attributes Method Name and Description
<static>  
BTM.UI.makeDatePicker(element)
Convenience Function to create an Date Picker
<static>  
BTM.UI.makeImageViewer(element)
Convenience Function to create an Image Viewer
<static>  
BTM.UI.makeTabs(element)
Convenience Function to create a new set of Dynamic Tabs
<static>  
BTM.UI.makeTreeView(element)
Convenience Function to create a new Tree View
<static>  
BTM.UI.scaleTo(originalWidth, originalHeight, maxWidth, maxHeight)
Scale an object down to fit into the specified area while maintaining the aspect ratio
Namespace Detail
BTM.UI
Method Detail
<static> {BTM.UI.DatePicker} BTM.UI.makeDatePicker(element)
Convenience Function to create an Date Picker
Parameters:
{HTMLElement|String} element
element ID or reference to element to bind Date Picker to
Returns:
{BTM.UI.DatePicker} new Date Picker object
See:
BTM.UI.DatePicker

<static> {BTM.UI.ImageViewer} BTM.UI.makeImageViewer(element)
Convenience Function to create an Image Viewer
Parameters:
{HTMLElement|String} element
element ID or reference to element containing links to images
Returns:
{BTM.UI.ImageViewer} new Image Viewer object
See:
BTM.UI.ImageViewer

<static> {BTM.UI.Tabs} BTM.UI.makeTabs(element)
Convenience Function to create a new set of Dynamic Tabs
Parameters:
{HTMLElement|String} element
element ID or reference to element to build Dynamic Tabs from
Returns:
{BTM.UI.Tabs} new Dynamic Tab set object
See:
BTM.UI.Tabs

<static> {BTM.UI.TreeView} BTM.UI.makeTreeView(element)
Convenience Function to create a new Tree View
Parameters:
{HTMLElement|String} element
element ID or reference to element to build Tree View from
Returns:
{BTM.UI.TreeView} new Tree View object
See:
BTM.UI.TreeView

<static> {Object} BTM.UI.scaleTo(originalWidth, originalHeight, maxWidth, maxHeight)
Scale an object down to fit into the specified area while maintaining the aspect ratio
Parameters:
{Number} originalWidth
the objects normal width
{Number} originalHeight
the objects normal height
{Number} maxWidth
the maximum width the object can be
{Number} maxHeight
the maximum height the object can be
Returns:
{Object} an object with 'height' and 'width' properties

Documentation generated by JsDoc Toolkit 2.1.0 on Tue Feb 03 2009 04:12:53 GMT+1100 (EST)