org.scilab.forge.jlatexmath
Class GraphicsAtom

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

public class GraphicsAtom
extends Atom

An atom representing an atom containing a graphic.


Field Summary
 
Fields inherited from class org.scilab.forge.jlatexmath.Atom
alignment, type, type_limits
 
Constructor Summary
GraphicsAtom(java.lang.String path, java.lang.String option)
           
 
Method Summary
protected  void buildAtom(java.lang.String option)
           
 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, ...
 void draw()
           
 
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

GraphicsAtom

public GraphicsAtom(java.lang.String path,
                    java.lang.String option)
Method Detail

buildAtom

protected void buildAtom(java.lang.String option)

draw

public void draw()

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.