litesoft
Diff Revisions
949
vs
950
for /trunk/Java/GWT/Client/src/org/litesoft/GWT/client/widgets/YesButton.java
|
@@ -1,14 +1,14 @@ |
1 |
|
- |
// This Source Code is in the Public Domain per: http://unlicense.org |
2 |
|
- |
package org.litesoft.GWT.client.widgets; |
3 |
|
- |
|
4 |
|
- |
public class YesButton implements ButtonFactory { |
5 |
|
- |
public static final String NAME = "Yes"; |
6 |
|
- |
|
7 |
|
- |
public static DefButtonNamedTypedFactory factory() { |
8 |
|
- |
return factory( null ); |
9 |
|
- |
} |
10 |
|
- |
|
11 |
|
- |
public static DefButtonNamedTypedFactory factory( String pText ) { |
12 |
|
- |
return new DefButtonNamed( NAME ).green().text( pText ); |
13 |
|
- |
} |
14 |
|
- |
} |
|
1 |
+ |
// This Source Code is in the Public Domain per: http://unlicense.org |
|
2 |
+ |
package org.litesoft.GWT.client.widgets; |
|
3 |
+ |
|
|
4 |
+ |
public class YesButton implements ButtonFactory { |
|
5 |
+ |
public static final String NAME = "Yes"; |
|
6 |
+ |
|
|
7 |
+ |
public static DefButtonNamedTypedFactory factory() { |
|
8 |
+ |
return factory( null ); |
|
9 |
+ |
} |
|
10 |
+ |
|
|
11 |
+ |
public static DefButtonNamedTypedFactory factory( String pText ) { |
|
12 |
+ |
return new DefButtonNamed( NAME ).green().text( pText ); |
|
13 |
+ |
} |
|
14 |
+ |
} |