- Author
- Lluis TurrĂ³ Cutiller lluis.nosp@m.@tur.nosp@m.ro.or.nosp@m.g
Definition at line 37 of file ZkossUtils.java.
◆ confirmAcceptation()
static void org.turro.elephant.util.ZkossUtils.confirmAcceptation |
( |
String |
message, |
|
|
Command |
command |
|
) |
| |
|
static |
Definition at line 90 of file ZkossUtils.java.
91 PhraseBuilder pb =
new PhraseBuilder(I_.get(
"Confirm acceptation"));
92 if(!Strings.isEmpty(message)) {
static void confirmMessage(String message, final Command command)
◆ confirmCutting()
static void org.turro.elephant.util.ZkossUtils.confirmCutting |
( |
String |
message, |
|
|
Command |
command |
|
) |
| |
|
static |
Definition at line 66 of file ZkossUtils.java.
67 PhraseBuilder pb =
new PhraseBuilder(I_.get(
"Confirm element cut"));
68 if(!Strings.isEmpty(message)) {
◆ confirmDeletion()
static void org.turro.elephant.util.ZkossUtils.confirmDeletion |
( |
String |
message, |
|
|
Command |
command |
|
) |
| |
|
static |
Definition at line 58 of file ZkossUtils.java.
59 PhraseBuilder pb =
new PhraseBuilder(I_.get(
"Confirm element deletion"));
60 if(!Strings.isEmpty(message)) {
◆ confirmMessage()
static void org.turro.elephant.util.ZkossUtils.confirmMessage |
( |
String |
message, |
|
|
final Command |
command |
|
) |
| |
|
static |
Definition at line 98 of file ZkossUtils.java.
99 Messagebox.show(message, I_.get(
"Question"),
100 Messagebox.OK | Messagebox.CANCEL, Messagebox.QUESTION,
101 new EventListener<Event>() {
103 public void onEvent(Event event) throws Exception {
104 Context ctx = new Context();
105 switch ((Integer) event.getData()) {
106 case Messagebox.OK: command.execute(ctx); break;
◆ confirmMove()
static void org.turro.elephant.util.ZkossUtils.confirmMove |
( |
String |
message, |
|
|
Command |
command |
|
) |
| |
|
static |
Definition at line 82 of file ZkossUtils.java.
83 PhraseBuilder pb =
new PhraseBuilder(I_.get(
"Confirm element move"));
84 if(!Strings.isEmpty(message)) {
◆ confirmProcess()
static void org.turro.elephant.util.ZkossUtils.confirmProcess |
( |
String |
message, |
|
|
Command |
command |
|
) |
| |
|
static |
Definition at line 74 of file ZkossUtils.java.
75 PhraseBuilder pb =
new PhraseBuilder(I_.get(
"Confirm process"));
76 if(!Strings.isEmpty(message)) {
◆ getParent() [1/2]
static Component org.turro.elephant.util.ZkossUtils.getParent |
( |
Component |
component, |
|
|
Class |
jClass |
|
) |
| |
|
static |
Definition at line 46 of file ZkossUtils.java.
47 if(component !=
null) {
48 Component p = component;
49 while((p = p.getParent()) !=
null) {
50 if(ReflectionUtil.representsClass(p.getClass(), jClass)) {
◆ getParent() [2/2]
static Component org.turro.elephant.util.ZkossUtils.getParent |
( |
Page |
page, |
|
|
Class |
jClass |
|
) |
| |
|
static |
Definition at line 39 of file ZkossUtils.java.
40 if(page instanceof PageImpl) {
41 return getParent(((PageImpl) page).getOwner(), jClass);
static Component getParent(Page page, Class jClass)
◆ showMessage()
static void org.turro.elephant.util.ZkossUtils.showMessage |
( |
String |
title, |
|
|
String |
message |
|
) |
| |
|
static |
Definition at line 112 of file ZkossUtils.java.
113 Messagebox.show(message, title, Messagebox.OK, Messagebox.INFORMATION, 0,
null);
The documentation for this class was generated from the following file: