Interface ScriptableDelegate

All Known Implementing Classes:
AbstractList, AbstractScriptableDelegate, AnimationEventImpl, AttrImpl, AudioProcessingEventImpl, BeforeInstallPromptEventImpl, BeforeUnloadEventImpl, BlobEventImpl, CDataSectionImpl, CharacterDataImpl, CloseEventImpl, CommentImpl, CompositionEventImpl, Coordinates, CSSRuleListImpl, CustomEventImpl, DeviceMotionEventImpl, DeviceOrientationEventImpl, DocumentFragmentImpl, DocumentImpl, DocumentTypeImpl, DOMParserImpl, DOMRectListImpl, DragEventImpl, ElementImpl, EntityReferenceImpl, ErrorEventImpl, EventImpl, EventTargetImpl, FilteredObjectList, FocusEventImpl, FormDataImpl, GamepadEventimpl, Geolocation, HashChangeEventImpl, HistoryImpl, HTMLAllCollectionImpl, HTMLAnchorElementImpl, HTMLBaseElementImpl, HTMLBasicInputElement, HTMLBodyElementImpl, HTMLBRElementImpl, HTMLButtonElementImpl, HTMLCanvasElementImpl, HTMLCenterElementImpl, HTMLCollectionImpl, HTMLDDElementImpl, HTMLDetailsElementImpl, HTMLDialogElementImpl, HTMLDirectoryElementImpl, HTMLDivElementImpl, HTMLDListElementImpl, HTMLDocumentImpl, HTMLElementImpl, HTMLEmElementImpl, HTMLFieldsetElementImpl, HTMLFigureElementImpl, HTMLFormControlsCollectionImpl, HTMLFormElementImpl, HTMLGenericMarkupElement, HTMLHeadElementImpl, HTMLHeadingElementImpl, HTMLHRElementImpl, HTMLHtmlElementImpl, HTMLIFrameElementImpl, HTMLImageElementImpl, HTMLInputElementImpl, HTMLLabelElementImpl, HTMLLegendElementImpl, HTMLLIElementImpl, HTMLLinkElementImpl, HTMLMarqueeElementImpl, HTMLMeterElementImpl, HTMLMonospacedElementImpl, HTMLNonStandardElement, HTMLNoScriptElementImpl, HTMLObjectElementImpl, HTMLOListElementImpl, HTMLOptGroupElementImpl, HTMLOptionElementImpl, HTMLOptionsCollectionImpl, HTMLPElementImpl, HTMLPreElementImpl, HTMLProcessingInstruction, HTMLProgressElementImpl, HTMLQuoteElementImpl, HTMLScriptElementImpl, HTMLSelectElementImpl, HTMLSmallElementImpl, HTMLSpanElementImpl, HTMLStrikeElementImpl, HTMLStrongElementImpl, HTMLStyleElementImpl, HTMLSuperscriptElementImpl, HTMLTableCaptionElementImpl, HTMLTableCellElementImpl, HTMLTableColElementImpl, HTMLTableColGroupElementImpl, HTMLTableElementImpl, HTMLTableRowElementImpl, HTMLTableSectionElementImpl, HTMLTextAreaElementImpl, HTMLTitleElementImpl, HTMLUListElementImpl, HTMLUnderlineElementImpl, HTMLVideoElementImpl, HttpRequest, InputEventImpl, KeyboardEventImpl, LocationImpl, MessageEventImpl, MouseEventImpl, MutationEventImpl, NamedNodeMapImpl, NavigatorImpl, NodeImpl, NodeIteratorImpl, NodeListImpl, NodeSet, NotationImpl, PageTransitionEventImpl, PointerEventImpl, PopStateEventImpl, Position, ProgressEventImpl, RangeImpl, RSSChanelElementImpl, RSSDescriptionElementImpl, RSSElement, RSSElementImpl, RSSItemElementImpl, RSSTitleElementImpl, ScreenImpl, SelectionImpl, StorageEventImpl, StyleSheetListImpl, SubmitEventImpl, SVGAElementImpl, SVGAnimateElementImpl, SVGAnimateTransformElementImpl, SVGAnimationElementImpl, SVGAnimationImpl, SVGCircleElementImpl, SVGClipPathElementImpl, SVGDefsElementImpl, SVGElementImpl, SVGEllipseElementImpl, SVGFontElementImpl, SVGFontFaceElementImpl, SVGGElementImpl, SVGGradientElementImpl, SVGGraphic, SVGImageElementImpl, SVGLinearGradientElementImpl, SVGLineElementImpl, SVGLocatableImpl, SVGPathElementImpl, SVGPolygonElementImpl, SVGPolylineElementImpl, SVGRadialGradientElementImpl, SVGRectElementImpl, SVGStopElementImpl, SVGStylableImpl, SVGSVGElementImpl, SVGSymbolElementImpl, SVGTextElementImpl, SVGTransformableImpl, SVGUseElementImpl, TextImpl, TouchEventImpl, TrackEventImpl, TransitionEventImpl, UIEventImpl, WheelEventImpl, WindowEventHandlersImpl, WindowImpl, XMLHttpRequestEventTargetImpl, XMLHttpRequestImpl, XMLHttpRequestUploadImpl, XMLSerializerImpl

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 Details

    • getScriptable

      Scriptable getScriptable()

      getScriptable.

      Returns:
      a Scriptable object.
    • setScriptable

      void setScriptable(Scriptable scriptable)

      setScriptable.

      Parameters:
      scriptable - a Scriptable object.