Interface StepInteractiveViewer

    • Method Detail

      • setStep

        void setStep​(Step theStep)
        Set the step that owns this viewer. Implementations may want to access data that has been computed by the step in question.
        Parameters:
        theStep - the step that owns this viewer
      • setMainKFPerspective

        void setMainKFPerspective​(MainKFPerspective perspective)
        Set the main knowledge flow perspective. Implementations can then access application settings if necessary
        Parameters:
        perspective - the main knowledge flow perspective
      • getMainKFPerspective

        MainKFPerspective getMainKFPerspective()
        Get the main knowledge flow perspective. Implementations can the access application settings if necessary
        Returns:
      • getViewerName

        java.lang.String getViewerName()
        Get the name of this viewer
        Returns:
        the name of this viewer
      • setParentWindow

        void setParentWindow​(java.awt.Window parent)
        Set the parent window for this viewer
        Parameters:
        parent - the parent window
      • getSettings

        Settings getSettings()
        Get the settings object
        Returns:
        the settings object
      • init

        void init()
           throws WekaException
        Initialize this viewer. The KnowledgeFlow application will call this method after constructing the viewer and after calling setStep() and setParentWindow(). Implementers will typically layout their view in this method (rather than a constructor)
        Throws:
        WekaException - if the initialization fails
      • nowVisible

        void nowVisible()
        Called by the KnowledgeFlow application once the enclosing JFrame is visible