@Override
  public boolean equals(Object obj) {
    if (obj instanceof IcyColorSpaceEvent) {
      final IcyColorSpaceEvent e = (IcyColorSpaceEvent) obj;

      return (colorSpace == e.getColorSpace());
    }

    return super.equals(obj);
  }
  @Override
  public boolean collapse(CollapsibleEvent event) {
    if (equals(event)) {
      final IcyColorSpaceEvent e = (IcyColorSpaceEvent) event;

      // set all component
      if (e.getComponent() != component) component = -1;

      return true;
    }

    return false;
  }