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
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
package com.temp.client.foundation.widget.input.fieldsupport;

import com.temp.client.foundation.widget.*;
import com.temp.client.foundation.widget.input.support.*;
import com.temp.shared.externalization.*;

public class CompleteInputFieldAccessor<T> extends InputFieldAccessor<T>
{
    private final E13nResolver e13nResolver;
    private final TextLabel labelLabel;
    private final TextLabel extendedLabel;
    private final TextLabel exampleLabel;
    private final TextLabel errorLabel;
    private final HelpWidget helpWidget;

    private boolean changed = false;
    private boolean baseValueValid = false;
    private T baseValue = null;

    public CompleteInputFieldAccessor( E13nResolver e13nResolver, TextLabel labelLabel, TextLabel extendedLabel, InputFieldAccessor<T> inputFieldAccessor, HelpWidget helpWidget, TextLabel exampleLabel, TextLabel errorLabel )
    {
        super( inputFieldAccessor.getInput(), inputFieldAccessor.getValidator(), inputFieldAccessor.getInputWidget() );
        this.e13nResolver = e13nResolver;
        this.labelLabel = labelLabel;
        this.extendedLabel = extendedLabel;
        this.exampleLabel = exampleLabel;
        this.errorLabel = errorLabel;
        this.helpWidget = helpWidget;
    }

    public E13nResolver getE13nResolver()
    {
        return e13nResolver;
    }

    public TextLabel getLabelLabel()
    {
        return labelLabel;
    }

    public TextLabel getExtendedLabel()
    {
        return extendedLabel;
    }

    public TextLabel getExampleLabel()
    {
        return exampleLabel;
    }

    public TextLabel getErrorLabel()
    {
        return errorLabel;
    }

    public HelpWidget getHelpWidget()
    {
        return helpWidget;
    }
}

Commits for litesoft/trunk/GWT_Sandbox/FormEngine/src/com/temp/client/foundation/widget/input/fieldsupport/CompleteInputFieldAccessor.java

Diff revisions: vs.
Revision Author Commited Message
628 Diff Diff GeorgeS picture GeorgeS Fri 13 Apr, 2012 03:53:33 +0000
626 GeorgeS picture GeorgeS Wed 11 Apr, 2012 19:39:41 +0000