code: public void setColorSelectMode(int mode) {
  
          if (!isAttached()) {
              return;
          }
  
          switch (mode) {
              case CmsSliderBar.SATURATIN:
                  m_colorUnderlay.setResource(m_cpImageBundle.map_saturation());
                  m_colorOverlay.setResource(m_cpImageBundle.map_saturation_overlay());
                  break;
  
              case CmsSliderBar.BRIGHTNESS:
                  m_colorUnderlay.setResource(m_cpImageBundle.map_white());
                  m_colorOverlay.setResource(m_cpImageBundle.map_brightness());
                  break;
  
              case CmsSliderBar.HUE:
                  m_colorUnderlay.setResource(m_cpImageBundle.map_white());
                  m_colorOverlay.setResource(m_cpImageBundle.map_hue());
                  setOverlayOpacity(100);
                  break;
  
              case CmsSliderBar.RED:
                  m_colorOverlay.setResource(m_cpImageBundle.map_red_max());
                  m_colorUnderlay.setResource(m_cpImageBundle.map_red_min());
                  break;
  
              case CmsSliderBar.GREEN:
                  m_colorOverlay.setResource(m_cpImageBundle.map_green_max());
                  m_colorUnderlay.setResource(m_cpImageBundle.map_green_min());
                  break;
  
              case CmsSliderBar.BLUE:
                  m_colorOverlay.setResource(m_cpImageBundle.map_blue_max());
                  m_colorUnderlay.setResource(m_cpImageBundle.map_blue_min());
                  break;
              default:
                  break;
          }
      }
docs: Sets the color selection mode.<p>
  @param mode Saturation