Module tvbrowser

Class FilterItem

  • All Implemented Interfaces:
    java.lang.Comparable<FilterItem>

    public class FilterItem
    extends java.lang.Object
    implements java.lang.Comparable<FilterItem>
    This Class represents a Filter-Item in the ChannelsSettingsTab
    • Constructor Summary

      Constructors 
      Constructor Description
      FilterItem​(java.lang.String name, java.lang.Object value)
      Create a FilterItem
    • Method Summary

      All Methods Instance Methods Concrete Methods 
      Modifier and Type Method Description
      int compareTo​(FilterItem other)  
      java.lang.String getName()
      Get the Name of the Filter
      java.lang.Object getValue()
      Get the Value
      java.lang.String toString()  
      • Methods inherited from class java.lang.Object

        clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
    • Constructor Detail

      • FilterItem

        public FilterItem​(java.lang.String name,
                          java.lang.Object value)
        Create a FilterItem
        Parameters:
        name - Name of Filter
        value - Object to Filter
    • Method Detail

      • getName

        public java.lang.String getName()
        Get the Name of the Filter
        Returns:
        Name of the Filter
      • getValue

        public java.lang.Object getValue()
        Get the Value
        Returns:
        Value of the Filter
      • toString

        public java.lang.String toString()
        Overrides:
        toString in class java.lang.Object
        Returns:
        Name of the Filter
      • compareTo

        public int compareTo​(FilterItem other)
        Specified by:
        compareTo in interface java.lang.Comparable<FilterItem>