Spiffy UI Framework

org.spiffyui.client.widgets.dialog
Class ConfirmDialog

java.lang.Object
  extended by DialogBox
      extended by org.spiffyui.client.widgets.dialog.Dialog
          extended by org.spiffyui.client.widgets.dialog.ConfirmDialog

public class ConfirmDialog
extends Dialog

This is a generic Confirm Dialog, which is modal. It can be extended depending on needs.


Constructor Summary
ConfirmDialog(java.lang.String id, java.lang.String title)
          Create a new confirm dialog with the specified ID and title.
 
Method Summary
 void setText(java.lang.String text)
          Set the text for the body of the confirm dialog.
 
Methods inherited from class org.spiffyui.client.widgets.dialog.Dialog
addButton, addButton, getButtonBar, getButtonClicked, getCloseText, getDefaultButton, getDialogBody, getId, onPreviewNativeEvent, replaceDialogBodyContents, replaceTitle, setButtonBar, setButtonClicked, setCloseText, setDefaultButton, setDialogBody, setId, show
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

ConfirmDialog

public ConfirmDialog(java.lang.String id,
                     java.lang.String title)
Create a new confirm dialog with the specified ID and title.

Parameters:
id - - the id of this element
title - - the title of the dialog, which shows up as the "caption"
Method Detail

setText

public void setText(java.lang.String text)
Set the text for the body of the confirm dialog.

Parameters:
text - - HTML is allowed

Spiffy UI Framework