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