litesoft
@ 947
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 |
// This Source Code is in the Public Domain per: http://unlicense.org package org.litesoft.GWT.client.widgets; import org.litesoft.commonfoundation.typeutils.*; import org.litesoft.uispecification.*; public class NextButton implements ButtonFactory { public static final String NAME = "Next"; public static DefButtonNamedTypedFactory factory( String pText ) { return new DefButtonNamed( NAME ).green().postImageWidth( 12 ).text( pText ); } public static DefButtonNamedTypedFactory factory() { return factory( (String) null ); } public static DefButtonNamedTypedFactory factory( ViewDef pTarget ) { return justButtonFactory( pTarget ).add( pTarget ); } public static DefButtonNamedTypedFactory factory( ViewDef pTarget, UriFragmentIdParams.ScreenParamsFactory pFactory ) { return justButtonFactory( pTarget ).add( pTarget, pFactory ); } public static DefButtonNamedTypedFactory justButtonFactory( ViewDef pViewDef ) { return factory().enabledToolTip( toolTip( "", pViewDef ) ); } public static String toolTip( String pPrefix, ViewDef pViewDef ) { return (pViewDef == null) ? "" : Strings.deNull( pPrefix ) + "Advance to the " + pViewDef.getUiString() + " step"; } } |
Commits for litesoft/trunk/Java/GWT/Client/src/org/litesoft/GWT/client/widgets/NextButton.java
Revision | Author | Commited | Message |
---|---|---|---|
947 Diff | GeorgeS | Fri 06 Jun, 2014 23:36:56 +0000 | Correct Spelling of package! |
939 Diff | GeorgeS | Mon 02 Jun, 2014 21:30:31 +0000 | Extracting commonfoundation |
802 Diff | GeorgeS | Wed 15 Aug, 2012 04:04:47 +0000 | |
500 Diff | GeorgeS | Sun 11 Sep, 2011 21:24:47 +0000 | |
142 Diff | GeorgeS | Sun 13 Mar, 2011 23:01:57 +0000 | |
137 Diff | GeorgeS | Thu 10 Mar, 2011 15:22:37 +0000 | |
136 Diff | GeorgeS | Wed 09 Mar, 2011 21:09:51 +0000 | |
135 Diff | GeorgeS | Wed 09 Mar, 2011 15:19:54 +0000 | |
133 Diff | GeorgeS | Wed 09 Mar, 2011 00:33:28 +0000 | |
49 | GeorgeS | Mon 12 Apr, 2010 02:59:10 +0000 | License Text |