org.jboss.errai.widgets.client
Class WSModalDialog

java.lang.Object
  extended by 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


Field Summary
 
Fields inherited from interface org.jboss.errai.common.client.framework.AcceptsCallback
MESSAGE_CANCEL, MESSAGE_OK
 
Constructor Summary
WSModalDialog()
           
WSModalDialog(String title)
           
 
Method Summary
 void ask(String message, org.jboss.errai.common.client.framework.AcceptsCallback callbackTo)
           
 void callback(Object message, Object data)
           
static com.google.gwt.user.client.ui.SimplePanel createDrape()
           
 com.google.gwt.user.client.ui.Button getCancelButton()
           
 com.google.gwt.user.client.ui.Button getOkButton()
           
 void hide()
           Hides the Modal Window
 void setCancelButton(com.google.gwt.user.client.ui.Button cancelButton)
           
 void setOkButton(com.google.gwt.user.client.ui.Button okButton)
           
 void setTitle(String title)
           
 void showModal()
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

WSModalDialog

public WSModalDialog()

WSModalDialog

public WSModalDialog(String title)
Method Detail

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.