Subversion Repository Public Repository

litesoft

Diff Revisions 947 vs 948 for /trunk/GWT_Sandbox/FormEngine/src/com/temp/client/foundation/widget/dialog/AlertDialog.java

Diff revisions: vs.
  @@ -1,7 +1,7 @@
1 1 package com.temp.client.foundation.widget.dialog;
2 2
3 - import com.temp.client.foundation.handler.DialogClose;
4 - import com.temp.client.foundation.widget.OurPushButton;
3 + import com.temp.client.foundation.handler.*;
4 + import com.temp.client.foundation.widget.*;
5 5
6 6 /**
7 7 * This custom dialog shows custom title, body lines (description) followed by a
  @@ -11,14 +11,14 @@
11 11 */
12 12 public class AlertDialog extends SEDIDialogBox {
13 13
14 - public AlertDialog(String title, Integer contentWidth, String... bodyTextBlocksAboveCloseButton) {
15 - super("images/dialog/alertIcon.png", contentWidth, title);
14 + public AlertDialog( String title, Integer contentWidth, String... bodyTextBlocksAboveCloseButton ) {
15 + super( "images/dialog/alertIcon.png", contentWidth, title );
16 16
17 - setBody(bodyTextBlocksAboveCloseButton, new OurPushButton("close").add(hideClickHandler));
17 + setBody( bodyTextBlocksAboveCloseButton, new OurPushButton( "close" ).add( hideClickHandler ) );
18 18 }
19 19
20 - public AlertDialog(String title, String... bodyTextBlocksAboveCloseButton) {
21 - this(title, null, bodyTextBlocksAboveCloseButton);
20 + public AlertDialog( String title, String... bodyTextBlocksAboveCloseButton ) {
21 + this( title, null, bodyTextBlocksAboveCloseButton );
22 22 }
23 23
24 24 public AlertDialog centerContent() {
  @@ -26,8 +26,8 @@
26 26 return this;
27 27 }
28 28
29 - public void show(DialogClose closeListener) {
30 - setCloseListener(closeListener);
29 + public void show( DialogClose closeListener ) {
30 + setCloseListener( closeListener );
31 31 show();
32 32 }
33 33 }