org.scilab.forge.jlatexmath
Class FBoxAtom

java.lang.Object
  extended by org.scilab.forge.jlatexmath.Atom
      extended by org.scilab.forge.jlatexmath.FBoxAtom
All Implemented Interfaces:
java.lang.Cloneable
Direct Known Subclasses:
DoubleFramedAtom, OvalAtom, ShadowAtom

public class FBoxAtom
extends Atom

An atom representing a boxed base atom.


Field Summary
protected  Atom base
           
protected  java.awt.Color bg
           
 float INTERSPACE
           
protected  java.awt.Color line
           
 
Fields inherited from class org.scilab.forge.jlatexmath.Atom
alignment, type, type_limits
 
Constructor Summary
FBoxAtom(Atom base)
           
FBoxAtom(Atom base, java.awt.Color bg, java.awt.Color line)
           
 
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, ...
 
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

INTERSPACE

public float INTERSPACE

base

protected final Atom base

bg

protected java.awt.Color bg

line

protected java.awt.Color line
Constructor Detail

FBoxAtom

public FBoxAtom(Atom base)

FBoxAtom

public FBoxAtom(Atom base,
                java.awt.Color bg,
                java.awt.Color line)
Method Detail

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.