/** @param value the type to set */
  public void setType(IcyColorMapType value) {
    if (type != value) {
      type = value;

      changed(IcyColorMapEventType.TYPE_CHANGED);
    }
  }
 /** called when colormap data changed */
 public void changed() {
   changed(IcyColorMapEventType.MAP_CHANGED);
 }
 /**
  * Set enabled flag.<br>
  * This flag is used to test if the color map is enabled or not.<br>
  * It is up to the developer to implement it or not.
  *
  * @param enabled the enabled to set
  */
 public void setEnabled(boolean enabled) {
   if (this.enabled != enabled) {
     this.enabled = enabled;
     changed(IcyColorMapEventType.ENABLED_CHANGED);
   }
 }