org.scilab.forge.jlatexmath
Class OverUnderDelimiter

java.lang.Object
  extended by org.scilab.forge.jlatexmath.Atom
      extended by org.scilab.forge.jlatexmath.OverUnderDelimiter
All Implemented Interfaces:
java.lang.Cloneable

public class OverUnderDelimiter
extends Atom

A box representing another atom with a delimiter and a script above or under it, with script and delimiter seperated by a kern.


Field Summary
 
Fields inherited from class org.scilab.forge.jlatexmath.Atom
alignment, type, type_limits
 
Constructor Summary
OverUnderDelimiter(Atom base, Atom script, SymbolAtom s, int kernUnit, float kern, boolean over)
           
 
Method Summary
 void addScript(Atom script)
           
 Box createBox(TeXEnvironment env)
          Convert this atom into a Box, using properties set by "parent" atoms, like the TeX style, the last used font, color settings, ...
 boolean isOver()
           
 
Methods inherited from class org.scilab.forge.jlatexmath.Atom
clone, getLeftType, getRightType
 
Methods inherited from class java.lang.Object
equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

OverUnderDelimiter

public OverUnderDelimiter(Atom base,
                          Atom script,
                          SymbolAtom s,
                          int kernUnit,
                          float kern,
                          boolean over)
                   throws InvalidUnitException
Throws:
InvalidUnitException
Method Detail

addScript

public void addScript(Atom script)

isOver

public boolean isOver()

createBox

public Box createBox(TeXEnvironment env)
Description copied from class: Atom
Convert this atom into a Box, using properties set by "parent" atoms, like the TeX style, the last used font, color settings, ...

Specified by:
createBox in class Atom
Parameters:
env - the current environment settings
Returns:
the resulting box.