Subversion Repository Public Repository

litesoft

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

Diff revisions: vs.
  @@ -5,21 +5,17 @@
5 5
6 6 import com.google.gwt.user.client.ui.*;
7 7
8 - public class WindowMinimizeButton extends BGImageButton
9 - {
8 + public class WindowMinimizeButton extends BGImageButton {
10 9 private static final String URL_IMAGE_BASE = "images/imageButtons/minimize/minimize";
11 10
12 - public static void prefetchImages()
13 - {
14 - for ( int i = 0; i < CssBackgroundImageButtonHelper.ALL_STATES.length; i++ )
15 - {
11 + public static void prefetchImages() {
12 + for ( int i = 0; i < CssBackgroundImageButtonHelper.ALL_STATES.length; i++ ) {
16 13 CssBackgroundImageButtonHelper.State zState = CssBackgroundImageButtonHelper.ALL_STATES[i];
17 14 Image.prefetch( zState.getURL( URL_IMAGE_BASE ) );
18 15 }
19 16 }
20 17
21 - public WindowMinimizeButton( ClickListener pListener )
22 - {
18 + public WindowMinimizeButton( ClickListener pListener ) {
23 19 // todo: translate: super( "Minimize", "Minimize", pListener );
24 20 super( "Minimize", -1, -1, "Minimize", null, null );
25 21 }