org.scilab.forge.jlatexmath
Class MatrixAtom

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

public class MatrixAtom
extends Atom

A box representing a matrix.


Field Summary
static int ALIGN
           
static int ALIGNAT
           
static int ALIGNED
           
static int ALIGNEDAT
           
static int ARRAY
           
static int FLALIGN
           
static SpaceAtom hsep
           
static int MATRIX
           
static SpaceAtom semihsep
           
static int SMALLMATRIX
           
static SpaceAtom vsep_ext_bot
           
static SpaceAtom vsep_ext_top
           
static SpaceAtom vsep_in
           
 
Fields inherited from class org.scilab.forge.jlatexmath.Atom
alignment, type_limits
 
Constructor Summary
MatrixAtom(ArrayOfAtoms array, int type)
           
MatrixAtom(ArrayOfAtoms array, java.lang.String options)
          Creates an empty matrix
MatrixAtom(boolean isPartial, ArrayOfAtoms array, int type)
           
MatrixAtom(boolean isPartial, ArrayOfAtoms array, int type, int alignment)
           
MatrixAtom(boolean isPartial, ArrayOfAtoms array, java.lang.String options)
          Creates an empty matrix
 
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, ...
 Box[] getColumnSep(TeXEnvironment env, float width)
           
 
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

hsep

public static SpaceAtom hsep

semihsep

public static SpaceAtom semihsep

vsep_in

public static SpaceAtom vsep_in

vsep_ext_top

public static SpaceAtom vsep_ext_top

vsep_ext_bot

public static SpaceAtom vsep_ext_bot

ARRAY

public static final int ARRAY
See Also:
Constant Field Values

MATRIX

public static final int MATRIX
See Also:
Constant Field Values

ALIGN

public static final int ALIGN
See Also:
Constant Field Values

ALIGNAT

public static final int ALIGNAT
See Also:
Constant Field Values

FLALIGN

public static final int FLALIGN
See Also:
Constant Field Values

SMALLMATRIX

public static final int SMALLMATRIX
See Also:
Constant Field Values

ALIGNED

public static final int ALIGNED
See Also:
Constant Field Values

ALIGNEDAT

public static final int ALIGNEDAT
See Also:
Constant Field Values
Constructor Detail

MatrixAtom

public MatrixAtom(boolean isPartial,
                  ArrayOfAtoms array,
                  java.lang.String options)
Creates an empty matrix


MatrixAtom

public MatrixAtom(ArrayOfAtoms array,
                  java.lang.String options)
Creates an empty matrix


MatrixAtom

public MatrixAtom(boolean isPartial,
                  ArrayOfAtoms array,
                  int type)

MatrixAtom

public MatrixAtom(boolean isPartial,
                  ArrayOfAtoms array,
                  int type,
                  int alignment)

MatrixAtom

public MatrixAtom(ArrayOfAtoms array,
                  int type)
Method Detail

getColumnSep

public Box[] getColumnSep(TeXEnvironment env,
                          float width)

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.