Package com.googlecode.mgwt.ui.client.widget.dialog.panel

Examples of com.googlecode.mgwt.ui.client.widget.dialog.panel.DialogPanel


   * @param text - the text of the dialog
   * @param okButtonText the text of the button of the dialog
   */
  public AlertDialog(DialogPanelAppearance appearance, String title, String text, String okButtonText) {
    popinDialog = new PopinDialogOverlay(appearance);
    dialogPanel = new DialogPanel(appearance);
    dialogPanel.showCancelButton(false);
    dialogPanel.showOkButton(true);

    textLabel = new HTML();
    dialogPanel.getContent().add(textLabel);
View Full Code Here


   * @param callback - the callback used when a button of the dialog is taped
   */
  public ConfirmDialog(DialogPanelAppearance appearance, String title, String text, ConfirmCallback callback, String okButtonText, String cancelButtonText) {
    this.callback = callback;
    popinDialog = new PopinDialogOverlay(appearance);
    dialogPanel1 = new DialogPanel(appearance);
    dialogPanel1.showCancelButton(true);
    dialogPanel1.showOkButton(true);

    textLabel = new Label();
    dialogPanel1.getContent().add(textLabel);
View Full Code Here

TOP

Related Classes of com.googlecode.mgwt.ui.client.widget.dialog.panel.DialogPanel

Copyright © 2018 www.massapicom. All rights reserved.
All source code are property of their respective owners. Java is a trademark of Sun Microsystems, Inc and owned by ORACLE Inc. Contact coftware#gmail.com.