litesoft
Diff Revisions
947
vs
948
for /trunk/Java/GWT/Client/src/org/litesoft/GWT/client/widgets/BackButton.java
|
@@ -5,32 +5,26 @@ |
5 |
5 |
|
|
6 |
6 |
|
import com.google.gwt.user.client.*; |
7 |
7 |
|
|
8 |
|
- |
public class BackButton implements ButtonFactory |
9 |
|
- |
{ |
|
8 |
+ |
public class BackButton implements ButtonFactory { |
10 |
9 |
|
public static final String NAME = "Back"; |
11 |
10 |
|
|
12 |
|
- |
public static DefButtonNamedTypedFactory factory() |
13 |
|
- |
{ |
|
11 |
+ |
public static DefButtonNamedTypedFactory factory() { |
14 |
12 |
|
return factory( null ); |
15 |
13 |
|
} |
16 |
14 |
|
|
17 |
|
- |
public static DefButtonNamedTypedFactory factory( String pText ) |
18 |
|
- |
{ |
|
15 |
+ |
public static DefButtonNamedTypedFactory factory( String pText ) { |
19 |
16 |
|
return new DefButtonNamed( NAME ).blue().preImageWidth( 12 ).text( pText ); |
20 |
17 |
|
} |
21 |
18 |
|
|
22 |
|
- |
public static DefButtonNamedTypedFactory factory( String pText, Command pCommand ) |
23 |
|
- |
{ |
|
19 |
+ |
public static DefButtonNamedTypedFactory factory( String pText, Command pCommand ) { |
24 |
20 |
|
return factory( pText ).add( pCommand ); |
25 |
21 |
|
} |
26 |
22 |
|
|
27 |
|
- |
public static DefButtonNamedTypedFactory factory( String pText, ViewDef pViewDef ) |
28 |
|
- |
{ |
|
23 |
+ |
public static DefButtonNamedTypedFactory factory( String pText, ViewDef pViewDef ) { |
29 |
24 |
|
return factory( pText ).add( pViewDef ); |
30 |
25 |
|
} |
31 |
26 |
|
|
32 |
|
- |
public static DefButtonNamedTypedFactory factory( String pText, ViewDef pViewDef, UriFragmentIdParams.ScreenParamsFactory pParamsFactory ) |
33 |
|
- |
{ |
|
27 |
+ |
public static DefButtonNamedTypedFactory factory( String pText, ViewDef pViewDef, UriFragmentIdParams.ScreenParamsFactory pParamsFactory ) { |
34 |
28 |
|
return factory( pText ).add( pViewDef, pParamsFactory ); |
35 |
29 |
|
} |
36 |
30 |
|
} |