|
|||||||||
Home >> All >> jpicedt >> format >> latex >> [ parser overview ] | PREV CLASS NEXT CLASS | ||||||||
SUMMARY: ![]() ![]() ![]() |
DETAIL: FIELD | CONSTR | METHOD |
jpicedt.format.latex.parser
Class LaTeXPutExpression

java.lang.Objectjpicedt.graphic.io.parser.AbstractRegularExpression
jpicedt.graphic.io.parser.SequenceExpression
jpicedt.format.latex.parser.LaTeXPutExpression
- All Implemented Interfaces:
- jpicedt.graphic.io.parser.ExpressionConstants, jpicedt.graphic.model.PicObjectConstants
- public class LaTeXPutExpression
- extends jpicedt.graphic.io.parser.SequenceExpression
- implements jpicedt.graphic.io.parser.ExpressionConstants, jpicedt.graphic.model.PicObjectConstants
- extends jpicedt.graphic.io.parser.SequenceExpression
\\put(x,y){argument} Depending on the argument found, instanciates :
- PicText : \\makebox, \\framebox, \\dashbox or LR-argument
- PicPolygon : \\line, \\vector. - PicEllipse : \\circle
Nested Class Summary | |
(package private) class |
LaTeXPutExpression.BoxEnclosedText
Handles text inside a box-command (e.g. |
(package private) class |
LaTeXPutExpression.HRArgument
handles content of "{stuff}" when no other expression matches, by instanciating a PicText with "stuff" as the PicText string |
(package private) class |
LaTeXPutExpression.HRArgumentSucker
swallow as many chars as possible and push them in "hrArgument" buffer, replacing CR by whitespaces, as TeX does. |
(package private) class |
LaTeXPutExpression.LaTeXBoxExpression
PicText : argument = \\makebox(w,h)[vh]{text or LaTeX command} \\framebox(w,h)[vh]{text or LaTeX command} \\dashbox{dash}(w,h)[vh]{text or LaTeX command} interpret(c) return false if none of these have been found, and cursor position is left unchanged Uses "TextAlignement" |
(package private) class |
LaTeXPutExpression.LaTeXCircleExpression
\circle{diam} -> circle |
(package private) class |
LaTeXPutExpression.LaTeXLineExpression
\\line(x,y){hor-len} -> line starting at (x,y), and having hor-len as its horizonal extent (except for vertical lines, where hor-len specifies the vertical extent. |
(package private) class |
LaTeXPutExpression.LaTeXOvalExpression
\oval(w,h) or \oval(w,h)[align] (for half- or quarter- ovals). |
(package private) class |
LaTeXPutExpression.TextAlignment
handles boxes alignement, e.g. |
Field Summary | |
private double |
boxDash
|
private double |
boxHeight
|
private double |
boxWidth
|
private boolean |
filledCircle
|
private java.lang.String |
horAlign
|
private java.lang.StringBuffer |
hrArgument
|
private boolean |
isFixedSizeBox
|
private jpicedt.graphic.io.parser.Pool |
pool
|
private jpicedt.graphic.PicPoint |
putPoint
|
private java.lang.String |
vertAlign
|
private double |
x
|
private double |
y
|
Fields inherited from class jpicedt.graphic.io.parser.SequenceExpression |
|
Fields inherited from interface jpicedt.graphic.io.parser.ExpressionConstants |
ANY_CHAR, ANY_CHAR_EOL, ANY_SIGN, AT_LEAST, AT_MOST, DEBUG, DOUBLE, EOL, EXACTLY, INTEGER, NEGATIVE, NON_NULL, POSITIVE, STRICTLY_NEGATIVE, STRICTLY_POSITIVE, WHITE_SPACES, WHITE_SPACES_OR_EOL |
Fields inherited from interface jpicedt.graphic.model.PicObjectConstants |
CROSSHATCH, CROSSHATCH_FILLED, DASH_OPAQUE, DASH_TRANSPARENT, DASH1, DASH2, DASH3, DASHED, DIMEN, DOT_SEP, DOT_SEP1, DOT_SEP2, DOT_SEP3, DOTTED, DOUBLE_COLOR, DOUBLE_LINE, DOUBLE_SEP, FILL_COLOR, FILL_STYLE, HATCH_ANGLE, HATCH_COLOR, HATCH_SEP, HATCH_WIDTH, HLINES, HLINES_FILLED, INNER, LEFT_ARROW, LINE_COLOR, LINE_STYLE, LINE_WIDTH, MaxAttributeNameIndex, MIDDLE, NONE, OUTER, POLYGON_DOTS, POLYGON_SOLID, POLYGON_STYLE, PS_POINT, RIGHT_ARROW, SHADOW, SHADOW_ANGLE, SHADOW_COLOR, SHADOW_SIZE, SOLID, VLINES, VLINES_FILLED |
Constructor Summary | |
LaTeXPutExpression(jpicedt.graphic.io.parser.Pool pl)
Constructor for the LaTeXPutExpression object |
Method Summary | |
void |
action(jpicedt.graphic.io.parser.ParserEvent e)
called when this SequenceExpression was successfully parsed -> reinit locals for next time |
java.lang.String |
toString()
Convert this Object to a human-readable String. |
Methods inherited from class jpicedt.graphic.io.parser.SequenceExpression |
add, interpret |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
Field Detail |
pool
private jpicedt.graphic.io.parser.Pool pool
putPoint
private jpicedt.graphic.PicPoint putPoint
hrArgument
private java.lang.StringBuffer hrArgument
isFixedSizeBox
private boolean isFixedSizeBox
boxWidth
private double boxWidth
boxHeight
private double boxHeight
boxDash
private double boxDash
horAlign
private java.lang.String horAlign
vertAlign
private java.lang.String vertAlign
x
private double x
y
private double y
filledCircle
private boolean filledCircle
Constructor Detail |
LaTeXPutExpression
public LaTeXPutExpression(jpicedt.graphic.io.parser.Pool pl)
- Constructor for the LaTeXPutExpression object
Method Detail |
action
public void action(jpicedt.graphic.io.parser.ParserEvent e)
- called when this SequenceExpression was successfully parsed -> reinit locals for next time
toString
public java.lang.String toString()
- Description copied from class:
java.lang.Object
- Convert this Object to a human-readable String.
There are no limits placed on how long this String
should be or what it should contain. We suggest you
make it as intuitive as possible to be able to place
it into System.out.println() 55
and such.
It is typical, but not required, to ensure that this method never completes abruptly with a java.lang.RuntimeException.
This method will be called when performing string concatenation with this object. If the result is
null
, string concatenation will instead use"null"
.The default implementation returns
getClass().getName() + "@" + Integer.toHexString(hashCode())
.
|
|||||||||
Home >> All >> jpicedt >> format >> latex >> [ parser overview ] | PREV CLASS NEXT CLASS | ||||||||
SUMMARY: ![]() ![]() ![]() |
DETAIL: FIELD | CONSTR | METHOD |