org.scilab.forge.jlatexmath
Class MulticolumnAtom

java.lang.Object
  extended by org.scilab.forge.jlatexmath.Atom
      extended by org.scilab.forge.jlatexmath.MulticolumnAtom
All Implemented Interfaces:
java.lang.Cloneable
Direct Known Subclasses:
HdotsforAtom

public class MulticolumnAtom
extends Atom

An atom used in array mode to write on several columns.


Field Summary
protected  int afterVlines
           
protected  int align
           
protected  int beforeVlines
           
protected  int col
           
protected  Atom cols
           
protected  int n
           
protected  int row
           
protected  float w
           
 
Fields inherited from class org.scilab.forge.jlatexmath.Atom
alignment, type, type_limits
 
Constructor Summary
MulticolumnAtom(int n, java.lang.String align, Atom cols)
           
 
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, ...
 int getCol()
           
 int getRow()
           
 int getSkipped()
           
 boolean hasRightVline()
           
 void setRowColumn(int i, int j)
           
 void setWidth(float w)
           
 
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
 

Field Detail

n

protected int n

align

protected int align

w

protected float w

cols

protected Atom cols

beforeVlines

protected int beforeVlines

afterVlines

protected int afterVlines

row

protected int row

col

protected int col
Constructor Detail

MulticolumnAtom

public MulticolumnAtom(int n,
                       java.lang.String align,
                       Atom cols)
Method Detail

setWidth

public void setWidth(float w)

getSkipped

public int getSkipped()

hasRightVline

public boolean hasRightVline()

setRowColumn

public void setRowColumn(int i,
                         int j)

getRow

public int getRow()

getCol

public int getCol()

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.