|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectcom.extjs.gxt.ui.client.widget.tree.TreeStyle
public class TreeStyle
Style information for Trees. There are 2 types for tree items: nodes and leafs. Leafs are tree items without children. Nodes are items with children or items with their leaf flag set to false.
Constructor Summary | |
---|---|
TreeStyle()
|
Method Summary | |
---|---|
java.lang.String |
getItemStyle()
Returns the style name that is added to all items. |
java.lang.String |
getLeafIconStyle()
Returns the icon style for leaf items. |
java.lang.String |
getNodeCloseIconStyle()
Returns the global icon style for closed nodes. |
java.lang.String |
getNodeOpenIconStyle()
Returns the global icon style for open nodes. |
void |
setItemStyle(java.lang.String itemStyle)
The global icon style for tree items with children (defaults to 'tree-folder'). |
void |
setLeafIconStyle(java.lang.String itemIconStyle)
Sets the global icon style for leaf tree items. |
void |
setNodeCloseIconStyle(java.lang.String folderCloseIconStyle)
Sets the icon style used for closed tree items. |
void |
setNodeOpenIconStyle(java.lang.String folderOpenIconStyle)
Sets the global icon style for expanded tree items (defaults to 'tree-folder-open'). |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public TreeStyle()
Method Detail |
---|
public java.lang.String getItemStyle()
public java.lang.String getLeafIconStyle()
public java.lang.String getNodeCloseIconStyle()
public java.lang.String getNodeOpenIconStyle()
public void setItemStyle(java.lang.String itemStyle)
itemStyle
- the node icon stylepublic void setLeafIconStyle(java.lang.String itemIconStyle)
itemIconStyle
- the image stylepublic void setNodeCloseIconStyle(java.lang.String folderCloseIconStyle)
folderCloseIconStyle
- the style namepublic void setNodeOpenIconStyle(java.lang.String folderOpenIconStyle)
folderOpenIconStyle
- the open node icon style
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |