Class GraphicalActorProcessorHandler

    • Constructor Detail

      • GraphicalActorProcessorHandler

        public GraphicalActorProcessorHandler​(FlowPanel owner)
        Initializes the tab handler
        Parameters:
        owner - the owning panel
    • Method Detail

      • add

        public void add​(String title,
                        Component comp,
                        String error)
        Adds the output component.
        Parameters:
        title - the title
        comp - the graphical component
        error - the optional error, can be null
      • remove

        public void remove​(int index)
        Removes the specified output.
        Parameters:
        index - the index of the output to remove
      • remove

        public void remove​(Component comp)
        Removes the specified output.
        Parameters:
        comp - the component to remove
      • hasOutputs

        public boolean hasOutputs()
        Returns whether any outputs are present.
        Returns:
        true if outputs avaialble
      • update

        protected void update​(boolean show)
        Notifies the GraphicalActorProcessorTab instance of a change.
        Parameters:
        show - whether to show the tab or leave as is