Class JDFMatrixState

java.lang.Object
org.apache.xerces.dom.NodeImpl
org.apache.xerces.dom.ChildNode
org.apache.xerces.dom.ParentNode
org.apache.xerces.dom.ElementImpl
org.apache.xerces.dom.ElementNSImpl
All Implemented Interfaces:
Serializable, Cloneable, JDFBaseDataTypes, ICapabilityElement, IStreamWriter, Element, ElementTraversal, EventTarget, Node, NodeList, TypeInfo

public class JDFMatrixState extends JDFAbstractState
See Also:
  • Constructor Details

    • JDFMatrixState

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

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

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

    • getTheAttributeInfo

      protected AttributeInfo getTheAttributeInfo()
      Overrides:
      getTheAttributeInfo in class JDFAbstractState
      Returns:
    • getTheElementInfo

      protected ElementInfo getTheElementInfo()
      Overrides:
      getTheElementInfo in class JDFAbstractState
      Returns:
      the elementinfo
    • toString

      public String toString()
      toString
      Overrides:
      toString in class KElement
      Returns:
      String
      See Also:
    • 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)
    • getAllowedShift

      public JDFRectangle getAllowedShift()
    • setPresentShift

      public void setPresentShift(JDFRectangle value)
    • getPresentShift

      public JDFRectangle getPresentShift()
    • getAllowedTransforms

      public Vector getAllowedTransforms()
    • setAllowedTransforms

      public void setAllowedTransforms(Vector value)
    • getPresentTransforms

      public Vector getPresentTransforms()
    • setPresentTransforms

      public void setPresentTransforms(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(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.
    • appendValue

      public void appendValue(JDFMatrix value, JDFBaseDataTypes.EnumFitsValue testlists)
    • fitsValue

      public boolean fitsValue(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
    • getEvaluationType

      public JDFTerm.EnumTerm getEvaluationType()
      Description copied from interface: ICapabilityElement
      get the type of evaluation that is appropriate for this ICapabilityElement
      Specified by:
      getEvaluationType in interface ICapabilityElement
      Specified by:
      getEvaluationType in class JDFAbstractState
      Returns:
      EnumTerm the type of evaluation
      See Also: