Subversion Repository Public Repository

litesoft

Diff Revisions 2 vs 23 for /trunk/Java/GWT/Client/src/org/litesoft/GWT/forms/client/components/nonpublic/AbstractFormElement.java

Diff revisions: vs.
  @@ -38,11 +38,13 @@
38 38
39 39 // UIObject
40 40
41 + @Override
41 42 public void setStyleName( String style )
42 43 {
43 44 throw new IllegalStateException( "Can not use setStyleName, use addStyleName & removeStyleName" );
44 45 }
45 46
47 + @Override
46 48 protected Element getStyleElement()
47 49 {
48 50 return mInnerHTMLpanel.getElement();
  @@ -65,6 +67,7 @@
65 67 *
66 68 * @throws UnsupportedOperationException
67 69 */
70 + @Override
68 71 public void setTitle( String title )
69 72 throws UnsupportedOperationException
70 73 {
  @@ -73,11 +76,13 @@
73 76
74 77 // IFormComponent
75 78
79 + @Override
76 80 public boolean hasError()
77 81 {
78 82 return false;
79 83 }
80 84
85 + @Override
81 86 public void setError( String pError )
82 87 throws UnsupportedOperationException
83 88 {
  @@ -87,23 +92,27 @@
87 92 }
88 93 }
89 94
95 + @Override
90 96 public void setFocused( boolean pFocused )
91 97 {
92 98 mFocused = pFocused;
93 99 stateChanged();
94 100 }
95 101
102 + @Override
96 103 public void setValueChanged( boolean pChanged )
97 104 {
98 105 mChanged = pChanged;
99 106 stateChanged();
100 107 }
101 108
109 + @Override
102 110 public boolean isEnabled()
103 111 {
104 112 return mEnabled;
105 113 }
106 114
115 + @Override
107 116 public void publishAnyPendingChanges()
108 117 {
109 118 // Do nothing as most FormElements do not do defferred processing
  @@ -113,6 +122,7 @@
113 122 }
114 123 }
115 124
125 + @Override
116 126 public IFormComponent addFormComponentListener( Listener pFormComponentListener )
117 127 {
118 128 if ( pFormComponentListener != null )
  @@ -123,6 +133,7 @@
123 133 return this;
124 134 }
125 135
136 + @Override
126 137 public IFormComponent removeFormComponentListener( Listener pFormComponentListener )
127 138 {
128 139 if ( pFormComponentListener != null )
  @@ -322,6 +333,7 @@
322 333 {
323 334 TimedRunnableManager.INSTANCE.runIn( new TimedRunnable()
324 335 {
336 + @Override
325 337 public Again runOnce()
326 338 {
327 339 if ( !UtilsGwt.isRecursiveVisible( (Widget) pFocusable ) )