Overview | Package | Class | Use | Tree | Deprecated | Index | Help

PREV CLASS NEXT CLASS | FRAMES NO FRAMES
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD

## contrib.ch.randelshofer.quaqua.colorchooser
Class NominalCMYKColorSliderModel

    java.lang.Object
      contrib.ch.randelshofer.quaqua.colorchooser.ColorSliderModel
          contrib.ch.randelshofer.quaqua.colorchooser.NominalCMYKColorSliderModel

    public class NominalCMYKColorSliderModel

extends ColorSliderModel

A ColorSliderModel for CMYK color models (cyan, magenta, yellow, black) with nominally converted color components from/to an RGB color model.

This model may not be very useful. It assumes that the color components perfectly absorb the desired wavelenghts.

Version:
  1.0 May 22, 2005 Created.
Author:
  Werner Randelshofer

Field Summary

Fields inherited from class contrib.ch.randelshofer.quaqua.colorchooser.ColorSliderModel
`components, values`

Constructor Summary
`NominalCMYKColorSliderModel()` Creates a new instance.

Method Summary
`int` | `getRGB()`
`void` | `setRGB(int rgb)`
`int` | `toRGB(int[] values)`

Methods inherited from class contrib.ch.randelshofer.quaqua.colorchooser.ColorSliderModel
`addChangeListener, addColorSlider, configureColorSlider, fireColorChanged, fireStateChanged, getBoundedRangeModel, getColor, getComponentCount, getInterpolatedRGB, getValue, removeChangeListener, removeColorSlider, setColor, setValue, unconfigureColorSlider`

Methods inherited from class java.lang.Object
`clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait`

Constructor Detail

### NominalCMYKColorSliderModel

    public NominalCMYKColorSliderModel()

  Creates a new instance.

Method Detail

### getRGB

    public int getRGB()

  Specified by:
    `getRGB` in class `ColorSliderModel`

### setRGB

    public void setRGB(int rgb)

  Specified by:
    `setRGB` in class `ColorSliderModel`

### toRGB

    public int toRGB(int[] values)

  Specified by:
    `toRGB` in class `ColorSliderModel`

Overview | Package | Class | Use | Tree | Deprecated | Index | Help

PREV CLASS NEXT CLASS | FRAMES NO FRAMES
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD