|
Using the Tree Interface Manager |
|
Interface manager stores appearance settings of the Tree component.
Here is the example of how to set/get interface manager of myTree object:
myTree.setTreeInterfaceManager(myTreeInterfaceManager);
TreeInterfaceManager myTreeInterfaceManager = myTree.getTreeInterfaceManager();
Click here to see TreeInterfaceManagerBean example
Click here to see example of using tags to set Tree Interface ManagerTreeInterfaceManagerBean
<tree:interfaceManager> tag :
| • | look and feel properties |
Name |
Description |
bgColorHilite |
HTML color of item's background when mouse is over it |
bgColor |
HTML background color |
fontSize |
HTML font size of any tree text |
fontWeight |
HTML font weight of any tree text |
fontFamily |
HTML font family of any tree text |
fontStyle |
HTML style of any tree text |
fontColorHilite |
HTML color of item's text when mouse is over it |
fontColor |
HTML color of any tree text |
| • | skinning properties |
Name |
Description |
defaultTreeStyleClass |
CSS class of the Tree component |
defaultTreeItemStyleClass |
CSS class of the TreeItem component |
highlightTreeItemStyleClass |
CSS class of the higlight/select TreeItem component |
| • | appearance properties |
Name |
Description |
rootNodeOpened |
Defines whether tree folders are showed initially when root folder is present. Must be TRUE,FALSE. Default value : FALSE |
allNodesExpanded |
Defines whether all tree folders are exposed. Must be TRUE,FALSE. Default value : FALSE |
noTreeIcons |
Defines to draw the tree without +/-/tree lines/ icons. Must be TRUE,FALSE. Default value : FALSE |
rootNodeVisible |
Defines whether to draw root node. Must be TRUE,FALSE. Default value : FALSE |
rootNodeImagePresent |
Defines whether to draw root node +/- icon. Must be TRUE,FALSE. Default value : FALSE |
textWrap |
Defines whether to wrap text of tree items. Must be TRUE,FALSE. Default value : FALSE |
useImageScaling |
Use HTML image scaling or use images as is. Must be TRUE,FALSE. Default value : TRUE |
| • | item sizes |
Name |
Description |
nodeImageHeight |
Height of tree skeleton node images |
nodeImageWidth |
Width of tree skeleton node images |
| • | images |
Name |
Description |
imageHeight |
Height of folders' and items' images |
imageWidth |
Width of folders' and items' images |
itemNodeImage, itemNodeImage, itemTopNodeImage, itemLastNodeImage, verticalLineImage, rootNodeOpenedImage, rootNodeClosedImage, folderOpenedImage, folderClosedNodeImage, folderClosedTopNodeImage, folderClosedLastNodeImage, folderOpenedNodeImage, folderOpenedTopNodeImage, folderOpenedLastNodeImage, blankImage |
Tree skeleton images |
| • | keyboard support |
Name |
Description |
keyExpand |
Hot key for expand node |
keyCollapse |
Hot key for collapse node |
keyExpandAll |
Hot key for expand all nodes |
keyCollapseAll |
Hot key for collapse all nodes |
NOTE: currently keyboars is supported only for treetable component