litesoft
Diff Revisions
949
vs
950
for /trunk/GWT_Sandbox/FormEngine/src/com/temp/client/foundation/widget/input/ActiveTextArea.java
|
@@ -1,25 +1,25 @@ |
1 |
|
- |
package com.temp.client.foundation.widget.input; |
2 |
|
- |
|
3 |
|
- |
import com.google.gwt.dom.client.*; |
4 |
|
- |
import com.google.gwt.user.client.ui.*; |
5 |
|
- |
import com.temp.client.foundation.widget.input.support.*; |
6 |
|
- |
|
7 |
|
- |
public class ActiveTextArea extends TextArea implements ActiveTextBoxBase { |
8 |
|
- |
@Override |
9 |
|
- |
protected void onAttach() { |
10 |
|
- |
super.onAttach(); |
11 |
|
- |
TextBoxBaseChangeListenableHelper.INSTANCE.attach( this ); |
12 |
|
- |
} |
13 |
|
- |
|
14 |
|
- |
@Override |
15 |
|
- |
protected void onDetach() { |
16 |
|
- |
TextBoxBaseChangeListenableHelper.INSTANCE.detach( this ); |
17 |
|
- |
super.onDetach(); |
18 |
|
- |
} |
19 |
|
- |
|
20 |
|
- |
@Override |
21 |
|
- |
public void fireChangeListeners() { |
22 |
|
- |
NativeEvent zEvent = Document.get().createChangeEvent(); |
23 |
|
- |
getElement().dispatchEvent( zEvent ); |
24 |
|
- |
} |
25 |
|
- |
} |
|
1 |
+ |
package com.temp.client.foundation.widget.input; |
|
2 |
+ |
|
|
3 |
+ |
import com.google.gwt.dom.client.*; |
|
4 |
+ |
import com.google.gwt.user.client.ui.*; |
|
5 |
+ |
import com.temp.client.foundation.widget.input.support.*; |
|
6 |
+ |
|
|
7 |
+ |
public class ActiveTextArea extends TextArea implements ActiveTextBoxBase { |
|
8 |
+ |
@Override |
|
9 |
+ |
protected void onAttach() { |
|
10 |
+ |
super.onAttach(); |
|
11 |
+ |
TextBoxBaseChangeListenableHelper.INSTANCE.attach( this ); |
|
12 |
+ |
} |
|
13 |
+ |
|
|
14 |
+ |
@Override |
|
15 |
+ |
protected void onDetach() { |
|
16 |
+ |
TextBoxBaseChangeListenableHelper.INSTANCE.detach( this ); |
|
17 |
+ |
super.onDetach(); |
|
18 |
+ |
} |
|
19 |
+ |
|
|
20 |
+ |
@Override |
|
21 |
+ |
public void fireChangeListeners() { |
|
22 |
+ |
NativeEvent zEvent = Document.get().createChangeEvent(); |
|
23 |
+ |
getElement().dispatchEvent( zEvent ); |
|
24 |
+ |
} |
|
25 |
+ |
} |