Tree Applet Parameter Syntax

Below are the HTML code parameters (and their respective descriptions) for those who wish to:

Note
Note 
As a sophisticated Commander (wizard or management tool) is provided, these two methods are offered as optional extras for those with some experience with HTML coding.
Auscomp therefore regrets that it is unable to offer support relating to either.

Tree HTML applet parameters & Comments:
<applet code="JAVATree.class" width="250" height="350">
Codebase Tag for the Evaluation version.
<applet code="JAVATreeR.class" width="250" height="350">
Codebase Tag for the Registered version.
In width and height, no % value is possible.
<param name="COPYRIGHT" value="(c)1997 AUSCOMP (www.auscomp.com)">
Copyright parameter is mandatory.
<param name="BACKGROUND" value="255,255,255">
Default White for Background color.
<param name="FOREGROUND" value="0,0,0">
Default Black for Foreground color.
<param name="SELBACKGROUND" value="0,0,255">
Default Blue for Selected Background color.
<param name="SELFOREGROUND" value="255,255,255">
Default White for Selected Foreground color.
<param name="BACKGROUNDIMAGE" value="graytexture.gif">
If Background Image is omitted, the specified background colour will show instead.
<param name="MOUSEOVER" value="255,0,0">
Default Red Mouse-over color.
<param name="BORDER" value="no">
Yes/No - Border around Tree.
<param name="DOUBLECLICK" value="no">
Yes/No - Doubleclick selection.
<param name="AUTOEXPAND" value="no">
Yes/No - Autoexpand the whole tree.
<param name="FONT" value="ARIAL; PLAIN; 11">
Default OS specific.
<param name="CONTENT" value="content.txt">
If omitted, the construction of the tree has to be done via HTML parameter.*
<param name="FOLDER_OPEN" value="Folder95O.gif">
The default Tree icon for Folder Open. **
<param name="FOLDER_CLOSED" value="Folder95C.gif">
The default Tree icon for Folder Closed. **
<param name="LEAF" value="Leaf.gif">
The default Tree icon for Folder Leaf. **
<param name="TOOLTIPBACKCOLOR" value="255,255,0">
Default Yellow for the Tool-tip Backcolor.
<param name="TOOLTIPFORECOLOR" value="0,0,0">
Default Black for the Tool-tip Forecolor.
<param name="LINECOLOR" value="0,0,0">
Default Black for the Line color.
<param name="LEAFCOLOR" value="0,0,0">
Default Black for the Leaf color.
<param name="FOLDERCCOLOR" value="0,0,0">
Default Black for the Folder Closed color.
<param name="FOLDEROCOLOR" value="0,0,0">
Default Black for the Folder Open color.
<param name="MOUSEOVERFRAMECOLOR" value="0,0,0">
Default Black for the Mouse-over Frame color.
<param name="TOOLTIP" value="Yes">
Yes/No - Tool-tip selection.
<param name="STYLE" value="AXAA">
Settings for Tree style (see below for symbol meanings).
Character 1 (A) Toggle Symbol A = Open close symbol (ie: A = Box with + and -)
B = Box with |>
C = Box with \/
D = Box with /\
E = |> with \/
F = |> with /\
X = None
Character 2  (X) Leaf Only possible if Character 1 = B,C,D,E or F)
A = Yes
X = None
Character 3  (A) Line A = Yes = ( ..... )
B = Yes = ( ___ )
X = None
Character 4  (A) Icons A = Yes
X = None
</applet>
End parameter.
*
<param name=I + INCREMENTAL NUMBER value=BRANCH TEXT; HREF1; FRAME TARGET1; LEVEL; COLLAPSED IMAGE; EXPANDED IMAGE; MOUSE-OVER TEXT; HREF2; FRAME TARGET 2; OPEN EXPANDED">

<param name="I0" value="Thank you for evaluating; none; none; 0; images/Contact.gif;  jimages/Contact.gif; Thank you for evaluating; none; none; YES">

<param name="I1" value="Before you begin; none; none; 0; Folder; Folder; Please read; none; none; NO>

<param name="I2" value="Who made it; who.htm; main; 1; jimages/QuestionMark.gif; jimages/QuestionMark.gif;Auscomp - World Wide; http://www.auscomp.com; _blank; NO">

**
To speed up the loading process of the applet, set the default icons (images):

For Example:

  • Feedback; feedback.htm; _blank; 1; leaf; leaf;... (The leaf picture)
  • Feedback; feedback.htm; _blank; 1; folder; folder;... (The Open & Closed folder picture)

btnGoTop.gif (891 bytes)Scroll back to top

The following class files must be uploaded with the HTML files to your server:
File Name Location on Server
JAVATree.class ROOT
Beans.class ROOT
TreeView.class ROOT
TreeNode.class ROOT
InvalidTreeNodeException.class ROOT

btnGoTop.gif (891 bytes)Scroll back to top


Re-locating the class files
In order to re-locate the class files into a different directory as the HTML file, just use the CODEBASE Tag:

EG:
<APPLET CODEBASE="/JCLASS" CODE="JAVATree.class" Width=245 Height=320>

Note
Note 

IMPORTANT NOTE:
If the class files are re-located, the relative URL will now point to the OLD class file directory. Therefore, the links will also have to be adjusted accordingly:

EG: Normally:
<APPLET CODEBASE="." CODE="JAVATree.class" Width="216" Height="259">

  • The HREF = myfile.htm

Then, if it is re-located to the JTree JTree directory for example:
<APPLET CODEBASE="JTree" CODE="JAVATree.class" Width="216" Height="259">

  • The HREF = .../myfile.htm

btnGoTop.gif (891 bytes)Scroll back to top

(c) 1996-1999 Auscomp - World Wide. All Rights Reserved.