org.scilab.forge.jlatexmath
Class VlineAtom

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

public class VlineAtom
extends Atom

An atom representing a hline in array environment


Field Summary
 
Fields inherited from class org.scilab.forge.jlatexmath.Atom
alignment, type, type_limits
 
Constructor Summary
VlineAtom(int n)
           
 
Method Summary
 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, ...
 float getWidth(TeXEnvironment env)
           
 void setHeight(float height)
           
 void setShift(float shift)
           
 
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

VlineAtom

public VlineAtom(int n)
Method Detail

setHeight

public void setHeight(float height)

setShift

public void setShift(float shift)

getWidth

public float getWidth(TeXEnvironment env)

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.