Class EventTargetWrapper.FunctionProxy

java.lang.Object
org.apache.batik.bridge.EventTargetWrapper.FunctionProxy
All Implemented Interfaces:
org.mozilla.javascript.Callable, org.mozilla.javascript.Constructable, org.mozilla.javascript.Function, org.mozilla.javascript.Scriptable
Direct Known Subclasses:
EventTargetWrapper.FunctionAddNSProxy, EventTargetWrapper.FunctionAddProxy, EventTargetWrapper.FunctionRemoveNSProxy, EventTargetWrapper.FunctionRemoveProxy
Enclosing class:
EventTargetWrapper

abstract static class EventTargetWrapper.FunctionProxy extends Object implements org.mozilla.javascript.Function
  • Field Summary

    Fields
    Modifier and Type
    Field
    Description
    protected org.mozilla.javascript.Function
     

    Fields inherited from interface org.mozilla.javascript.Scriptable

    NOT_FOUND
  • Constructor Summary

    Constructors
    Constructor
    Description
    FunctionProxy(org.mozilla.javascript.Function delegate)
     
  • Method Summary

    Modifier and Type
    Method
    Description
    org.mozilla.javascript.Scriptable
    construct(org.mozilla.javascript.Context cx, org.mozilla.javascript.Scriptable scope, Object[] args)
     
    void
    delete(int index)
     
    void
    delete(String name)
     
    get(int index, org.mozilla.javascript.Scriptable start)
     
    get(String name, org.mozilla.javascript.Scriptable start)
     
     
     
     
    org.mozilla.javascript.Scriptable
     
    org.mozilla.javascript.Scriptable
     
    boolean
    has(int index, org.mozilla.javascript.Scriptable start)
     
    boolean
    has(String name, org.mozilla.javascript.Scriptable start)
     
    boolean
    hasInstance(org.mozilla.javascript.Scriptable instance)
     
    void
    put(int index, org.mozilla.javascript.Scriptable start, Object value)
     
    void
    put(String name, org.mozilla.javascript.Scriptable start, Object value)
     
    void
    setParentScope(org.mozilla.javascript.Scriptable parent)
     
    void
    setPrototype(org.mozilla.javascript.Scriptable prototype)
     

    Methods inherited from class java.lang.Object

    clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait

    Methods inherited from interface org.mozilla.javascript.Function

    call
  • Field Details

    • delegate

      protected org.mozilla.javascript.Function delegate
  • Constructor Details

    • FunctionProxy

      public FunctionProxy(org.mozilla.javascript.Function delegate)
  • Method Details

    • construct

      public org.mozilla.javascript.Scriptable construct(org.mozilla.javascript.Context cx, org.mozilla.javascript.Scriptable scope, Object[] args)
      Specified by:
      construct in interface org.mozilla.javascript.Constructable
      Specified by:
      construct in interface org.mozilla.javascript.Function
    • getClassName

      public String getClassName()
      Specified by:
      getClassName in interface org.mozilla.javascript.Scriptable
    • get

      public Object get(String name, org.mozilla.javascript.Scriptable start)
      Specified by:
      get in interface org.mozilla.javascript.Scriptable
    • get

      public Object get(int index, org.mozilla.javascript.Scriptable start)
      Specified by:
      get in interface org.mozilla.javascript.Scriptable
    • has

      public boolean has(String name, org.mozilla.javascript.Scriptable start)
      Specified by:
      has in interface org.mozilla.javascript.Scriptable
    • has

      public boolean has(int index, org.mozilla.javascript.Scriptable start)
      Specified by:
      has in interface org.mozilla.javascript.Scriptable
    • put

      public void put(String name, org.mozilla.javascript.Scriptable start, Object value)
      Specified by:
      put in interface org.mozilla.javascript.Scriptable
    • put

      public void put(int index, org.mozilla.javascript.Scriptable start, Object value)
      Specified by:
      put in interface org.mozilla.javascript.Scriptable
    • delete

      public void delete(String name)
      Specified by:
      delete in interface org.mozilla.javascript.Scriptable
    • delete

      public void delete(int index)
      Specified by:
      delete in interface org.mozilla.javascript.Scriptable
    • getPrototype

      public org.mozilla.javascript.Scriptable getPrototype()
      Specified by:
      getPrototype in interface org.mozilla.javascript.Scriptable
    • setPrototype

      public void setPrototype(org.mozilla.javascript.Scriptable prototype)
      Specified by:
      setPrototype in interface org.mozilla.javascript.Scriptable
    • getParentScope

      public org.mozilla.javascript.Scriptable getParentScope()
      Specified by:
      getParentScope in interface org.mozilla.javascript.Scriptable
    • setParentScope

      public void setParentScope(org.mozilla.javascript.Scriptable parent)
      Specified by:
      setParentScope in interface org.mozilla.javascript.Scriptable
    • getIds

      public Object[] getIds()
      Specified by:
      getIds in interface org.mozilla.javascript.Scriptable
    • getDefaultValue

      public Object getDefaultValue(Class hint)
      Specified by:
      getDefaultValue in interface org.mozilla.javascript.Scriptable
    • hasInstance

      public boolean hasInstance(org.mozilla.javascript.Scriptable instance)
      Specified by:
      hasInstance in interface org.mozilla.javascript.Scriptable