|
|||||||||
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.CharSymbol
org.scilab.forge.jlatexmath.CharAtom
public class CharAtom
An atom representing exactly one alphanumeric character and the text style in which it should be drawn.
Field Summary |
---|
Fields inherited from class org.scilab.forge.jlatexmath.Atom |
---|
alignment, type, type_limits |
Constructor Summary | |
---|---|
CharAtom(char c,
java.lang.String textStyle)
Creates a CharAtom that will represent the given character in the given text style. |
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 |
---|
public CharAtom(char c, java.lang.String textStyle)
c
- the alphanumeric charactertextStyle
- the text style in which the character should be drawnMethod Detail |
---|
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 CharFont getCharFont(TeXFont tf)
CharSymbol
getCharFont
in class CharSymbol
tf
- the TeXFont containing all font related information
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |