litesoft
Diff Revisions
947
vs
948
for /trunk/GWT_Sandbox/FormEngine/src/com/temp/client/foundation/widget/dialog/InformDialog.java
|
@@ -1,18 +1,18 @@ |
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 |
|
public class InformDialog extends SEDIDialogBox { |
7 |
7 |
|
|
8 |
|
- |
public InformDialog(String title, Integer contentWidth, String... bodyTextBlocksAboveCloseButton) { |
9 |
|
- |
super("images/dialog/information.png", contentWidth, title); |
|
8 |
+ |
public InformDialog( String title, Integer contentWidth, String... bodyTextBlocksAboveCloseButton ) { |
|
9 |
+ |
super( "images/dialog/information.png", contentWidth, title ); |
10 |
10 |
|
|
11 |
|
- |
setBody(bodyTextBlocksAboveCloseButton, new OurPushButton("close").add(hideClickHandler)); |
|
11 |
+ |
setBody( bodyTextBlocksAboveCloseButton, new OurPushButton( "close" ).add( hideClickHandler ) ); |
12 |
12 |
|
} |
13 |
13 |
|
|
14 |
|
- |
public InformDialog(String title, String... bodyTextBlocksAboveCloseButton) { |
15 |
|
- |
this(title, null, bodyTextBlocksAboveCloseButton); |
|
14 |
+ |
public InformDialog( String title, String... bodyTextBlocksAboveCloseButton ) { |
|
15 |
+ |
this( title, null, bodyTextBlocksAboveCloseButton ); |
16 |
16 |
|
} |
17 |
17 |
|
|
18 |
18 |
|
public InformDialog centerContent() { |
|
@@ -20,8 +20,8 @@ |
20 |
20 |
|
return this; |
21 |
21 |
|
} |
22 |
22 |
|
|
23 |
|
- |
public void show(DialogClose closeListener) { |
24 |
|
- |
setCloseListener(closeListener); |
|
23 |
+ |
public void show( DialogClose closeListener ) { |
|
24 |
+ |
setCloseListener( closeListener ); |
25 |
25 |
|
show(); |
26 |
26 |
|
} |
27 |
27 |
|
} |