litesoft
Diff Revisions
947
vs
948
for /trunk/Java/GWT/Client/src/org/litesoft/GWT/client/widgets/CloseButton.java
|
@@ -1,13 +1,11 @@ |
1 |
1 |
|
// This Source Code is in the Public Domain per: http://unlicense.org |
2 |
2 |
|
package org.litesoft.GWT.client.widgets; |
3 |
3 |
|
|
4 |
|
- |
public class CloseButton implements ButtonFactory |
5 |
|
- |
{ |
|
4 |
+ |
public class CloseButton implements ButtonFactory { |
6 |
5 |
|
public static final String NAME = "Close"; |
7 |
6 |
|
private static final String TOOL_TIP = "Close this window/dialog"; |
8 |
7 |
|
|
9 |
|
- |
public static DefButtonNamedTypedFactory factory() |
10 |
|
- |
{ |
|
8 |
+ |
public static DefButtonNamedTypedFactory factory() { |
11 |
9 |
|
return new DefButtonNamed( NAME ).red().text().enabledToolTip( TOOL_TIP ).disabledToolTip( "" ); |
12 |
10 |
|
} |
13 |
11 |
|
} |