Class JDFMatrixState

    • Constructor Detail

      • JDFMatrixState

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

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

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

      • toString

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

        public void setCurrentValue​(JDFMatrix value)
      • getCurrentValue

        public JDFMatrix getCurrentValue()
      • setDefaultValue

        public void setDefaultValue​(JDFMatrix value)
      • getDefaultValue

        public JDFMatrix getDefaultValue()
      • setAllowedRotateMod

        public void setAllowedRotateMod​(double value)
      • getAllowedRotateMod

        public double getAllowedRotateMod()
      • setPresentRotateMod

        public void setPresentRotateMod​(double value)
      • getPresentRotateMod

        public double getPresentRotateMod()
      • setAllowedShift

        public void setAllowedShift​(JDFRectangle value)
      • setPresentShift

        public void setPresentShift​(JDFRectangle value)
      • getAllowedTransforms

        public java.util.Vector getAllowedTransforms()
      • setAllowedTransforms

        public void setAllowedTransforms​(java.util.Vector value)
      • getPresentTransforms

        public java.util.Vector getPresentTransforms()
      • setPresentTransforms

        public void setPresentTransforms​(java.util.Vector value)
      • getValue

        public JDFValue getValue​(int iSkip)
      • appendValue

        public JDFValue appendValue()
      • appendValueLocLoc

        public JDFLoc appendValueLocLoc​(int iSkip)
        Appends element Loc to the end of the iSkip'th subelement Value
        Overrides:
        appendValueLocLoc in class JDFAbstractState
        Parameters:
        iSkip - number of Value elements to skip (iSkip=0 - first Value element)
        Returns:
        JDFLoc: newly created Loc element
      • setValueAllowedValue

        public void setValueAllowedValue​(int iSkip,
                                         JDFMatrix value)
        Sets the AllowedValue attribute of the iSkip'th subelement Value
        Parameters:
        iSkip - the number of Value elements to skip
        value - value to set the attribute to
      • getValueAllowedValue

        public final JDFMatrix getValueAllowedValue​(int iSkip)
        Gets the AllowedValue attribute of the iSkip'th subelement Value
        Parameters:
        iSkip - the number of Value elements to skip
        Returns:
        JDFMatrix: the attribute value
      • setValueValueUsage

        public void setValueValueUsage​(int iSkip,
                                       JDFBaseDataTypes.EnumFitsValue value)
        Sets the ValueUsage attribute of the iSkip'th subelement Value
        Parameters:
        iSkip - the number of Value elements to skip
        value - value to set the attribute to
      • getValueValueUsage

        public final JDFBaseDataTypes.EnumFitsValue getValueValueUsage​(int iSkip)
        Gets the value of attribute ValueUsage of the iSkip'th subelement Value
        Parameters:
        iSkip - the number of Value elements to skip
        Returns:
        EnumFitsValue: the attribute value
      • addValue

        public void addValue​(java.lang.String value,
                             JDFBaseDataTypes.EnumFitsValue testlists)
        Description copied from class: JDFAbstractState
        add a value to the list of values defined by testlists
        Specified by:
        addValue in class JDFAbstractState
        Parameters:
        value - value to test
        testlists - switches between Allowed test lists and Present test lists. Has two values: Allowed and Present.
      • fitsValue

        public boolean fitsValue​(java.lang.String value,
                                 JDFBaseDataTypes.EnumFitsValue testlists)
        fitsValue - checks whether value matches the Allowed test lists or Present test lists specified for this State
        Specified by:
        fitsValue in class JDFAbstractState
        Parameters:
        value - value to test
        testlists - the test lists the value has to match. In this State the test lists are RotateMod, Shift, Transforms and ValueElem.
        Choose one of two values: FitsValue_Allowed or FitsValue_Present. (Defaults to Allowed)
        Returns:
        boolean - true, if the value matches all test lists or if Allowed test lists are not specified