pivot-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Yunlong Zhao" <Yunlong.Z...@ingres.com>
Subject How to make TreeBranch a parent of another TreeBranch in Java
Date Fri, 06 Aug 2010 21:04:33 GMT
Hi All,

 

Is there a way to generate a TreeView which has nested TreeBranch
dynamically in Java like the following static TreeView?

 

<TreeBranch  xmlns="org.apache.pivot.wtk.content">

      <TreeBranch text="Branch1" icon="images/gear-green.gif">

            <TreeBranch text="Branch2" icon="images/folder-open.png" >

                  <TreeNode text="Tree node" icon="images/bridge.gif"/>

            </TreeBranch>

      </TreeBranch>

</TreeBranch>

 

Thanks,

 

Yunlong


Mime
View raw message