Interface ScriptHandlerIF

  • All Known Implementing Classes:
    RhinoScriptHandler

    public interface ScriptHandlerIF
    This is the interface that all RhinoScriptHandler objects must implement. Particularly, subclasses of RhinoScriptHandler will need to provide their own implementation of this interface's methods.

    The interface provides methods to

    • instantiate a LiveObject object (or derivative).
    • instantiate a LiveComponent object (or derivative).
    • Method Detail

      • newLiveObject

        LiveObject newLiveObject​(RhinoScriptHandler handler,
                                 Obj xfaObject)
        Instantiates a new LiveObject.
        Parameters:
        handler - a Rhino script handler.
        xfaObject - the XFA object that is peered to this instance.
        Returns:
        the LiveObject.
      • newLiveComponent

        LiveComponent newLiveComponent​(RhinoScriptHandler handler,
                                       Obj xfaObject)
        Instantiates a new LiveComponent.
        Parameters:
        handler - a Rhino script handler.
        xfaObject - the XFA object (app model) associated with the given script handler.
        Returns:
        the LiveComponent.