public interface Dialog
Common.createDialog()
Modifier and Type | Interface and Description |
---|---|
static interface |
Dialog.Button
Dialog button.
|
Modifier and Type | Method and Description |
---|---|
Dialog.Button |
addButton(String text,
JavaScriptObject clickHandler)
Adds a button to the dialog.
|
void |
hide()
Sets the dialog invisible.
|
void |
setContent(Element element)
Sets the inner content of this dialog.
|
void |
setSize(int width,
int height)
Sets the dialog size.
|
void |
setTitle(String title)
Sets dialog's title.
|
void |
show()
Sets the dialog visible.
|
void setTitle(String title)
title
- dialog title.void setContent(Element element)
element
- html content.Dialog.Button addButton(String text, JavaScriptObject clickHandler)
text
- button label.clickHandler
- called when the user clicks the button.enabled/disable
it.void setSize(int width, int height)
width
- total width of the dialog.height
- total height of the dialog.void show()
hide
the dialog,
e.g. after pressing a button
.void hide()
Copyright © 2014 e-Spirit AG. All Rights Reserved. Build 5.0_BETA.500