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 ICC_CMYKColorSliderModel

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

    public class ICC_CMYKColorSliderModel

extends ColorSliderModel

A ColorSliderModel for CMYK color models (cyan, magenta, yellow, black) in a color space defined by a ICC color profile (International Color Consortium).

XXX - This does not work. I think this is because of Java bug #4760025 at http://bugs.sun.com/bugdatabase/view_bug.do?bug_id=4760025 but maybe I am doing something in the wrong way.

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
`ICC_CMYKColorSliderModel(java.io.InputStream iccProfile)` Creates a new instance.

Method Summary
`int` | `getRGB()`
`void` | `setRGB(int newRGB)`
`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

### ICC_CMYKColorSliderModel

    public ICC_CMYKColorSliderModel(java.io.InputStream iccProfile)
                             throws java.io.IOException

  Creates a new instance.

  Throws:
    `java.io.IOException`

Method Detail

### getRGB

    public int getRGB()

  Specified by:
    `getRGB` in class `ColorSliderModel`

### setRGB

    public void setRGB(int newRGB)

  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