Class DHTMLSuite.tabView

Object
   |
   +--DHTMLSuite.tabView

class DHTMLSuite.tabView


Purpose of class: Tab view class-transfors plain HTML into tabable layers.
(See demo 1 and demo 2)
Defined in dhtml-suite-for-applications.js

Author: Alf Magne Kalleland(www.dhtmlgoodies.com)
Version: 1.0


Field Summary
 Object ajaxObjects
          
 Object callbackOnTabSwitch
          
 Object closeButtons
          
 Object dynamicContentObj
          
 Object height
          
 Object initActiveTabIndex
          
 Object layoutCSS
          
 Object maxNumberOfTabs
          
 Object refActiveTabContent
          
 Object strictDocType
          
 Object tabTitles
          
 Object textPadding
          
 Object width
          
 
Constructor Summary
DHTMLSuite.tabView ()
           
 
Method Summary
 void addContentToTab(tabLabel,filePath)
           Add content to a tab dynamically.
 Object createNewTab(parentId,tabTitle,tabContent,tabContentUrl,closeButton)
           Creates new tab dynamically
 void deleteTab(tabLabel,tabIndex)
           Delete a tab
 Object displayATab(tabLabel,tabIndex)
           Display a tab manually
 Object getMaximumNumberOfTabs()
           Return maximum number of tabs
 Object getReferenceToDivElementById(idOfTab)
           Returns a reference to the div element of a tab.
 Object getReferenceToDivElementByTitle(tabTitle)
           Returns a reference to the div element of a tab.
 Integer tabIndex=Index of active tab(0=first tab) getTabIndex()
           Return index of active tab
 Object getTabTitle()
           return active tab title
 void init()
           Initialize the script
 void setCallbackOnTabSwitch(callbackOnTabSwitch)
           Set callback on tab switch
 void setCloseButtons(closeButtons)
           Specify which tabs that should have close buttons
 void setHeight(newHeight)
           Set height of tab view on tabs
 void setIndexActiveTab(indexOfNewActiveTab)
           Set index of initially active tab
 void setMaximumTabs(maximumNumberOfTabs)
           Set maximum number of tabs
 void setParentId(idOfParentHTMLElement)
           Set padding on tabs
 void setTabTitles(titleOfTabs)
           Set title of tabs
 void setWidth(newWidth)
           Set width of tab view

Field Detail

ajaxObjects

Object ajaxObjects

callbackOnTabSwitch

Object callbackOnTabSwitch

closeButtons

Object closeButtons

dynamicContentObj

Object dynamicContentObj

height

Object height

initActiveTabIndex

Object initActiveTabIndex

layoutCSS

Object layoutCSS

maxNumberOfTabs

Object maxNumberOfTabs

refActiveTabContent

Object refActiveTabContent

strictDocType

Object strictDocType

tabTitles

Object tabTitles

textPadding

Object textPadding

width

Object width

Constructor Detail

DHTMLSuite.tabView

DHTMLSuite.tabView()

Method Detail

addContentToTab

void addContentToTab(tabLabel,filePath)

createNewTab

Object createNewTab(parentId,tabTitle,tabContent,tabContentUrl,closeButton)

deleteTab

void deleteTab(tabLabel,tabIndex)

displayATab

Object displayATab(tabLabel,tabIndex)

getMaximumNumberOfTabs

Object getMaximumNumberOfTabs()

getReferenceToDivElementById

Object getReferenceToDivElementById(idOfTab)

getReferenceToDivElementByTitle

Object getReferenceToDivElementByTitle(tabTitle)

getTabIndex

Integer tabIndex=Index of active tab(0=first tab) getTabIndex()

getTabTitle

Object getTabTitle()

init

void init()

setCallbackOnTabSwitch

void setCallbackOnTabSwitch(callbackOnTabSwitch)

setCloseButtons

void setCloseButtons(closeButtons)

setHeight

void setHeight(newHeight)

setIndexActiveTab

void setIndexActiveTab(indexOfNewActiveTab)

setMaximumTabs

void setMaximumTabs(maximumNumberOfTabs)

setParentId

void setParentId(idOfParentHTMLElement)

setTabTitles

void setTabTitles(titleOfTabs)

setWidth

void setWidth(newWidth)


Documentation generated by JSDoc on Mon Oct 8 10:17:27 2007