- Author
- Lluis TurrĂ³ Cutiller lluis.nosp@m.@tur.nosp@m.ro.or.nosp@m.g
Definition at line 35 of file GroupItItem.java.
◆ GroupItItem()
org.turro.zul.groupit.GroupItItem.GroupItItem |
( |
GroupIt |
group, |
|
|
boolean |
loadOnDemand, |
|
|
String |
entityPath |
|
) |
| |
Definition at line 41 of file GroupItItem.java.
43 this.loadOnDemand = loadOnDemand;
44 this.entityPath = entityPath;
46 setLabel(group ==
null ? I_.get(
"All") : group.getName());
47 setTooltiptext(getLabel());
◆ addGroup()
GroupItItem org.turro.zul.groupit.GroupItItem.addGroup |
( |
GroupIt |
group, |
|
|
boolean |
loadOnDemand |
|
) |
| |
Definition at line 104 of file GroupItItem.java.
106 children.appendChild(cat);
GroupItItem(GroupIt group, boolean loadOnDemand, String entityPath)
◆ afterCompose()
void org.turro.zul.groupit.GroupItItem.afterCompose |
( |
| ) |
|
◆ getGroup()
GroupIt org.turro.zul.groupit.GroupItItem.getGroup |
( |
| ) |
|
◆ getTree()
GroupItTree org.turro.zul.groupit.GroupItItem.getTree |
( |
| ) |
|
◆ isLeaf()
boolean org.turro.zul.groupit.GroupItItem.isLeaf |
( |
| ) |
|
Definition at line 75 of file GroupItItem.java.
77 if(Strings.isBlank(entityPath)) {
78 return group ==
null ?
79 GroupIt.roots(
getTree().getCategory()).isEmpty() :
80 group.children().isEmpty();
82 return group ==
null ?
83 GroupIt.roots(
getTree().getCategory(), entityPath).isEmpty() :
84 group.children(entityPath).isEmpty();
◆ isLoadOnDemand()
boolean org.turro.zul.groupit.GroupItItem.isLoadOnDemand |
( |
| ) |
|
◆ reloadContents()
void org.turro.zul.groupit.GroupItItem.reloadContents |
( |
| ) |
|
Definition at line 64 of file GroupItItem.java.
65 if(!
isLeaf() && children ==
null) {
66 children =
new Treechildren();
67 appendChild(children);
69 if(children !=
null) {
70 children.getChildren().clear();
◆ setLoadOnDemand()
void org.turro.zul.groupit.GroupItItem.setLoadOnDemand |
( |
boolean |
loadOnDemand | ) |
|
◆ showContents()
void org.turro.zul.groupit.GroupItItem.showContents |
( |
| ) |
|
The documentation for this class was generated from the following file: