|
AreaEdit | ||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
Object | +--dTree
Defined in Linker/dTree/dtree.js
Constructor Summary | |
dTree
(objName, baseDir)
Tree object |
Method Summary | |
void
|
add(id, pid, name, url, title, target, icon, iconOpen, open)
Adds a new node to the node array |
Object
|
addNode(pNode)
Creates the HTML tree structure in a string. |
void
|
clear_s()
Clears selection. |
void
|
clearCookie()
[Cookie] Clears a cookie |
void
|
closeAll()
close all nodes |
void
|
closeAllChildren(node)
Closes all children of a node |
void
|
closeLevel(node)
Closes all nodes on the same level as certain node |
Object
|
getCookie(cookieName)
[Cookie] Gets a value from a cookie |
Object
|
getNodeElement( n )
retrieves the element for a node |
Object
|
getSelected()
Returns the selected node |
Object
|
indent(node, nodeId)
Adds the empty and line icons and returns HTML string |
Object
|
isOpen(id)
[Cookie] Checks if a node id is in a cookie |
Object
|
node(node, nodeId)
Creates the node icon, url and text and returns the HTML string. |
void
|
nodeStatus(status, id, bottom)
Change the status of a node(open or closed) |
void
|
o(id)
Toggle Open or close |
void
|
oAll(status)
Open or close all nodes |
void
|
openAll()
Open all nodes |
void
|
openTo(nId, bSelect, bFirst)
Opens the tree to a specific node |
void
|
s(id)
Highlights the selected node |
void
|
setCookie(cookieName, cookieValue, expires, path, domain, secure)
[Cookie] Sets value in a cookie |
void
|
setCS(node)
Checks if a node has any children and if it is the last sibling |
void
|
setCS_All()
setCS_All() |
Object
|
toString()
returns HTML string representation of tree |
void
|
updateCookie()
[Cookie] Returns ids of open nodes as a string |
Constructor Detail |
dTree(objName, baseDir)
Method Detail |
void add(id, pid, name, url, title, target, icon, iconOpen, open)
Object addNode(pNode)
void clear_s()
void clearCookie()
void closeAll()
void closeAllChildren(node)
void closeLevel(node)
Object getCookie(cookieName)
Object getNodeElement( n )
Object getSelected()
Object indent(node, nodeId)
Object isOpen(id)
Object node(node, nodeId)
void nodeStatus(status, id, bottom)
void o(id)
void oAll(status)
void openAll()
void openTo(nId, bSelect, bFirst)
void s(id)
void setCookie(cookieName, cookieValue, expires, path, domain, secure)
void setCS(node)
void setCS_All()
Object toString()
void updateCookie()
|
AreaEdit | ||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |