Class JDFComponent

  • 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 JDFComponent
    extends JDFAutoComponent
    See Also:
    Serialized Form
    • Constructor Detail

      • JDFComponent

        public JDFComponent​(org.apache.xerces.dom.CoreDocumentImpl myOwnerDocument,
                            java.lang.String qualifiedName)
                     throws org.w3c.dom.DOMException
        Constructor for JDFComponent
        Parameters:
        myOwnerDocument -
        qualifiedName -
        Throws:
        org.w3c.dom.DOMException
      • JDFComponent

        public JDFComponent​(org.apache.xerces.dom.CoreDocumentImpl myOwnerDocument,
                            java.lang.String myNamespaceURI,
                            java.lang.String qualifiedName)
                     throws org.w3c.dom.DOMException
        Constructor for JDFComponent
        Parameters:
        myOwnerDocument -
        myNamespaceURI -
        qualifiedName -
        Throws:
        org.w3c.dom.DOMException
      • JDFComponent

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

      • toString

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

        public void setDimensions​(JDFXYPair dimension)
        sets the Dimension to X Y 0 convenience method to copy media dimension to component
        Parameters:
        dimension -
      • getMedia

        public JDFMedia getMedia()
        get the media that is associated with this component, either directly or in the layout
        Overrides:
        getMedia in class JDFAutoComponent
        Returns:
        the media, null if none there