Class DHTMLSuite.common

Object
   |
   +--DHTMLSuite.common

class DHTMLSuite.common


A class containing common method used by one or more of the gui classes below, example: loadCSS. An object("DHTMLSuite.commonObj") of this class will always be available to the other classes.
Defined in menu-for-applications.js

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


Field Summary
 Object cssCacheStatus
          
 Object eventElements
          
 
Constructor Summary
DHTMLSuite.common ()
           
 
Method Summary
 void addEvent(whichObject,eventType,functionName)
           This function adds an event listener to an element on the page.
 Object cancelEvent()
           This function only returns false.
 Object getLeftPos(inputObj)
           This method will return the left coordinate(pixel) of an object
 Object getTopPos(inputObj)
           This method will return the top coordinate(pixel) of an object
 void init()
           This method initializes the DHTMLSuite_common object.
 void loadCSS(cssFileName)
           This method loads a CSS file(Cascading Style Sheet) dynamically - i.e.
 void removeEvent(whichObject,eventType,functionName)
           This function removes an event listener from an element on the page.
 void setCssCacheStatus(cssCacheStatus)
           Specify if css files should be cached or not.

Field Detail

cssCacheStatus

Object cssCacheStatus

eventElements

Object eventElements

Constructor Detail

DHTMLSuite.common

DHTMLSuite.common()

Method Detail

addEvent

void addEvent(whichObject,eventType,functionName)

cancelEvent

Object cancelEvent()

getLeftPos

Object getLeftPos(inputObj)

getTopPos

Object getTopPos(inputObj)

init

void init()

loadCSS

void loadCSS(cssFileName)

removeEvent

void removeEvent(whichObject,eventType,functionName)

setCssCacheStatus

void setCssCacheStatus(cssCacheStatus)


Documentation generated by JSDoc on Mon Nov 20 09:23:50 2006