Module tvbrowser

Class ProgramRunningFilterComponent

    • Constructor Detail

      • ProgramRunningFilterComponent

        public ProgramRunningFilterComponent()
        Creates an unnamed filter
      • ProgramRunningFilterComponent

        public ProgramRunningFilterComponent​(java.lang.String name,
                                             java.lang.String description)
        Creates the filter
        Parameters:
        name - name of the filter
        description - description of the filter
    • Method Detail

      • read

        public void read​(java.io.ObjectInputStream in,
                         int version)
                  throws java.io.IOException,
                         java.lang.ClassNotFoundException
        read the settings
        Parameters:
        in - The stream to read from.
        version - The version of the data.
        Throws:
        java.io.IOException - Thrown if an IO operation went wrong.
        java.lang.ClassNotFoundException - Thrown if a class could not be found.
        See Also:
        FilterComponent.read(java.io.ObjectInputStream, int)
      • write

        public void write​(java.io.ObjectOutputStream out)
                   throws java.io.IOException
        write the settings
        Parameters:
        out - The stream to write to.
        Throws:
        java.io.IOException - Thrown if an IO operation went wrong.
        See Also:
        FilterComponent.write(java.io.ObjectOutputStream)
      • getSettingsPanel

        public javax.swing.JPanel getSettingsPanel()
        Description copied from interface: FilterComponent
        Gets the settings panel for a FilterComponent.
        Returns:
        settings panel for this filter component
        See Also:
        FilterComponent.getSettingsPanel()
      • toString

        public java.lang.String toString()
        Overrides:
        toString in class java.lang.Object
        Returns:
        name of the filter