home *** CD-ROM | disk | FTP | other *** search
- public class JScriptAreaObject extends JScriptAbstractLinkObject {
- private static final int AREA_ID_TARGET = 257;
- private static final int AREA_ID_ONMOUSEOVER = 258;
- private static final int AREA_ID_ONMOUSEOUT = 259;
-
- public JScriptAreaObject(long var1) {
- super(var1);
-
- try {
- ((JSbxObject)this).Put(new JSbxObjectProperty("target", this, this, 257, true));
- ((JSbxObject)this).Put(new JSbxObjectProperty("onmouseover", this, this, 258, true, true));
- ((JSbxObject)this).Put(new JSbxObjectProperty("onmouseout", this, this, 259, true, true));
- } catch (JSbxException var3) {
- }
- }
-
- public void PropertyGet(JSbxObjectProperty var1, JSbxValue var2) throws JSbxException {
- int var3 = var1.GetID();
-
- try {
- switch (var3) {
- case 257:
- var2.Put(new JSbxValue(this.getTarget()));
- return;
- case 258:
- var2.Put(new JSbxValue(this.getOnMouseOver()));
- return;
- case 259:
- var2.Put(new JSbxValue(this.getOnMouseOut()));
- 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 257:
- this.setTarget(var2.GetString());
- return;
- case 258:
- this.setOnMouseOver(var2.GetString());
- return;
- case 259:
- this.setOnMouseOut(var2.GetString());
- return;
- default:
- super.PropertyPut(var1, var2);
- }
- } catch (UnsatisfiedLinkError var4) {
- }
- }
-
- public String GetJScriptString(boolean var1) {
- return "area";
- }
-
- protected native String getHash();
-
- protected native void setHash(String var1);
-
- protected native String getHost();
-
- protected native void setHost(String var1);
-
- protected native String getHostname();
-
- protected native void setHostname(String var1);
-
- protected native String getHref();
-
- protected native void setHref(String var1);
-
- protected native String getPathname();
-
- protected native void setPathname(String var1);
-
- protected native String getPort();
-
- protected native void setPort(String var1);
-
- protected native String getProtocol();
-
- protected native void setProtocol(String var1);
-
- protected native String getSearch();
-
- protected native void setSearch(String var1);
-
- protected native String getTarget();
-
- protected native void setTarget(String var1);
-
- protected native String getOnMouseOut();
-
- protected native void setOnMouseOut(String var1);
-
- protected native String getOnMouseOver();
-
- protected native void setOnMouseOver(String var1);
- }
-