litesoft
@ 939
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 |
// This Source Code is in the Public Domain per: http://litesoft.org/License.txt package org.litesoft.GWT.client.widgets; import org.litesoft.commonfoundation.typeutils.*; public class DefButtonNamed { public static final String LOGOUT = "Logout"; public static final String CANCEL = "Cancel"; private final String mName; protected DefButtonNamed( String pName ) { mName = Strings.assertNotNullNotEmpty( "Name", pName ); } public final DefButtonTypedBlue blue() { return new DefButtonTypedBlue( this ); } public final DefButtonTypedRed red() { return new DefButtonTypedRed( this ); } public final DefButtonTypedGreen green() { return new DefButtonTypedGreen( this ); } public final String getName() { return mName; } @Override public String toString() { return Objects.justClassNameOf( this ) + "( " + mName + " )"; } } |
Commits for litesoft/trunk/Java/GWT/Client/src/org/litesoft/GWT/client/widgets/DefButtonNamed.java
Revision | Author | Commited | Message |
---|---|---|---|
939 Diff | GeorgeS | Mon 02 Jun, 2014 21:30:31 +0000 | Extracting commonfoundation |
821 Diff | GeorgeS | Sun 19 Aug, 2012 00:08:41 +0000 | |
811 Diff | GeorgeS | Sat 18 Aug, 2012 13:45:18 +0000 | |
144 Diff | GeorgeS | Mon 14 Mar, 2011 03:42:34 +0000 | |
142 Diff | GeorgeS | Sun 13 Mar, 2011 23:01:57 +0000 | |
135 Diff | GeorgeS | Wed 09 Mar, 2011 15:19:54 +0000 | |
133 Diff | GeorgeS | Wed 09 Mar, 2011 00:33:28 +0000 | |
132 Diff | GeorgeS | Mon 07 Mar, 2011 15:53:42 +0000 | |
131 Diff | GeorgeS | Mon 07 Mar, 2011 15:21:33 +0000 | |
125 | GeorgeS | Sun 06 Mar, 2011 22:45:45 +0000 |