Class CFBin


  • public final class CFBin
    extends CFNamedItem
    Object describing one category in classification. Each bin has display name and assigned formatter.
    Author:
    Petr Hamernik
    • Field Detail

      • PROP_FORMATTER

        public static final java.lang.String PROP_FORMATTER
        Property name for formatter.
        See Also:
        Constant Field Values
    • Method Detail

      • getBinSet

        public CFBinSet getBinSet()
        Returns:
        bin set which this bin belongs to
      • getFormatter

        public CFFormatter getFormatter()
        Returns:
        formatter for this bin (category)
      • setFormatter

        public void setFormatter​(CFFormatter formatter)
        Change formatter for this bin.
        Parameters:
        formatter - new formatter
      • getId

        public java.lang.String getId()
        Get unique ID of this bin in its CFBinSet. Using this ID the bin can be identified. This value never changes during bin lifetime.
        Returns:
        unique string ID