Tab&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.

Tab & Tree HTML applet parameters & Comments:
<applet code="JAVATabTree.class" width="220" height="300">
Codebase Tag for the Evaluation version.
<applet code="JAVATabTreeR.class" width="220" height="300">
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="TAB_BG" value="255,255,255">
Default White for Background color.
<param name="TAB_FG" value="0,0,0">
Default Black for Foreground color.
<param name="TAB_FONT" value="ARIAL; BOLD; 12">
Default OS specific.
<param name="TABONBOTTOM" value="no">
Yes/No - Tab on Bottom or Top.
<param name="TAB_MOUSEOVER" value="255,0,0">
Default Red Mouse-over color.
<param name="TAB_BG_IMAGE" value="graytexture.gif">
If background image is omitted, specified background colour will show instead.
<param name="TAB_DEFAULT" value="1">
The default start Tab has values 0-999.
When set to any value other than 999, that Tab will become the current one showing and the HREF will be executed.
When the value is set to 999, the first Tab will become the current one and no HREF will be executed.
<param name="TREE_BG" value="255,255,255">
Default White for Tree Background color.
<param name="TREE_FG" value="0,0,0">
Default Black for Tree Foreground color.
<param name="TREE_SEL_BG" value="0,0,255">
Default Blue for Selected Background color.
<param name="TREE_SEL_FG" value="255,255,255">
Default White for Selected Foreground color.
<param name="TREE_MOUSEOVER" value="255,0,0">
Default Red Mouse-over color.
<param name="TREE_BORDER" value="no">
Yes/No - Border around Tree.
<param name="TREE_FONT" value="Arial; PLAIN; 9">
Default OS specific.
<param name="TREE_DOUBLECLICK" value="no">
Yes/No - Double-click selection.
<param name="TREE_autoexpand" value="yes">
Yes/No - Auto-expand the whole Tree.
<param name="TREE_BG_IMAGE" value="graytexture.gif">
If background image is omitted, specified background colour will show instead.
<param name="FOLDER_OPEN" value="jimages/Folder95O.gif">
The default Tree icon for Folder Open. **
<param name="FOLDER_CLOSED" value="jimages/Folder95C.gif">
The default Tree icon for Folder Closed. **
<param name="LEAF" value="jimages/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
<param name="TAB0" value="Readme; who.htm; main;Status bar text for first tab"; none; none>
Usual Tab construction:
<param name="INCREMENTAL NUMBER value=LABEL TEXT; HREF 1; TARGET 1; STATUS BAR TEXT; HREF 2; TARGET 2>
<param name="TAB0_CONTENT" value="Tab0Content.txt">
If omitted, the construction of the Tree has to be done via HTML parameter. *
<param name="TAB1" value="setup; http://www.auscomp.com; _blank; Autoexec to auscomp!; none ; none">
Autoexecute to specified URL.
</applet>
End parameter.

*
<param name=TAB NO + INCREMENTAL NUMBER value=BRANCH TEXT; HREF1; FRAME TARGET 1; LEVEL; COLLAPSED IMAGE; EXPANDED IMAGE; MOUSE-OVER TEXT; HREF2; FRAME TARGET2, OPEN EXPANDED">

<param name="T1I0" value="Before you begin1; None; none; 0; jimages/BookC.gif;     jimages/BookO.gif; Double click to open the folder, none; none; YES">

<param name="T1I1" value="Who made it; who.htm; main;1; jimages/QuestionMark.gif; jimages/QuestionMark.gif; About Auscomp - World Wide"; none; none; 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
JAVATabTree.class ROOT
Beans.class ROOT also used in JAVA Tab and JAVA Tree
TreeView.class ROOT also used in JAVA Tree
TreeNode.class ROOT also used in JAVA Tree
InvalidTreeNodeException.class ROOT also used in JAVA Tree
BaseTabbedPanel.class ROOT also used in JAVA Tab
ButtonBase.class ROOT also used in JAVA Tab
DirectionButton.class ROOT also used in JAVA Tab
TabPanel.class ROOT also used in JAVA Tab
Timer.class ROOT also used in JAVA Tab

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="JAVATab
Tree.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="JAVAT
abTree.class" Width="216" Height="259">

  • The HREF = myfile.htm

Then, if it is re-located to the JTabTree JTabTree directory for example:
<APPLET CODEBASE="JTabTree" CODE="JAVATabTree.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.