Subversion Repository Public Repository

litesoft

Diff Revisions 852 vs 853 for /trunk/Java/core/jvm1.4/src/org/litesoft/ui/def/nonpublic/support/AbstractDateMetaData.java

Diff revisions: vs.
  @@ -9,7 +9,7 @@
9 9 public abstract class AbstractDateMetaData extends RequirableAttributeMetaData
10 10 {
11 11 private String mCancelText, mTodayText;
12 - private DateFormatControl mFormatControl;
12 + private DateFormat mFormat;
13 13
14 14 /**
15 15 * @deprecated GWT ONLY
  @@ -22,12 +22,12 @@
22 22 String pExternalText, String pTooltip, //
23 23 boolean pRequired, String pErrorTextForRequired, //
24 24 String pCancelText, String pTodayText, //
25 - DateFormatControl pFormatControl )
25 + DateFormat pFormat )
26 26 {
27 27 super( pUsage, pDisabled, pHints, pExternalText, pTooltip, pRequired, pErrorTextForRequired );
28 28 mCancelText = Strings.assertNotNullNotEmpty( "CancelText", pCancelText );
29 29 mTodayText = Strings.assertNotNullNotEmpty( "TodayText", pTodayText );
30 - Objects.assertNotNull( "DateFormatControl", mFormatControl = pFormatControl );
30 + Objects.assertNotNull( "DateFormat", mFormat = pFormat );
31 31 }
32 32
33 33 public String getCancelText()
  @@ -40,9 +40,9 @@
40 40 return mTodayText;
41 41 }
42 42
43 - public DateFormatControl getFormatControl()
43 + public DateFormat getFormatControl()
44 44 {
45 - return mFormatControl;
45 + return mFormat;
46 46 }
47 47
48 48 protected void addAdditionalSimpleAttributes( StringBuilder pSB )
  @@ -50,6 +50,6 @@
50 50 super.addAdditionalSimpleAttributes( pSB );
51 51 pSB.append( ",CancelText='" ).append( mCancelText ).append( "'" );
52 52 pSB.append( ",TodayText='" ).append( mTodayText ).append( "'" );
53 - pSB.append( ",Format='" ).append( mFormatControl ).append( "'" );
53 + pSB.append( ",Format='" ).append( mFormat ).append( "'" );
54 54 }
55 55 }