Class org.ditchnet.dom.DomUtils

Object
   |
   +--org.ditchnet.dom.DomUtils

class org.ditchnet.dom.DomUtils

Defined in tabs.js


Field Summary
<static>  string FOCUSED_CLASS_NAME
          
<static>  string UNFOCUSED_CLASS_NAME
          
 
Constructor Summary
org.ditchnet.dom.DomUtils ()
            A utility class that exists to combine common DOM algorithms and utilities into a single class as static methods and constants.
 
Method Summary
<static> void addClassName(target,k)
          
<static> Object getChildrenByClassName(target,className)
          
<static> Object getDescendantsByClassName(target,className)
           Returns all descendant elements of target with HTML class attribute values that contain className as an Array.
<static> Object getFirstAncestorByClassName(target,className)
          
<static> Object getFirstAncestorOrSelfByClassName(target, className)
          
<static> Object getFirstChildByClassName(target,className)
          
<static> Object getFirstDescendantByClassNameBreadthFirst( target, className)
           Retreives target's first descendant element with an HTML class attribute value that includes className using a breadth-first algorithm.
<static> Object getFirstDescendantByClassNameDepthFirst( target, className)
           Retreives target's first descendant element with an HTML class attribute value that includes className using a depth-first algorithm.
<static> Object hasClassName(target,className)
          
<static> Object hasId(target,id)
          
<static> void hide(target)
          
<static> Object isElementNode(target)
           Tests to see if target's getNodeType() method returns Node.ELEMENT_NODE.
<static> void removeClassName(target,k)
          
<static> void setClassNameAsFocused(target)
          
<static> void setClassNameAsUnFocused(target)
          
<static> void show(target)
          

Field Detail

FOCUSED_CLASS_NAME

<static> string FOCUSED_CLASS_NAME

UNFOCUSED_CLASS_NAME

<static> string UNFOCUSED_CLASS_NAME

Constructor Detail

org.ditchnet.dom.DomUtils

org.ditchnet.dom.DomUtils()

Method Detail

addClassName

<static> void addClassName(target,k)

getChildrenByClassName

<static> Object getChildrenByClassName(target,className)

getDescendantsByClassName

<static> Object getDescendantsByClassName(target,className)

getFirstAncestorByClassName

<static> Object getFirstAncestorByClassName(target,className)

getFirstAncestorOrSelfByClassName

<static> Object getFirstAncestorOrSelfByClassName(target, className)

getFirstChildByClassName

<static> Object getFirstChildByClassName(target,className)

getFirstDescendantByClassNameBreadthFirst

<static> Object getFirstDescendantByClassNameBreadthFirst( target, className)

getFirstDescendantByClassNameDepthFirst

<static> Object getFirstDescendantByClassNameDepthFirst( target, className)

hasClassName

<static> Object hasClassName(target,className)

hasId

<static> Object hasId(target,id)

hide

<static> void hide(target)

isElementNode

<static> Object isElementNode(target)

removeClassName

<static> void removeClassName(target,k)

setClassNameAsFocused

<static> void setClassNameAsFocused(target)

setClassNameAsUnFocused

<static> void setClassNameAsUnFocused(target)

show

<static> void show(target)