1st JAVA Navigator [Tab&Tree] - Methods and Properties exposed
Below is an example of how to control the 1st JAVA Navigator[Tab&Tree] applet with JavaScript. You will find all the nessassary code by looking in this HTML file source code.  Please note: All Node Text fields are case sensitive.

Select a Node:

Node Text :
Tab No :  

Remove a Node:

Node Text : 
Tab No :

Add a new Node:

Parent Text :
Tab No     :
Node Text :
Link1 :
Target Frame1 :
Link2 :
Target Frame2 :
Statusbar :

Get a Node Text:

Tab No :  

 

Properties and Methods for the 1st JAVA Navigator [Tab&Tree] applet:

Please Note: 
This page is intended as an example for advanced users, who may use it as a demonstration of how the exposed methods and properties can be used to control the applets. 

Because advanced knowledge of JavaScript is required in order to implement these features on your web site, we cannot provide assistance with setting up the JavaScript code needed to implement these features. 

1. Select a Node:

setTabTreeNode(String NodeText, int TabNumber, boolean ExecuteLink)

  • Node text must be a unique identifier.  (No two nodes can have the same text).
  • All Node text fields are case sensitive.
  • Tab Number is the number of the tab starting with 0
  • True or false to execute HREF links

2.  Remove a Node: 

getTabTreeNode(int TabNumber) return Node text of selected Node return Node text of selected Node

  • Tab Number is the number of the tab starting with 0
  • It will return the Node text of the current selected Node

3.  Add a new Node:

delTabTreeNode(NodeText, int TabNumber)

  • Node text must be a unique identifier.
  • Tab Number is the number of the tab starting with 0

addTabTreeNode(int TabNumber, String ParentNodeText, String NodeText, String Link1, String Target1, String Link2, String Target2, String Statusbar, String Expand)

  • Tab Number is the number of the tab starting with 0.
  • Parent Node text must be a unique identifier of the node which will become the parent of the added node.
  • Node text must be a unique identifier of the added node.
  • Link1 is the first Href link of this node.
  • Target1 the first Target frame of the above Link1.
  • Link2 is the second Href link of this node.
  • Target2 the first Target frame of the above Link2.
  • Statusbar text of the added node.
  • Expand "NO" or "YES".  (Not functional in Beta version, must be set to NO in this version).
  • If Parent Node is omited then the Node will be added on root level and last position.
  • If Parent Node Text cannot be found then the Node will be added as child of the selected Node.

NOTE: It adds the node but doesn't execute any links. To Do so you have to use setTabTree(Node text, TabNumber)


 

Properties and Methods for the 1st JAVA Navigator[Tree] applet:

1.  Select a Node:

setTreeNode(String NodeText, boolean ExecuteLink)

  • It selects the node and executes the HREF links.
  • True or false to execute HREF links.

getTreeNode() returns Node text of selected Node

  • It will return the Node text of the current selected Node.

2.  Remove a Node: 

delTree (String NodeText)

  • Node text must be a unique identifier

3.  Add a new Node:

addTreeNode(String ParentNodeText, String NodeText, String Link1, String Target1, String Link2, String Target2, String Statusbar, String Expand)

  • Parent Node text must be a unique identifier of the node which will become the parent of the added node
  • Node text must be a unique identifier of the added node
  • Link1 is the first Href link of this node
  • Target1 the first Target frame of the above Link1
  • Link2 is the second Href link of this node
  • Target2 the first Target frame of the above Link2
  • Statusbar text of the added node
  • Expand "NO" or "YES"
  • If Parent Node is omited then the Node will be added on root level and last position
  • If Parent Node Text cannot be found then the Node will be added as child of the selected Node

NOTE: It adds the node but doesn't execute any links. Do to so you have to use setTabTree(Node text, TabNumber)


btnGoTop.gif (891 bytes)Scroll back to top

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