|
static void | getComponent (Page page, String title, Component component, String width, String height, final Command command) |
|
static void | showComponent (Page page, String title, Component component, String width, String height, final Command command) |
|
static void | popupComponent (Page page, String title, Component component, String width, String height) |
|
◆ SelectionDialog()
org.turro.zkoss.dialog.SelectionDialog.SelectionDialog |
( |
String |
title, |
|
|
Component |
component, |
|
|
Set< DialogButton > |
buttons |
|
) |
| |
Definition at line 45 of file SelectionDialog.java.
46 super(title,
"normal",
false);
47 this.component = component;
48 this.buttons = buttons;
50 panel.setVflex(
"true");
51 panel.setHflex(
"true");
53 Panelchildren pc =
new Panelchildren();
54 panel.appendChild(pc);
55 container =
new Vlayout();
56 container.setHflex(
"true");
57 container.setVflex(
"true");
58 container.setSclass(
"_inputDialogContainer");
59 pc.appendChild(container);
60 container.appendChild(component);
61 if(component instanceof AfterCompose) {
62 ((AfterCompose) component).afterCompose();
77 if(((HtmlBasedComponent) this.component).getHeight()==
null) {
78 ((HtmlBasedComponent) this.component).setVflex(
"true");
80 if(((HtmlBasedComponent) this.component).getWidth() ==
null) {
81 ((HtmlBasedComponent) this.component).setHflex(
"true");
◆ afterCompose()
void org.turro.zkoss.dialog.SelectionDialog.afterCompose |
( |
| ) |
|
Definition at line 94 of file SelectionDialog.java.
95 ((HtmlBasedComponent) component).setVflex(
"true");
96 ((HtmlBasedComponent) component).setHflex(
"true");
◆ getComponent() [1/2]
Component org.turro.zkoss.dialog.SelectionDialog.getComponent |
( |
| ) |
|
◆ getComponent() [2/2]
static void org.turro.zkoss.dialog.SelectionDialog.getComponent |
( |
Page |
page, |
|
|
String |
title, |
|
|
Component |
component, |
|
|
String |
width, |
|
|
String |
height, |
|
|
final Command |
command |
|
) |
| |
|
static |
Definition at line 126 of file SelectionDialog.java.
128 if(width !=
null)
id.setWidth(width);
129 if(height !=
null)
id.setHeight(height);
130 id.show(page,
new Command() {
132 public Object execute(Context context) {
135 if(command !=
null) command.execute(context);
SelectionDialog(String title, Component component, Set< DialogButton > buttons)
DialogButton getPressedButton()
◆ getPressedButton()
DialogButton org.turro.zkoss.dialog.SelectionDialog.getPressedButton |
( |
| ) |
|
◆ popupComponent()
static void org.turro.zkoss.dialog.SelectionDialog.popupComponent |
( |
Page |
page, |
|
|
String |
title, |
|
|
Component |
component, |
|
|
String |
width, |
|
|
String |
height |
|
) |
| |
|
static |
Definition at line 156 of file SelectionDialog.java.
159 if(width !=
null)
id.setWidth(width);
160 if(height !=
null)
id.setHeight(height);
◆ showComponent()
static void org.turro.zkoss.dialog.SelectionDialog.showComponent |
( |
Page |
page, |
|
|
String |
title, |
|
|
Component |
component, |
|
|
String |
width, |
|
|
String |
height, |
|
|
final Command |
command |
|
) |
| |
|
static |
Definition at line 142 of file SelectionDialog.java.
144 if(width !=
null)
id.setWidth(width);
145 if(height !=
null)
id.setHeight(height);
146 id.show(page,
new Command() {
148 public Object execute(Context context) {
150 if(command !=
null) command.execute(context);
The documentation for this class was generated from the following file: