litesoft
@ HEAD
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 |
package org.litesoft.GWT.client.widgets; import org.litesoft.commonfoundation.base.*; public class DefButtonNamedTypedFactoryText extends DefButtonNamedTypedFactory { private String mText; private DefButtonNamedTypedAbstractTextable mTextType; public DefButtonNamedTypedFactoryText( DefButtonNamedTypedAbstractTextable pTyped, String pText ) { super( pTyped, Form.Text ); mText = ConstrainTo.significantOrNull( pText ); mTextType = pTyped; } @Override protected String getFormDescription() { return (mText == null) ? "" : "(" + mText + ")"; } public String getText() { return (mText != null) ? mText : getName(); } public boolean wrapText() { return mTextType.wrapText(); } public String getSize() { return mTextType.getSize(); } public int getPreImageWidth() { return mTextType.getPreImageWidth(); } public int getPostImageWidth() { return mTextType.getPostImageWidth(); } } |
Commits for litesoft/trunk/Java/GWT/Client/src/org/litesoft/GWT/client/widgets/DefButtonNamedTypedFactoryText.java
Revision | Author | Commited | Message |
---|---|---|---|
950 Diff | GeorgeS | Thu 19 Jun, 2014 17:57:04 +0000 | New Lines |
948 Diff | GeorgeS | Sat 07 Jun, 2014 23:42:39 +0000 | Jusefuls Formatter Updated to New Code Format |
939 Diff | GeorgeS | Mon 02 Jun, 2014 21:30:31 +0000 | Extracting commonfoundation |
801 Diff | GeorgeS | Wed 15 Aug, 2012 03:59:02 +0000 | |
144 Diff | GeorgeS | Mon 14 Mar, 2011 03:42:34 +0000 | |
142 Diff | GeorgeS | Sun 13 Mar, 2011 23:01:57 +0000 | |
133 Diff | GeorgeS | Wed 09 Mar, 2011 00:33:28 +0000 | |
125 Diff | GeorgeS | Sun 06 Mar, 2011 22:45:45 +0000 | |
124 Diff | GeorgeS | Sun 06 Mar, 2011 19:52:47 +0000 | |
123 | GeorgeS | Sat 05 Mar, 2011 01:35:24 +0000 |