litesoft
Diff Revisions
947
vs
948
for /trunk/Java/GWT/Client/src/org/litesoft/GWT/client/widgets/ClearButton.java
|
@@ -3,27 +3,22 @@ |
3 |
3 |
|
|
4 |
4 |
|
import com.google.gwt.event.dom.client.*; |
5 |
5 |
|
|
6 |
|
- |
public class ClearButton extends BGImage16x16Button implements ButtonFactory |
7 |
|
- |
{ |
|
6 |
+ |
public class ClearButton extends BGImage16x16Button implements ButtonFactory { |
8 |
7 |
|
private static final String NAME = "Clear"; |
9 |
8 |
|
|
10 |
|
- |
public static DefButtonNamedTypedFactory factory() |
11 |
|
- |
{ |
|
9 |
+ |
public static DefButtonNamedTypedFactory factory() { |
12 |
10 |
|
return new DefButtonNamed( NAME ).red().text(); |
13 |
11 |
|
} |
14 |
12 |
|
|
15 |
|
- |
public ClearButton() |
16 |
|
- |
{ |
|
13 |
+ |
public ClearButton() { |
17 |
14 |
|
this( NAME, null ); |
18 |
15 |
|
} |
19 |
16 |
|
|
20 |
|
- |
public ClearButton( String pTooltip ) |
21 |
|
- |
{ |
|
17 |
+ |
public ClearButton( String pTooltip ) { |
22 |
18 |
|
this( pTooltip, null ); |
23 |
19 |
|
} |
24 |
20 |
|
|
25 |
|
- |
public ClearButton( String pTooltip, ClickHandler pClickHandler ) |
26 |
|
- |
{ |
|
21 |
+ |
public ClearButton( String pTooltip, ClickHandler pClickHandler ) { |
27 |
22 |
|
super( "Trash", pTooltip, "", pClickHandler ); |
28 |
23 |
|
} |
29 |
24 |
|
} |