litesoft
@ 965
litesoft / trunk / GWT_Sandbox / FormEngine / src / com / temp / foundation / client / widget / dialog / InformDialog.java
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 |
package com.temp.foundation.client.widget.dialog; import com.temp.foundation.client.handler.*; import com.temp.foundation.client.widget.*; public class InformDialog extends SEDIDialogBox { public InformDialog( String title, Integer contentWidth, String... bodyTextBlocksAboveCloseButton ) { super( "images/dialog/information.png", contentWidth, title ); setBody( bodyTextBlocksAboveCloseButton, new OurPushButton( "close" ).add( hideClickHandler ) ); } public InformDialog( String title, String... bodyTextBlocksAboveCloseButton ) { this( title, null, bodyTextBlocksAboveCloseButton ); } public InformDialog centerContent() { centerAllContent = true; return this; } public void show( DialogClose closeListener ) { setCloseListener( closeListener ); show(); } } |
Commits for litesoft/trunk/GWT_Sandbox/FormEngine/src/com/temp/foundation/client/widget/dialog/InformDialog.java
Revision | Author | Commited | Message |
---|---|---|---|
965 | GeorgeS | Fri 01 Aug, 2014 03:20:35 +0000 | ! |