Class CSIndexed
java.lang.Object
org.apache.pdfbox.debugger.colorpane.CSIndexed
A class that provides the necessary UI and functionalities to show the Indexed colorspace.
-
Field Summary
Fields -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionprivate IndexedColorant[]
Parses the colorant data from the array and return.private int
getPanel()
return the main panel that hold all the UI elements.private void
initUI
(IndexedColorant[] colorants)
-
Field Details
-
indexed
-
panel
-
colorCount
private final int colorCount
-
-
Constructor Details
-
CSIndexed
Constructor.- Parameters:
array
- COSArray instance for Indexed color space.- Throws:
IOException
-
-
Method Details
-
getColorantData
Parses the colorant data from the array and return.- Returns:
- the colorant data
-
initUI
-
getPanel
return the main panel that hold all the UI elements.- Returns:
- JPanel instance
-
getHival
-