Subversion Repository Public Repository

litesoft

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
package org.litesoft.GWT.client.widgets;

import org.litesoft.commonfoundation.typeutils.*;

public abstract class DefButtonNamedTypedFactoryAbstractText extends DefButtonNamedTypedFactory {
    private String mText;
    private DefButtonNamedTypedAbstractTextable mTextType;

    public DefButtonNamedTypedFactoryAbstractText( DefButtonNamedTypedAbstractTextable pTyped, String pText ) {
        super( pTyped, Form.Text );
        mText = Strings.noEmpty( 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 int getPreImageWidth() {
        return mTextType.getPreImageWidth();
    }

    public int getPostImageWidth() {
        return mTextType.getPostImageWidth();
    }
}

Commits for litesoft/trunk/Java/GWT/Client/src/org/litesoft/GWT/client/widgets/DefButtonNamedTypedFactoryAbstractText.java

Diff revisions: vs.
Revision Author Commited Message
948 Diff Diff GeorgeS picture GeorgeS Sat 07 Jun, 2014 23:42:39 +0000

Jusefuls Formatter Updated to New Code Format

939 Diff Diff GeorgeS picture GeorgeS Mon 02 Jun, 2014 21:30:31 +0000

Extracting commonfoundation

801 Diff Diff GeorgeS picture GeorgeS Wed 15 Aug, 2012 03:59:02 +0000
144 Diff Diff GeorgeS picture GeorgeS Mon 14 Mar, 2011 03:42:34 +0000
142 Diff Diff GeorgeS picture GeorgeS Sun 13 Mar, 2011 23:01:57 +0000
133 Diff Diff GeorgeS picture GeorgeS Wed 09 Mar, 2011 00:33:28 +0000
125 Diff Diff GeorgeS picture GeorgeS Sun 06 Mar, 2011 22:45:45 +0000
124 Diff Diff GeorgeS picture GeorgeS Sun 06 Mar, 2011 19:52:47 +0000
123 GeorgeS picture GeorgeS Sat 05 Mar, 2011 01:35:24 +0000