Class DHTMLSuite.paneSplitter

Object
   |
   +--DHTMLSuite.paneSplitter

class DHTMLSuite.paneSplitter


Purpose of class: Creates a pane splitter. (Demo)
Defined in dhtml-suite-for-applications.js

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


Field Summary
 Object collapseExpandButtons
          
 Object dataModel
          
 Object horizontalSplitterBorderSize
          
 Object horizontalSplitterSize
          
 Object layoutCSS
          
 Object objectIndex
          
 Object paneBorderLeftPlusRight
          
 Object panes
          
 Object panesAssociative
          
 Object paneSizeCollapsed
          
 Object paneSplitterHandleOnResize
          
 Object paneSplitterHandles
          
 Object paneZIndexCounter
          
 Object resizeCounter
          
 Object resizeInProgress
          
 Object slideSpeed
          
 Object verticalSplitterSize
          
 Object waitMessage
          
 
Constructor Summary
DHTMLSuite.paneSplitter ()
           
 
Method Summary
 Object addContent(panePosition,contentModel,onCompleteJsCode)
           Add content to a pane
 void addModel(newModel)
           Add datasource for the pane splitter
 Object closeAllClosableTabs(panePosition)
           Close all closable tabs, i.e.
 void collapsePane(panePosition)
           Use this method when you manually want to collapse a pane
 void deleteContentById(id)
           Delete content from a pane by index
 void deleteContentByIndex(panePosition,contentIndex)
           Delete content from a pane by index
 void expandPane(panePosition)
           Use this method when you manually want to expand a pane
 Object getHtmlElIdOfCurrentlyDisplayedContent(panePosition)
           Returns html element id of the content currently being displayed - active tab.
 Object getIdOfCurrentlyDisplayedContent(panePosition)
           Returns id of the content currently being displayed - active tab.
 Object getReferenceToMainDivElOfPane(panePosition)
           Get reference to main div element of a pane.
 Object getSizeOfPaneInPixels(panePosition)
           Returns id of the content currently being displayed - active tab.
 Object getState(panePosition)
           Get state of pane
 Object hidePane(panePosition)
           Hide a pane
 void init()
           Initializes the script
 Object isUrlLoadedInPane(id,url)
           This method returns true if content with a specific url exists inside a specific content container.
 void loadContent(id,url,refreshAfterSeconds,onCompleteJsCode)
           This method loads content from server and inserts it into the pane with the given id If you want the content to be displayed directly, remember to call the showContent method too.
 void reloadContent(id)
           Reloads ajax content
 void setAjaxWaitMessage(newWaitMessage)
           Specify ajax wait message - message displayed in the pane when content is being loaded from the server.
 void setContentTabTitle(idOfContentObject,newTitle)
           New title of tab - i.e.
 void setContentTitle(idOfContentObject,newTitle)
           New title of content - i.e.
 void setLayoutCss(layoutCSS)
           Specify name/path to a css file(default is 'pane-splitter.css')
 void setRefreshAfterSeconds(idOfContentObject,refreshAfterSeconds)
           Specify a new value for when content should be reloaded.
 void setSizeOfPane(panePosition,newSize)
           Set new size of pane
 void setSlideSpeed(slideSpeed)
           Set speed of slide animation.
 void showContent(id)
           Makes content with a specific id visible
 Object showPane(panePosition)
           Show a previously hidden pane

Field Detail

collapseExpandButtons

Object collapseExpandButtons

dataModel

Object dataModel

horizontalSplitterBorderSize

Object horizontalSplitterBorderSize

horizontalSplitterSize

Object horizontalSplitterSize

layoutCSS

Object layoutCSS

objectIndex

Object objectIndex

paneBorderLeftPlusRight

Object paneBorderLeftPlusRight

panes

Object panes

panesAssociative

Object panesAssociative

paneSizeCollapsed

Object paneSizeCollapsed

paneSplitterHandleOnResize

Object paneSplitterHandleOnResize

paneSplitterHandles

Object paneSplitterHandles

paneZIndexCounter

Object paneZIndexCounter

resizeCounter

Object resizeCounter

resizeInProgress

Object resizeInProgress

slideSpeed

Object slideSpeed

verticalSplitterSize

Object verticalSplitterSize

waitMessage

Object waitMessage

Constructor Detail

DHTMLSuite.paneSplitter

DHTMLSuite.paneSplitter()

Method Detail

addContent

Object addContent(panePosition,contentModel,onCompleteJsCode)

addModel

void addModel(newModel)

closeAllClosableTabs

Object closeAllClosableTabs(panePosition)

collapsePane

void collapsePane(panePosition)

deleteContentById

void deleteContentById(id)

deleteContentByIndex

void deleteContentByIndex(panePosition,contentIndex)

expandPane

void expandPane(panePosition)

getHtmlElIdOfCurrentlyDisplayedContent

Object getHtmlElIdOfCurrentlyDisplayedContent(panePosition)

getIdOfCurrentlyDisplayedContent

Object getIdOfCurrentlyDisplayedContent(panePosition)

getReferenceToMainDivElOfPane

Object getReferenceToMainDivElOfPane(panePosition)

getSizeOfPaneInPixels

Object getSizeOfPaneInPixels(panePosition)

getState

Object getState(panePosition)

hidePane

Object hidePane(panePosition)

init

void init()

isUrlLoadedInPane

Object isUrlLoadedInPane(id,url)

loadContent

void loadContent(id,url,refreshAfterSeconds,onCompleteJsCode)

reloadContent

void reloadContent(id)

setAjaxWaitMessage

void setAjaxWaitMessage(newWaitMessage)

setContentTabTitle

void setContentTabTitle(idOfContentObject,newTitle)

setContentTitle

void setContentTitle(idOfContentObject,newTitle)

setLayoutCss

void setLayoutCss(layoutCSS)

setRefreshAfterSeconds

void setRefreshAfterSeconds(idOfContentObject,refreshAfterSeconds)

setSizeOfPane

void setSizeOfPane(panePosition,newSize)

setSlideSpeed

void setSlideSpeed(slideSpeed)

showContent

void showContent(id)

showPane

Object showPane(panePosition)


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