home *** CD-ROM | disk | FTP | other *** search
- public class JScriptAbstractControlObject extends JSbxArrayObject {
- protected static final String NAME = "AbstractControl";
- protected static final int CONTROL_ID_NAME = 65;
- protected static final int CONTROL_ID_VALUE = 66;
- protected static final int CONTROL_ID_TYPE = 67;
- protected static final int CONTROL_ID_FORM = 68;
-
- protected JScriptAbstractControlObject(long var1) {
- super(var1);
-
- try {
- ((JSbxObject)this).Put(new JSbxObjectProperty("type", this, this, 67, true));
- ((JSbxObject)this).Put(new JSbxObjectProperty("name", this, this, 65, true));
- ((JSbxObject)this).Put(new JSbxObjectProperty("form", this, this, 68, true));
- ((JSbxObject)this).Put(new JSbxObjectProperty("value", this, this, 66, true));
- } catch (JSbxException var3) {
- }
- }
-
- public void PropertyGet(JSbxObjectProperty var1, JSbxValue var2) throws JSbxException {
- int var3 = var1.GetID();
-
- try {
- switch (var3) {
- case 65:
- var2.Put(new JSbxValue(this.getName()));
- return;
- case 66:
- var2.Put(new JSbxValue(this.getValue()));
- return;
- case 67:
- var2.Put(new JSbxValue(this.getType()));
- return;
- case 68:
- var2.Put(new JSbxValue(this.getForm()));
- return;
- default:
- super.PropertyGet(var1, var2);
- }
- } catch (UnsatisfiedLinkError var4) {
- }
- }
-
- public void PropertyPut(JSbxObjectProperty var1, JSbxValue var2) throws JSbxException {
- int var3 = var1.GetID();
-
- try {
- switch (var3) {
- case 65:
- this.setName(var2.GetString());
- return;
- case 66:
- this.setValue(var2.GetString());
- return;
- default:
- super.PropertyPut(var1, var2);
- }
- } catch (UnsatisfiedLinkError var4) {
- }
- }
-
- public String Property_GetJScript_typeofString(JSbxObjectProperty var1) {
- return this.GetJScriptString(true);
- }
-
- public String GetJScriptString(boolean var1) {
- return "AbstractControl";
- }
-
- protected String MakeExceptionString(int var1) {
- return "no such property in " + ((JSbxObject)this).GetJScriptString() + " (ID=" + var1 + ")";
- }
-
- protected native String getName();
-
- protected native void setName(String var1);
-
- protected native String getValue();
-
- protected native void setValue(String var1);
-
- protected native String getType();
-
- protected native JSbxObject getForm();
- }
-