01: /*
02: * GWT-Ext Widget Library
03: * Copyright(c) 2007-2008, GWT-Ext.
04: * licensing@gwt-ext.com
05: *
06: * http://www.gwt-ext.com/license
07: */
08: package com.gwtext.client.widgets.form;
09:
10: import com.google.gwt.core.client.JavaScriptObject;
11:
12: public class Hidden extends Field {
13:
14: private static JavaScriptObject configPrototype;
15:
16: static {
17: init();
18: }
19:
20: private static native void init()/*-{
21: var c = new $wnd.Ext.form.Hidden();
22: @com.gwtext.client.widgets.form.Hidden::configPrototype = c.initialConfig;
23: }-*/;
24:
25: protected JavaScriptObject getConfigPrototype() {
26: return configPrototype;
27: }
28:
29: public String getXType() {
30: return "hidden";
31: }
32:
33: public Hidden(JavaScriptObject jsObj) {
34: super (jsObj);
35: }
36:
37: protected native JavaScriptObject create(JavaScriptObject jsObj) /*-{
38: return new $wnd.Ext.form.Hidden(jsObj);
39: }-*/;
40: }
|