public final class NativeEditWidget
extends com.google.gwt.core.client.JavaScriptObject
限定符 | 构造器和说明 |
---|---|
protected |
NativeEditWidget()
Constructor.
|
限定符和类型 | 方法和说明 |
---|---|
protected com.google.gwt.dom.client.Element |
getElement()
Returns the widget element.
|
protected java.lang.String |
getValue()
Returns the widget value.
|
protected boolean |
isActive()
Returns if the widget is active.
|
protected void |
onAttachWidget()
Call when the widget was added into the window document.
|
protected void |
setActive(boolean active)
Sets the widget active.
|
protected void |
setValue(java.lang.String value)
Sets the widget value.
|
protected void |
setValue(java.lang.String value,
boolean fireEvent)
Sets the widget value.
|
static NativeEditWidget |
wrapWidget(com.alkacon.acacia.client.widgets.I_EditWidget widget)
Wraps a GWT edit widget instance to be used from within another GWT module.
|
public static NativeEditWidget wrapWidget(com.alkacon.acacia.client.widgets.I_EditWidget widget)
widget
- the widget to wrapprotected com.google.gwt.dom.client.Element getElement()
protected java.lang.String getValue()
protected boolean isActive()
true
if the widget is activeprotected void onAttachWidget()
protected void setActive(boolean active)
active
- true
to activate the widgetprotected void setValue(java.lang.String value)
value
- the valueprotected void setValue(java.lang.String value, boolean fireEvent)
value
- the valuefireEvent
- true
to fire the value change event