Class ColorTable.Breakpoint

java.lang.Object
ucar.unidata.util.ColorTable.Breakpoint
Enclosing class:
ColorTable

public static class ColorTable.Breakpoint extends Object
A class to hold color table breakpoint information
Author:
IDV Development Team
  • Constructor Details

    • Breakpoint

      public Breakpoint()
      Default constructor
    • Breakpoint

      public Breakpoint(double v)
      Create a breakpoint at the value
      Parameters:
      v - the value
    • Breakpoint

      public Breakpoint(double v, boolean locked)
      Create a breakpoint at the value
      Parameters:
      v - the value
      locked - true if locked
    • Breakpoint

      public Breakpoint(ColorTable.Breakpoint that)
      Copy constructor
      Parameters:
      that - the one to copy
  • Method Details

    • setValue

      public void setValue(double value)
      Set the Value property.
      Parameters:
      value - The new value for Value
    • getValue

      public double getValue()
      Get the Value property.
      Returns:
      The Value
    • setLocked

      public void setLocked(boolean value)
      Set the Locked property.
      Parameters:
      value - The new value for Locked
    • getLocked

      public boolean getLocked()
      Get the Locked property.
      Returns:
      The Locked
    • cloneList

      public static ArrayList cloneList(List l)
      Clone the list of colors
      Parameters:
      l - the list
      Returns:
      a clone
    • toString

      public String toString()
      Get a String representation of this object
      Overrides:
      toString in class Object
      Returns:
      the String representation of the object