org.scilab.forge.jlatexmath
Class FixedCharAtom

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

public class FixedCharAtom
extends CharSymbol

An atom representing a fixed character (not depending on a text style).


Field Summary
 
Fields inherited from class org.scilab.forge.jlatexmath.Atom
alignment, type, type_limits
 
Constructor Summary
FixedCharAtom(CharFont c)
           
 
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, ...
 CharFont getCharFont(TeXFont tf)
          Get the CharFont-object that uniquely identifies the character that is represented by this atom.
 
Methods inherited from class org.scilab.forge.jlatexmath.CharSymbol
isMarkedAsTextSymbol, markAsTextSymbol, removeMark
 
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

FixedCharAtom

public FixedCharAtom(CharFont c)
Method Detail

getCharFont

public CharFont getCharFont(TeXFont tf)
Description copied from class: CharSymbol
Get the CharFont-object that uniquely identifies the character that is represented by this atom.

Specified by:
getCharFont in class CharSymbol
Parameters:
tf - the TeXFont containing all font related information
Returns:
a CharFont

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.