Using the YUI Tree Java API in Jaxcent A Java API for YUI Trees has been created using Jaxcent.

See:
          Description

Packages
jaxcent.yui  

 

Using the YUI Tree Java API in Jaxcent

A Java API for YUI Trees has been created using Jaxcent. To use this API, the HTML page must have the following includes and JavaScript definition in the HEAD section, in addition to the standard Jaxcent include:

The tree is placed in a DIV. The DIV should be created with an ID, so it can be identified to the Java code, e.g.

<div id="yuitree"></div>
In addition, the BODY or other parent tag of the target DIV should have the class yui-skin-sam.
<body class="yui-skin-sam">

The Jaxcent class that handles the HTML page, should derive from jaxcent.yui.Tree. It must call the init method to initialize the tree, specifying the id of the DIV where the tree is to be drawn.