By Tushar G Kapila
email : tgkprog3@hotmail.com , tgkprog@yahoo.com or click here :
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 :
- is @link #dataInit (first chat) if initing the data + the number menu rows
- is @link #dataAdd if adding data + the number row being set
- 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.
Read me : Notes on the zip and classes , build notes .
You can find the source zip UDOinDia_Tree3TstSrc.zip in ftp path -
/OUTGOING/JavaBeans/ui/menuTree .
Classes :
com/esim/beans/ui/menuTree/Tree3 is the basic bean that displays the
tree .
It uses the GlassEvents bean to generate events , the TreeUDOinDia to
pop it to a floating dialog ( java.awt.Dialog ) .
com/esim/beans/ui/menuTree/TreeUDOinDia extends the UDOinDia and
makes an instance of Tree3 as the component to be displayed in the
Dialog .
Thus from the bean jar -->
com/esim/beans/ui/menuTree/mak/TreeUDOinDia.jar can add 4 beans .
com/esim/apps/utils/beanUtils/CreateSrcFromDashOProMap is a src
build util class and com/esim/beans/helpers/BeanTstHlp is for basic
testing of the bean info
Build and test info :
The build utility bat is
com/esim/beans/ui/menuTree/mak/Tree3_TreeUDOinDia4beans.bat it refers
to a dop file in the same folder - Tree3_TreeUDOinDia4beans.dop
and the manifest in com/esim/beans/ui/menuTree .
Similarly Tree3ful_UDOinDiaTst.bat builds the test app .
Am working on a way to include incremental obfuscate files so that
dash-o-pro renames the helper classes to the same name in each bean
jar . As of now no classes are renamed . As discussed with Lior we
want to obfuscate our beans before we send them to other clients .
The Java test app is in the same folder -
com.esim.beans.ui.menuTree.UDOinDia_Tree3Tst to facilitate editing of
the properties file via a text box.
The Java and Rapid test apps are included - see
com/esim/beans/ui/menuTree/test and
com/esim/beans/ui/menuTree/test/rpd2 .
Regards
Tushar
Doc version 0.4.2