public abstract class ModalDialog extends Object
| Constructor and Description |
|---|
ModalDialog(String title,
int width,
int height)
Creates new Dialog.
|
| Modifier and Type | Method and Description |
|---|---|
protected void |
addMember(com.smartgwt.client.widgets.Canvas canvas) |
protected com.smartgwt.client.widgets.form.DynamicForm |
form() |
void |
hide()
Hides this dialog.
|
abstract void |
onConfirm(com.smartgwt.client.widgets.form.fields.events.ClickEvent event)
Executes action when 'OK' button clicked.
|
void |
setAction(String action) |
void |
setControls(com.smartgwt.client.widgets.form.fields.FormItem... items)
Adds controls to this dialog.
|
void |
showModal()
Shows this dialog modal.
|
void |
submitForm() |
protected com.smartgwt.client.widgets.Window |
window() |
public ModalDialog(String title, int width, int height)
title - title of the dialog window.width - the width of the dialog.height - the height of the dialog.protected void addMember(com.smartgwt.client.widgets.Canvas canvas)
public void setControls(com.smartgwt.client.widgets.form.fields.FormItem... items)
items - controlspublic void showModal()
public void hide()
public abstract void onConfirm(com.smartgwt.client.widgets.form.fields.events.ClickEvent event)
event - public void submitForm()
protected com.smartgwt.client.widgets.form.DynamicForm form()
protected com.smartgwt.client.widgets.Window window()
Copyright © 2008–2018 JBoss, a division of Red Hat. All rights reserved.