org.jboss.errai.widgets.client
Class WSModalDialog
java.lang.Object
org.jboss.errai.widgets.client.WSModalDialog
- All Implemented Interfaces:
- org.jboss.errai.common.client.framework.AcceptsCallback
public class WSModalDialog
- extends Object
- implements org.jboss.errai.common.client.framework.AcceptsCallback
| Fields inherited from interface org.jboss.errai.common.client.framework.AcceptsCallback |
MESSAGE_CANCEL, MESSAGE_OK |
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
WSModalDialog
public WSModalDialog()
WSModalDialog
public WSModalDialog(String title)
callback
public void callback(Object message,
Object data)
- Specified by:
callback in interface org.jboss.errai.common.client.framework.AcceptsCallback
ask
public void ask(String message,
org.jboss.errai.common.client.framework.AcceptsCallback callbackTo)
getOkButton
public com.google.gwt.user.client.ui.Button getOkButton()
setOkButton
public void setOkButton(com.google.gwt.user.client.ui.Button okButton)
getCancelButton
public com.google.gwt.user.client.ui.Button getCancelButton()
setCancelButton
public void setCancelButton(com.google.gwt.user.client.ui.Button cancelButton)
setTitle
public void setTitle(String title)
createDrape
public static com.google.gwt.user.client.ui.SimplePanel createDrape()
showModal
public void showModal()
hide
public void hide()
Hides the Modal Window
Copyright © 2011 JBoss, a division of Red Hat. All Rights Reserved.