it.eng.spagobi.engines.qbe.tree
Interface IQbeTree


public interface IQbeTree

Interface of classes that can build a java script dTree object. By contract class of this type have only to create the tree and build its structure. The iclusion of the dTree.js script and all of css files used to render it should be handled separatly by the caller.

Author:
Andrea Gioia (andrea.gioia@eng.it)

Method Summary
 void addNode(java.lang.String id, java.lang.String pid, java.lang.String nname, java.lang.String url, java.lang.String title, java.lang.String target, java.lang.String icon, java.lang.String iconOpen, java.lang.String open, java.lang.String onclick, java.lang.String checkName, java.lang.String checkValue, java.lang.String checked)
          Adds the node.
 void createTree()
          Creates the tree.
 void createTree(java.lang.String treeName)
          Creates the tree.
 java.lang.String getTreeConstructorScript()
          Gets the tree constructor script.
 

Method Detail

createTree

void createTree()
Creates the tree.


createTree

void createTree(java.lang.String treeName)
Creates the tree.

Parameters:
treeName - the tree name

addNode

void addNode(java.lang.String id,
             java.lang.String pid,
             java.lang.String nname,
             java.lang.String url,
             java.lang.String title,
             java.lang.String target,
             java.lang.String icon,
             java.lang.String iconOpen,
             java.lang.String open,
             java.lang.String onclick,
             java.lang.String checkName,
             java.lang.String checkValue,
             java.lang.String checked)
Adds the node.

Parameters:
id - the id
pid - the pid
nname - the nname
url - the url
title - the title
target - the target
icon - the icon
iconOpen - the icon open
open - the open
onclick - the onclick
checkName - the check name
checkValue - the check value
checked - the checked

getTreeConstructorScript

java.lang.String getTreeConstructorScript()
Gets the tree constructor script.

Returns:
the tree constructor script