|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectorg.scilab.forge.jlatexmath.Atom
org.scilab.forge.jlatexmath.RowAtom
public class RowAtom
An atom representing a horizontal row of other atoms, to be seperated by glue. It's also responsible for inserting kerns and ligatures.
Field Summary | |
---|---|
protected java.util.LinkedList<Atom> |
elements
|
boolean |
lookAtLastAtom
|
Fields inherited from class org.scilab.forge.jlatexmath.Atom |
---|
alignment, type, type_limits |
Constructor Summary | |
---|---|
protected |
RowAtom()
|
|
RowAtom(Atom el)
|
|
RowAtom(java.util.List<TeXFormula> l)
Only used while parsing MathML. |
Method Summary | |
---|---|
void |
add(Atom el)
|
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, ... |
Atom |
getLastAtom()
|
int |
getLeftType()
Get the type of the leftermost child atom. |
int |
getRightType()
Get the type of the rightermost child atom. |
void |
setPreviousAtom(Dummy prev)
Sets the given dummy containing the atom that comes just before the first child atom of this "composed atom". |
Methods inherited from class org.scilab.forge.jlatexmath.Atom |
---|
clone |
Methods inherited from class java.lang.Object |
---|
equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Field Detail |
---|
protected java.util.LinkedList<Atom> elements
public boolean lookAtLastAtom
Constructor Detail |
---|
protected RowAtom()
public RowAtom(Atom el)
public RowAtom(java.util.List<TeXFormula> l) throws EmptyFormulaException
l
- list of objects of the type Formula
EmptyFormulaException
Method Detail |
---|
public Atom getLastAtom()
public final void add(Atom el)
public Box createBox(TeXEnvironment env)
Atom
Box
, using properties set by "parent"
atoms, like the TeX style, the last used font, color settings, ...
createBox
in class Atom
env
- the current environment settings
public void setPreviousAtom(Dummy prev)
Row
setPreviousAtom
in interface Row
prev
- the dummy that comes just before this "composed atom"public int getLeftType()
Atom
getLeftType
in class Atom
public int getRightType()
Atom
getRightType
in class Atom
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |