Tabs Manager Class.
This class implements the TabsManager Element. This element handles tabs contents.
onchangetab | Invoked when Active tab is changed |
Raphael Derosso Pereira raphael@users.sour ceforge.net pereira
Tabs Manager Class. | |
Initialization Method | |
Used to set Caption | |
Returns the contents of each tab | |
Overloaded method that calls just the tabs contents setDisabled method | |
Overloaded method that resets just TabsContents | |
Overwritten method that sets the name of main, contents and tabs panel and refreshes CSS Classes | |
Overwritten thyPanel::setCSSClass method that sets the class of main, tabs panel and contents | |
Sets the caption of a tab. | |
Adds a Panel as a tab contents. | |
Removes the specified tab from Tabs Manager | |
Changes the specified Tab to active state | |
Overwritten method that turns addChild into an alias of addTab | |
Overwritten method that turns removeChild into an alias of removeTab | |
Overwritten method that adds the class to main, contents and tabs panel | |
Overwritten Method that removes the specified CSS Class from main, contents and tabs panel |
p.setCSSClass = function ( type )
Overwritten thyPanel::setCSSClass method that sets the class of main, tabs panel and contents
type | The class type |
p.setActive = function ( tab )
Changes the specified Tab to active state
tab | Can be the thyPanel or just the name of the tab that should be activated |
Initialization Method
p.initThyTabsManager = function ()
Used to set Caption
p.populate = function ( data )
Returns the contents of each tab
p.sweepOut = function ()
Overloaded method that calls just the tabs contents setDisabled method
p.setDisabled = function ( bool )
Overloaded method that resets just TabsContents
p.reset = function ()
Overwritten method that sets the name of main, contents and tabs panel and refreshes CSS Classes
p.setName = function ( name )
Overwritten thyPanel::setCSSClass method that sets the class of main, tabs panel and contents
p.setCSSClass = function ( type )
Sets the CSS Class property of this widget based on its base classes, cssClasses attributes and extra classes
p.setCSSClass = function( type )
Sets the caption of a tab.
p.setCaption = function ( tab, caption )
Adds a Panel as a tab contents.
p.addTab = function ( tab, caption )
Removes the specified tab from Tabs Manager
p.removeTab = function( tab )
Changes the specified Tab to active state
p.setActive = function ( tab )
Overwritten method that turns addChild into an alias of addTab
p.addChild = function ( caption, tab )
Overwritten method that turns removeChild into an alias of removeTab
p.removeChild = function( tab )
Overwritten method that adds the class to main, contents and tabs panel
p._addCSSClass = function ( cssClass )
Overwritten Method that removes the specified CSS Class from main, contents and tabs panel
p._removeCSSClass = function ( cssClass )