Make your own free website on Tripod.com
Menu Tree Test
By Tushar G Kapila
email : tgkprog3@hotmail.com , tgkprog@yahoo.com or click here : e mail icon




Some of the documentation:

init

public void init(java.lang.String url)
set up my array by loading url with Helper#getBase() as the base of URL

Should have called parentsSet() before.
Overrides:
init in class BasicBean
Parameters:
url - the relative URL path to load the properties file , if it has a semi colon then it means you are pointiung to the zip with the properties file and the properties file name in the zip is after the semi-colon like "r1/res.zip;a1.properties" Need to set the parents - for base URL of Helper . If it is to be done on a seperate Thread then append "th:" - so the whole param passed will be like "th:r1/res.zip;a1.properties"
See Also:


message
public java.lang.String message(java.lang.String msg,
                                java.lang.String msg2,
                                java.lang.String msg3)
our spl messages - data - with special flags
Overrides:
message in class BasicBean
Parameters:
msg - Will be :
  1. is @link #dataInit (first chat) if initing the data + the number menu rows
  2. is @link #dataAdd if adding data + the number row being set
  3. if neither of above then means end of data - Tree sets up rest of data and paints it self.

msg2 - in case 2 above will have the menu data String to be displayed like "Call Records"
msg3 - in case 2 above will have the node child data seperated with a | like "9|13"
Or nothing if it is a leaf node.


doc version 0.3