- Author
- Lluis TurrĂ³ Cutiller lluis.nosp@m.@tur.nosp@m.ro.or.nosp@m.g
Definition at line 31 of file GroupItTree.java.
◆ GroupItTree()
org.turro.zul.groupit.GroupItTree.GroupItTree |
( |
| ) |
|
◆ addGroup()
GroupItItem org.turro.zul.groupit.GroupItTree.addGroup |
( |
GroupIt |
group, |
|
|
boolean |
loadOnDemand |
|
) |
| |
Definition at line 59 of file GroupItTree.java.
60 GroupItItem grp =
new GroupItItem(group, loadOnDemand, entityPath);
61 children.appendChild(grp);
◆ afterCompose()
void org.turro.zul.groupit.GroupItTree.afterCompose |
( |
| ) |
|
Definition at line 111 of file GroupItTree.java.
112 GroupItItem gpr =
addGroup(
null,
false);
GroupItItem addGroup(GroupIt group, boolean loadOnDemand)
◆ changeSelectedGroup()
void org.turro.zul.groupit.GroupItTree.changeSelectedGroup |
( |
GroupIt |
group | ) |
|
Definition at line 89 of file GroupItTree.java.
90 if(getSelectedItem() instanceof GroupItItem ) {
91 GroupItItem gi = (GroupItItem) getSelectedItem();
93 gi.setLabel(group.getName());
◆ getCategory()
String org.turro.zul.groupit.GroupItTree.getCategory |
( |
| ) |
|
◆ getEntityPath()
String org.turro.zul.groupit.GroupItTree.getEntityPath |
( |
| ) |
|
◆ getSelectedGroup()
GroupIt org.turro.zul.groupit.GroupItTree.getSelectedGroup |
( |
| ) |
|
Definition at line 66 of file GroupItTree.java.
67 if(getSelectedItem() instanceof GroupItItem ) {
68 return (GroupIt) ((GroupItItem) getSelectedItem()).getGroup();
◆ reloadContents()
void org.turro.zul.groupit.GroupItTree.reloadContents |
( |
| ) |
|
Definition at line 102 of file GroupItTree.java.
103 for(Object o : children.getChildren()) {
104 if(o instanceof GroupItItem) {
105 ((GroupItItem) o).reloadContents();
◆ setCategory()
void org.turro.zul.groupit.GroupItTree.setCategory |
( |
String |
category | ) |
|
Definition at line 45 of file GroupItTree.java.
46 this.category = category;
47 children.getChildren().clear();
◆ setEntityPath()
void org.turro.zul.groupit.GroupItTree.setEntityPath |
( |
String |
entityPath | ) |
|
◆ setSelectedGroup()
void org.turro.zul.groupit.GroupItTree.setSelectedGroup |
( |
GroupIt |
group | ) |
|
Definition at line 73 of file GroupItTree.java.
75 setSelectedItem(
null);
77 for(Treeitem ti : getItems()) {
78 if(ti.getValue() instanceof GroupIt) {
79 if(((GroupIt) ti.getValue()).getId().equals(group.getId())) {
85 setSelectedItem(
null);
The documentation for this class was generated from the following file: