|
static void | showEntity (Object id, String attribute, String label, String source) |
|
static void | showEntity (Object id, String attribute, String label, String source, Map< String, Object > dynProps) |
|
static void | showZulFile (String label, String source) |
|
static void | showZulFile (String label, String source, Map< String, Object > dynProps) |
|
static void | showModalZulFile (String label, String source, Command command) |
|
static void | showModalZulFile (String label, String source, Map args, Command command) |
|
static void | showPopupZulFile (String label, String source) |
|
static void | showPopupZulFile (String label, String source, Map args) |
|
static void | showEntityModal (Object id, String attribute, String source, Command command) |
|
◆ addMenus()
abstract void org.turro.zkoss.menu.ElephantMenu.addMenus |
( |
ElephantMenuBar |
bar | ) |
|
|
abstract |
◆ addToSessionMenu()
void org.turro.zkoss.menu.ElephantMenu.addToSessionMenu |
( |
ElephantMenuBar |
bar, |
|
|
Menupopup |
mp |
|
) |
| |
◆ addToToolsMenu()
void org.turro.zkoss.menu.ElephantMenu.addToToolsMenu |
( |
ElephantMenuBar |
bar, |
|
|
Menupopup |
mp |
|
) |
| |
◆ compareTo()
int org.turro.zkoss.menu.ElephantMenu.compareTo |
( |
ElephantMenu |
o | ) |
|
◆ showEntity() [1/2]
static void org.turro.zkoss.menu.ElephantMenu.showEntity |
( |
Object |
id, |
|
|
String |
attribute, |
|
|
String |
label, |
|
|
String |
source |
|
) |
| |
|
static |
◆ showEntity() [2/2]
static void org.turro.zkoss.menu.ElephantMenu.showEntity |
( |
Object |
id, |
|
|
String |
attribute, |
|
|
String |
label, |
|
|
String |
source, |
|
|
Map< String, Object > |
dynProps |
|
) |
| |
|
static |
Definition at line 50 of file zkoss/menu/ElephantMenu.java.
51 Framework frame = Framework.getCurrent();
52 if((
id instanceof Long && ((Long)
id) < 1) ||
id ==
null) {
53 frame.getDesktop().removeAttribute(attribute);
55 frame.getDesktop().setAttribute(attribute,
id);
57 if(label.startsWith(
"@")) {
58 frame.addContent(label.substring(1), source, dynProps);
60 frame.addContent(I_.get(label) +
" #" + (
id ==
null ?
"0" :
id.toString()), source, dynProps);
62 frame.invalidateSelected();
◆ showEntityModal()
static void org.turro.zkoss.menu.ElephantMenu.showEntityModal |
( |
Object |
id, |
|
|
String |
attribute, |
|
|
String |
source, |
|
|
Command |
command |
|
) |
| |
|
static |
Definition at line 104 of file zkoss/menu/ElephantMenu.java.
105 Framework frame = Framework.getCurrent();
106 if((
id instanceof Long && ((Long)
id) < 1) ||
id ==
null) {
107 frame.getDesktop().removeAttribute(attribute);
109 frame.getDesktop().setAttribute(attribute,
id);
111 Modal.doModal(source, command);
◆ showModalZulFile() [1/2]
static void org.turro.zkoss.menu.ElephantMenu.showModalZulFile |
( |
String |
label, |
|
|
String |
source, |
|
|
Command |
command |
|
) |
| |
|
static |
◆ showModalZulFile() [2/2]
static void org.turro.zkoss.menu.ElephantMenu.showModalZulFile |
( |
String |
label, |
|
|
String |
source, |
|
|
Map |
args, |
|
|
Command |
command |
|
) |
| |
|
static |
Definition at line 82 of file zkoss/menu/ElephantMenu.java.
83 Framework frame = Framework.getCurrent();
84 if(label.startsWith(
"@")) {
85 frame.showModal(label.substring(1), source, args, command);
87 frame.showModal(I_.get(label), source, args, command);
◆ showPopupZulFile() [1/2]
static void org.turro.zkoss.menu.ElephantMenu.showPopupZulFile |
( |
String |
label, |
|
|
String |
source |
|
) |
| |
|
static |
◆ showPopupZulFile() [2/2]
static void org.turro.zkoss.menu.ElephantMenu.showPopupZulFile |
( |
String |
label, |
|
|
String |
source, |
|
|
Map |
args |
|
) |
| |
|
static |
Definition at line 95 of file zkoss/menu/ElephantMenu.java.
96 Framework frame = Framework.getCurrent();
97 if(label.startsWith(
"@")) {
98 frame.showPopup(label.substring(1), source, args);
100 frame.showPopup(I_.get(label), source, args);
◆ showZulFile() [1/2]
static void org.turro.zkoss.menu.ElephantMenu.showZulFile |
( |
String |
label, |
|
|
String |
source |
|
) |
| |
|
static |
◆ showZulFile() [2/2]
static void org.turro.zkoss.menu.ElephantMenu.showZulFile |
( |
String |
label, |
|
|
String |
source, |
|
|
Map< String, Object > |
dynProps |
|
) |
| |
|
static |
Definition at line 69 of file zkoss/menu/ElephantMenu.java.
70 Framework frame = Framework.getCurrent();
71 if(label.startsWith(
"@")) {
72 frame.addContent(label.substring(1), source, dynProps);
74 frame.addContent(I_.get(label), source, dynProps);
The documentation for this class was generated from the following file: