Class AbstractScriptElement

java.lang.Object
org.apache.batik.dom.AbstractNode
org.apache.batik.dom.AbstractParentNode
org.apache.batik.dom.AbstractParentChildNode
org.apache.batik.dom.AbstractElement
org.apache.batik.dom.AbstractElementNS
org.apache.batik.dom.GenericElementNS
net.sourceforge.jeuclid.elements.AbstractJEuclidElement
net.sourceforge.jeuclid.elements.presentation.script.AbstractScriptElement
All Implemented Interfaces:
Serializable, JEuclidElement, JEuclidNode, LayoutableNode, org.apache.batik.dom.events.NodeEventTarget, org.apache.batik.dom.ExtendedNode, org.apache.batik.dom.xbl.NodeXBL, org.apache.batik.dom.xbl.XBLManagerData, org.apache.batik.w3c.dom.ElementTraversal, Element, EventTarget, MathMLElement, Node
Direct Known Subclasses:
AbstractSubSuper, Mmultiscripts

public abstract class AbstractScriptElement extends AbstractJEuclidElement
Base class for msub, msup, msubsup, and mmultiscripts.
Version:
$Revision: bc1d5fde7b73 $
See Also:
  • Field Details

  • Constructor Details

    • AbstractScriptElement

      public AbstractScriptElement(String qname, org.apache.batik.dom.AbstractDocument odoc)
      Default constructor. Sets MathML Namespace.
      Parameters:
      qname - Qualified name.
      odoc - Owner Document.
  • Method Details

    • getSubscriptshift

      public String getSubscriptshift()
      Returns:
      attribute subscriptshift.
    • setSubscriptshift

      public void setSubscriptshift(String subscriptshift)
      Parameters:
      subscriptshift - new value for subscriptshift
    • getSuperscriptshift

      public String getSuperscriptshift()
      Returns:
      attribtue superscriptshift
    • setSuperscriptshift

      public void setSuperscriptshift(String superscriptshift)
      Parameters:
      superscriptshift - new value for superscriptshift
    • getChildLayoutContext

      public LayoutContext getChildLayoutContext(int childNum, LayoutContext context)
      get the layout context for the given child.
      Specified by:
      getChildLayoutContext in interface JEuclidNode
      Overrides:
      getChildLayoutContext in class AbstractJEuclidElement
      Parameters:
      childNum - 0-based number of the child to check.
      context - external context.
      Returns:
      layout context to use.