Class JDFShapeSpan

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 JDFShapeSpan extends JDFSpanBase
See Also:
  • Constructor Details

    • JDFShapeSpan

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

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

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

    • toString

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

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

      public void setActual(JDFShape value)
    • getActual

      public JDFShape getActual()
    • getDataType

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

      public void setPreferred(JDFShape value)
    • getPreferred

      public JDFShape getPreferred()
    • setRange

      public void setRange(JDFShapeRangeList value)
    • getRange

      public JDFShapeRangeList getRange()
    • getOfferRange

      public JDFShapeRangeList getOfferRange()
    • 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, double z)
      set the Preferred attribute
      Parameters:
      double - x the preferred width
      double - y the preferred height
      double - z the preferred depth
    • addRange

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

      public void addRange(JDFShape shape1, JDFShape shape2)
      add an element x y to the Range attribute as a JDFRange
      Parameters:
      JDFShape - shape1 the Range value
      JDFShape - shape2 the Range value
    • addRange

      public void addRange(double x, double y, double z)
      add an element x y zto the Range attribute as a JDFRange
      Parameters:
      double - x the width
      double - y the height
      double - z the depth
    • addRange

      public void addRange(double x1, double y1, double z1, double x2, double y2, double z2)
      add an element x1 y1 z1~ x2 y2 z2to the Range attribute as a JDFRange
      Parameters:
      double - x1 the 1. width
      double - y1 the 1. height
      double - z1 the 1. depth
      double - x2 the 2. width
      double - y2 the 2. height
      double - z2 the 2. depth