home *** CD-ROM | disk | FTP | other *** search
- public class JScriptPluginsMemberObject extends JSbxArrayObject {
- private static final int PLUGINS_ID_NAME = 257;
- private static final int PLUGINS_ID_FILENAME = 258;
- private static final int PLUGINS_ID_DESCRIPTION = 259;
-
- public JScriptPluginsMemberObject(long var1) {
- super(var1);
-
- try {
- ((JSbxObject)this).Put(new JSbxObjectProperty("name", this, this, 257, true));
- ((JSbxObject)this).Put(new JSbxObjectProperty("filename", this, this, 258, true));
- ((JSbxObject)this).Put(new JSbxObjectProperty("description", this, this, 259, true));
- } catch (JSbxException var3) {
- System.out.println("Unerwartete Exception im JScriptPluginsObject()-Ctor");
- }
- }
-
- public JSbxValue PropertyCallFunction(JSbxObjectProperty var1, JScriptCallParam var2) throws JSbxExceptionBase {
- var2.GetParamVector();
- int var3 = var1.GetID();
- String var4 = "";
- double var5 = (double)0.0F;
- boolean var7 = false;
- boolean var8 = true;
-
- try {
- switch (var3) {
- case 0:
- default:
- return super.PropertyCallFunction(var1, var2);
- }
- } catch (UnsatisfiedLinkError var10) {
- JScriptManager.GetMyJScriptManager();
- JScriptManager.ShowWarning("Exception: " + var10);
- Object var9 = null;
- JSbxValue var11;
- if (var8) {
- var11 = new JSbxValue();
- } else if (var7) {
- var11 = new JSbxValue(var5);
- } else {
- var11 = new JSbxValue(var4);
- }
-
- var2.GetRuntimeParam().SetReturnValue(var11);
- return var11;
- }
- }
-
- public void PropertyGet(JSbxObjectProperty var1, JSbxValue var2) throws JSbxException {
- int var3 = var1.GetID();
-
- try {
- switch (var3) {
- case 257:
- var2.Put(new JSbxValue(this.getName()));
- return;
- case 258:
- var2.Put(new JSbxValue(this.getFilename()));
- return;
- case 259:
- var2.Put(new JSbxValue(this.getDescription()));
- return;
- default:
- super.PropertyGet(var1, var2);
- }
- } catch (UnsatisfiedLinkError var5) {
- JScriptManager.GetMyJScriptManager();
- JScriptManager.ShowWarning("Exception: " + var5);
- }
- }
-
- public void PropertyPut(JSbxObjectProperty var1, JSbxValue var2) throws JSbxException {
- int var3 = var1.GetID();
-
- try {
- switch (var3) {
- case 0:
- default:
- super.PropertyPut(var1, var2);
- }
- } catch (UnsatisfiedLinkError var5) {
- JScriptManager.GetMyJScriptManager();
- JScriptManager.ShowWarning("Exception: " + var5);
- }
- }
-
- public String Property_GetJScript_typeofString(JSbxObjectProperty var1) {
- return "plugins";
- }
-
- public String GetJScriptString(boolean var1) {
- return "plugins";
- }
-
- private native String getName();
-
- private native String getFilename();
-
- private native String getDescription();
-
- protected native int getLength();
-
- protected native JSbxObject getElement(int var1);
-
- protected native JSbxObject getElement_String(String var1);
- }
-