jpicedt.format.input.latex
Class LaTeXPutExpression
java.lang.Object
jpicedt.format.input.util.AbstractRegularExpression
jpicedt.format.input.util.SequenceExpression
jpicedt.format.input.latex.LaTeXPutExpression
public class LaTeXPutExpression
- extends SequenceExpression
\\put(x,y){argument}
Depending on the argument found, instanciates :
- a PicText : \\makebox, \\framebox, \\dashbox or LR-argument
- a PicMultiCurve : \\line, \\vector.
- a PicEllipse : \\circle
The parsing code sets the following Pool's key/value pair (as set by the enclosing XXXPutExpression beforehands):
- KEY_PUT_POINT: \\put's (x,y) parameter
This key/value pairs may then be used by client expression, e.g. PsBox, LaTeXCircle,...
- Since:
- jpicedt 1.3
- Version:
- $Id: LaTeXPutExpression.java,v 1.13 2013/03/31 06:57:04 vincentb1 Exp $
- Author:
- Sylvain Reynal
Method Summary |
void |
action(ParserEvent e)
called when this SequenceExpression was successfully parsed -> reinit locals and Pool's keys for next time |
String |
toString()
|
KEY_PUT_POINT
public static final Pool.Key<PicPoint> KEY_PUT_POINT
- key entry in Pool containing the (x,y) parameter
LaTeXPutExpression
public LaTeXPutExpression(Pool pl)
action
public void action(ParserEvent e)
- called when this SequenceExpression was successfully parsed -> reinit locals and Pool's keys for next time
- Overrides:
action
in class AbstractRegularExpression
toString
public String toString()
- Overrides:
toString
in class SequenceExpression
Submit a bug : syd@jpicedt.org