Class CSDeviceN
java.lang.Object
org.apache.pdfbox.debugger.colorpane.CSDeviceN
A class that provides the necessary UI and functionalities to show the DeviceN color space.
-
Field Summary
Fields -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionprivate DeviceNColorant[]
Parses the colorant data from the array.private Color
getColorObj
(float[] rgbValues) getPanel()
return the main panel that hold all the UI elements.private void
initUI
(DeviceNColorant[] colorants)
-
Field Details
-
deviceN
-
panel
-
-
Constructor Details
-
CSDeviceN
Constructor- Parameters:
array
- COSArray instance that holds the DeviceN color space- Throws:
IOException
-
-
Method Details
-
getColorantData
Parses the colorant data from the array.- Returns:
- the parsed colorants.
- Throws:
IOException
- if the color conversion fails.
-
initUI
-
getPanel
return the main panel that hold all the UI elements.- Returns:
- JPanel instance
-
getColorObj
-