Class JDFXYPairSpan

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, IStreamWriter, Element, ElementTraversal, EventTarget, Node, NodeList, TypeInfo

public class JDFXYPairSpan extends JDFSpanBase
XYPair range class
See Also:
  • Constructor Details

    • JDFXYPairSpan

      public JDFXYPairSpan(org.apache.xerces.dom.CoreDocumentImpl myOwnerDocument, String qualifiedName) throws DOMException
      Constructor for JDFXYPairSpan
      Parameters:
      ownerDocument -
      qualifiedName -
      Throws:
      DOMException
    • JDFXYPairSpan

      public JDFXYPairSpan(org.apache.xerces.dom.CoreDocumentImpl myOwnerDocument, String myNamespaceURI, String qualifiedName) throws DOMException
      Constructor for JDFXYPairSpan
      Parameters:
      ownerDocument -
      namespaceURI -
      qualifiedName -
      Throws:
      DOMException
    • JDFXYPairSpan

      public JDFXYPairSpan(org.apache.xerces.dom.CoreDocumentImpl myOwnerDocument, String myNamespaceURI, String qualifiedName, String myLocalName) throws DOMException
      Constructor for JDFXYPairSpan
      Parameters:
      ownerDocument -
      namespaceURI -
      qualifiedName -
      localName -
      Throws:
      DOMException
  • Method Details

    • getTheAttributeInfo

      protected AttributeInfo getTheAttributeInfo()
      Overrides:
      getTheAttributeInfo in class JDFSpanBase
      Returns:
    • toString

      public String toString()
      toString
      Overrides:
      toString in class JDFSpanBase
      Returns:
      String
      See Also:
    • setActual

      public void setActual(JDFXYPair value)
    • getActual

      public JDFXYPair getActual()
    • setPreferred

      public void setPreferred(JDFXYPair value)
    • getPreferred

      public JDFXYPair getPreferred()
    • getDataType

      public JDFSpanBase.EnumDataType getDataType()
      Gets the value of attribute DataType
      Overrides:
      getDataType in class JDFSpanBase
      Returns:
      EnumDataType - the attribute DataType value
    • setRange

      public void setRange(JDFXYPairRangeList value)
    • getRange

      public JDFXYPairRangeList getRange()
    • init

      public boolean init()
      Description copied from class: KElement
      Method init. Superclass of all inits
      Overrides:
      init in class JDFElement
      Returns:
      boolean true always
      See Also:
    • setPreferred

      public void setPreferred(double x, double y)
      SetPreferred
      Parameters:
      double - x
      double - y
    • addRange

      public void addRange(double x, double y)
      add an element xy to the Range attribute
      Parameters:
      double - x - x value of the JDFXYPair value to add
      double - y - y value of the JDFXYPair value to add
    • addRange

      public void addRange(double x1, double y1, double x2, double y2)
      add an element xy to the Range attribute
      Parameters:
      double - x1 - x value of the left JDFXYPairRange value to add
      double - y1 - y value of the left JDFXYPairRange value to add
      double - x2 - x value of the right JDFXYPairRange value to add
      double - y2 - y value of the right JDFXYPairRange value to add
    • addRange

      public void addRange(JDFXYPair xy)
      add an element xy to the Range attribute as a JDFRange
      Parameters:
      JDFXYPair - xy - the Range value to add
    • addRange

      public void addRange(JDFXYPair xy1, JDFXYPair xy2)
      add an element xy to the Range attribute as a JDFRange
      Parameters:
      JDFXYPair - xy1 - left JDFXYPairRange value to add
      JDFXYPair - xy2 - right JDFXYPairRange value to add