Name | Description |
String getImagePath() | Return image Path |
setImagePath(String s) | Define image Path |
setUrl(String s) | Define current script URL |
setStyle(String s) | Define default style |
String getNode() | Return treeview state |
setNode(String s) | Define treeview state |
String getSeparator() | Return separator (for data file) |
setSeparator(String s) | Define le separator (default ";") |
String getTarget() | Return current "target" (frame target destination when you open a link in jsptListe) |
setTarget(String s) | Define default "target" (default "_self") |
String getDisplay() | return treeview string |
setFile(String s) | Define data file (tliste.txt ..) |
readFile(String s) | Read data file |
readFile(boolean b) | Read data file (if you use set File to define this) :
if b is true all data ares read
if b is false all data are read if there data is not already in memory |
boolean startData(String s) | Check if data is in memory |
endData() | Build treeview structure (!! mandatory !! ) |
int getPosition(int key) | return the position of "key" item (use this if you add item with "addRow" or "addChild") |
int addChild(String titre, String sUrl, int icon) | Add a child item after the last row |
int addChild(String titre, String sUrl, int icon, String sTarget) | Add a child item after the last row |
int addChild(int position, String titre, String sUrl, int icon) | Add a child item after the row "position" |
int addChild(int position, String titre, String sUrl, int icon, String sTarget) | Add a child item after the row "position" |
int addChild(int position, String titre, String sUrl, int icon, String sTarget, String sHelp) | Add a child item after the row "position" |
int addRow(String titre, String sUrl, int icon) | Add a row after the last row |
int addRow(String titre, String sUrl, int icon, String target) | Add a row after the last row |
int addRow(int position, String titre, String sUrl, int icon, String target) | Add a row after the row "position" |
int addRow(int position, int iLevel, String title, String url, String targ, int icon, String help) |
Add a new row at the position "position" with level "iLevel" and all other informations |