- Author
- Lluis TurrĂ³ Cutiller lluis.nosp@m.@tur.nosp@m.ro.or.nosp@m.g
Definition at line 43 of file GroupItForm.java.
◆ afterCompose()
void org.turro.zul.groupit.GroupItForm.afterCompose |
( |
| ) |
|
Definition at line 117 of file GroupItForm.java.
118 getChildren().clear();
void setColumns(int columns)
◆ deleteGroup()
static boolean org.turro.zul.groupit.GroupItForm.deleteGroup |
( |
GroupIt |
group | ) |
|
|
static |
◆ editGroup()
static void org.turro.zul.groupit.GroupItForm.editGroup |
( |
GroupIt |
group, |
|
|
final Command |
command |
|
) |
| |
|
static |
Definition at line 76 of file GroupItForm.java.
77 final GroupItForm gf =
new GroupItForm();
79 SelectionDialog.getComponent(Framework.getCurrent().getPage(),
81 gf,
"500px",
"300px",
new Command() {
83 public Object execute(Context context) {
85 GroupIt group = gf.getGroup();
88 group =
new ContactsPU().saveObject(group);
90 context.put(
"group", GroupIt.normalizePaths(group));
91 if(command !=
null) command.execute(context);
92 }
catch (Exception ex) {
93 Logger.getLogger(GroupItForm.class.getName()).log(Level.SEVERE, ElephantContext.logMsg(
null), ex);
◆ getGroup()
GroupIt org.turro.zul.groupit.GroupItForm.getGroup |
( |
| ) |
|
◆ newGroup()
static void org.turro.zul.groupit.GroupItForm.newGroup |
( |
String |
category, |
|
|
GroupIt |
parent, |
|
|
final Command |
command |
|
) |
| |
|
static |
Definition at line 47 of file GroupItForm.java.
48 final GroupItForm gf =
new GroupItForm();
49 GroupIt group =
new GroupIt();
50 group.setCategory(category);
51 group.setParent(parent);
52 group.setPublishable(
true);
54 SelectionDialog.getComponent(Framework.getCurrent().getPage(),
56 gf,
"500px",
"300px",
new Command() {
58 public Object execute(Context context) {
60 GroupIt group = gf.getGroup();
63 group =
new ContactsPU().saveObject(group);
64 context.put(
"group", GroupIt.normalizePaths(group));
65 if(command !=
null) command.execute(context);
66 }
catch (Exception ex) {
67 Logger.getLogger(GroupItForm.class.getName()).log(Level.SEVERE, ElephantContext.logMsg(
null), ex);
◆ setGroup()
void org.turro.zul.groupit.GroupItForm.setGroup |
( |
GroupIt |
group | ) |
|
The documentation for this class was generated from the following file: