public class CSDeviceN
extends java.lang.Object
Modifier and Type | Field and Description |
---|---|
private PDDeviceN |
deviceN |
private javax.swing.JPanel |
panel |
Modifier and Type | Method and Description |
---|---|
private DeviceNColorant[] |
getColorantData()
Parses the colorant data from the array.
|
private java.awt.Color |
getColorObj(float[] rgbValues) |
java.awt.Component |
getPanel()
return the main panel that hold all the UI elements.
|
private void |
initUI(DeviceNColorant[] colorants) |
private PDDeviceN deviceN
private javax.swing.JPanel panel
public CSDeviceN(COSArray array)
array
- COSArray instance that holds DeviceN color spaceprivate DeviceNColorant[] getColorantData() throws java.io.IOException
java.io.IOException
- if the color conversion fails.private void initUI(DeviceNColorant[] colorants)
public java.awt.Component getPanel()
private java.awt.Color getColorObj(float[] rgbValues)