Subversion Repository Public Repository

litesoft

Diff Revisions 947 vs 948 for /trunk/Java/GWT/Client/src/org/litesoft/GWT/client/widgets/WindowCloseButton.java

Diff revisions: vs.
  @@ -6,21 +6,17 @@
6 6 import com.google.gwt.user.client.*;
7 7 import com.google.gwt.user.client.ui.*;
8 8
9 - public class WindowCloseButton extends BGImage16x16Button
10 - {
9 + public class WindowCloseButton extends BGImage16x16Button {
11 10 private static final String URL_IMAGE_BASE = "common/images/imageButtons/close/closeX";
12 11
13 - public static void prefetchImages()
14 - {
15 - for ( int i = 0; i < CssBackgroundImageButtonHelper.ALL_STATES.length; i++ )
16 - {
12 + public static void prefetchImages() {
13 + for ( int i = 0; i < CssBackgroundImageButtonHelper.ALL_STATES.length; i++ ) {
17 14 CssBackgroundImageButtonHelper.State zState = CssBackgroundImageButtonHelper.ALL_STATES[i];
18 15 Image.prefetch( zState.getURL( URL_IMAGE_BASE ) );
19 16 }
20 17 }
21 18
22 - public WindowCloseButton( Command pListener )
23 - {
19 + public WindowCloseButton( Command pListener ) {
24 20 super( "CloseX", "Close", "", new ClickHandlerCommandAdaptor( pListener ) );
25 21 }
26 22 }