Class AdvancedRegionShapeCellRenderer.ValueMapping

  • Enclosing class:
    AdvancedRegionShapeCellRenderer

    protected static class AdvancedRegionShapeCellRenderer.ValueMapping
    extends java.lang.Object
    Implementation via SortedMap, maybe inefficient for small number of entries
    • Field Summary

      Fields 
      Modifier and Type Field Description
      protected java.util.SortedMap<java.lang.Float,​java.lang.Float> values  
    • Constructor Summary

      Constructors 
      Constructor Description
      ValueMapping()
      Creates a new ValueMapping object.
    • Field Detail

      • values

        protected java.util.SortedMap<java.lang.Float,​java.lang.Float> values
    • Constructor Detail

      • ValueMapping

        public ValueMapping()
        Creates a new ValueMapping object.
    • Method Detail

      • addEntry

        public float addEntry​(float val,
                              float mval)
        DOCUMENT-ME
      • removeEntry

        public void removeEntry​(float val)
        DOCUMENT-ME
      • removeAll

        public void removeAll()
        DOCUMENT-ME
      • getValues

        public java.util.Collection<java.lang.Float> getValues()
        DOCUMENT-ME
      • getMappedValues

        public java.util.Collection<java.lang.Float> getMappedValues()
        DOCUMENT-ME
      • getEntries

        public java.util.Collection<java.util.Map.Entry<java.lang.Float,​java.lang.Float>> getEntries()
        DOCUMENT-ME
      • hasValue

        public boolean hasValue​(float f)
        DOCUMENT-ME
      • getValueAt

        public float getValueAt​(float f)
        DOCUMENT-ME
      • interpolate

        public float interpolate​(float f)
        DOCUMENT-ME