Interface ScriptableDelegate

All Known Implementing Classes:
AbstractCSS2Properties, AbstractScriptableDelegate, AttrImpl, CDataSectionImpl, CharacterDataImpl, ChildHTMLCollection, CommentImpl, ComputedCSS2Properties, DescendentHTMLCollection, DocumentFragmentImpl, DocumentTypeImpl, ElementImpl, Event, FilteredObjectList, History, HTMLAbstractUIElement, HTMLAppletElementImpl, HTMLBaseElementImpl, HTMLBaseFontElementImpl, HTMLBaseInputElement, HTMLBlockQuoteElementImpl, HTMLBodyElementImpl, HTMLBRElementImpl, HTMLButtonElementImpl, HTMLCenterElementImpl, HTMLDivElementImpl, HTMLDocumentImpl, HTMLElementImpl, HTMLEmElementImpl, HTMLFontElementImpl, HTMLFontSizeChangeElementImpl, HTMLFormElementImpl, HTMLFrameElementImpl, HTMLFrameSetElementImpl, HTMLGenericMarkupElement, HTMLHeadingElementImpl, HTMLHRElementImpl, HTMLHtmlElementImpl, HTMLIFrameElementImpl, HTMLImageElementImpl, HTMLInputElementImpl, HTMLLIElementImpl, HTMLLinkElementImpl, HTMLMonospacedElementImpl, HTMLNonStandardElement, HTMLObjectElementImpl, HTMLOListElementImpl, HTMLOptionElementImpl, HTMLOptionsCollectionImpl, HTMLPElementImpl, HTMLPreElementImpl, HTMLProcessingInstruction, HTMLScriptElementImpl, HTMLSelectElementImpl, HTMLSpanElementImpl, HTMLStrikeElementImpl, HTMLStrongElementImpl, HTMLStyleElementImpl, HTMLSuperscriptElementImpl, HTMLTableCellElementImpl, HTMLTableElementImpl, HTMLTableHeadElementImpl, HTMLTableRowElementImpl, HTMLTextAreaElementImpl, HTMLTitleElementImpl, HTMLUListElementImpl, HTMLUnderlineElementImpl, LocalCSS2Properties, Location, NamedNodeMapImpl, Navigator, NodeImpl, NodeListImpl, Screen, TextImpl, Window, XMLHttpRequest

public interface ScriptableDelegate
Java classes used in Javascript should implement this interface. While all classes can be mapped to JavaScript, implementing this interface ensures that the Java object proxy is not garbage collected as long as the Java object is not garbage collected.
  • Method Summary

    Modifier and Type
    Method
    Description
    org.mozilla.javascript.Scriptable
     
    void
    setScriptable(org.mozilla.javascript.Scriptable scriptable)
     
  • Method Details

    • setScriptable

      void setScriptable(org.mozilla.javascript.Scriptable scriptable)
    • getScriptable

      org.mozilla.javascript.Scriptable getScriptable()