Class JDFColor

  • All Implemented Interfaces:
    java.io.Serializable, java.lang.Cloneable, IStreamWriter, org.w3c.dom.Element, org.w3c.dom.ElementTraversal, org.w3c.dom.events.EventTarget, org.w3c.dom.Node, org.w3c.dom.NodeList, org.w3c.dom.TypeInfo

    public class JDFColor
    extends JDFAutoColor
    See Also:
    Serialized Form
    • Constructor Detail

      • JDFColor

        public JDFColor​(org.apache.xerces.dom.CoreDocumentImpl myOwnerDocument,
                        java.lang.String qualifiedName)
        Constructor for JDFColor
        Parameters:
        myOwnerDocument -
        qualifiedName -
      • JDFColor

        public JDFColor​(org.apache.xerces.dom.CoreDocumentImpl myOwnerDocument,
                        java.lang.String myNamespaceURI,
                        java.lang.String qualifiedName)
        Constructor for JDFColor
        Parameters:
        myOwnerDocument -
        myNamespaceURI -
        qualifiedName -
      • JDFColor

        public JDFColor​(org.apache.xerces.dom.CoreDocumentImpl myOwnerDocument,
                        java.lang.String myNamespaceURI,
                        java.lang.String qualifiedName,
                        java.lang.String myLocalName)
        Constructor for JDFColor
        Parameters:
        myOwnerDocument -
        myNamespaceURI -
        qualifiedName -
        myLocalName -
    • Method Detail

      • getCMYKSeparations

        public static java.util.List<java.lang.String> getCMYKSeparations()
        Returns:
      • getKCMYSeparations

        public static java.util.List<java.lang.String> getKCMYSeparations()
        Returns:
      • toString

        public java.lang.String toString()
        toString
        Overrides:
        toString in class KElement
        Returns:
        String
        See Also:
        Object.toString()
      • set8BitNames

        public void set8BitNames​(byte[] cName)
        Set the Name and RawName attributes to the value given in pName The value in Name uses the default encoding
        Parameters:
        cName - the 8 bit string to set the name to
      • getHTMLColor

        public java.lang.String getHTMLColor()
        get the html color representation of this color in the format 0xrrggbb;
        Returns:
      • getActualColorName

        public java.lang.String getActualColorName()
        Gets the ActualColorName or Name if no ActualColorName is set
        Overrides:
        getActualColorName in class JDFAutoColor
        Returns:
        String Name of the color extracted from RawName, or if this is missing from Name, using the default transcoder
      • get8BitName

        public java.lang.String get8BitName()
        Gets the 16 bit representation of the 8 bit color name Use String GetRawBytes() to extract the 8 bit representation
        Returns:
        String Name of the color extracted from RawName, or if this is missing from Name, using the default transcoder
      • getColorProfile

        public JDFFileSpec getColorProfile()
        get the FileSpec referring to ColorProfile
        Returns:
      • getCreateColorProfile

        public JDFFileSpec getCreateColorProfile()
        get or create a ColorProfile FileSpec
        Returns:
      • appendColorProfile

        public JDFFileSpec appendColorProfile()
        append a ColorProfoe FileSpec
        Returns:
      • getTargetProfile

        public JDFFileSpec getTargetProfile()
        get or create a TargetProfile FileSpec
        Returns:
      • getCreateTargetProfile

        public JDFFileSpec getCreateTargetProfile()
        get or create a TargetProfile FileSpec
        Returns:
      • appendTargetProfile

        public JDFFileSpec appendTargetProfile()
        append a TargetProfile FileSpec
        Returns: