Package jpicedt.format.input.latex
Class LaTeXPicPointExpression
- java.lang.Object
-
- jpicedt.format.input.util.AbstractRegularExpression
-
- jpicedt.format.input.util.PicPointExpression
-
- jpicedt.format.input.latex.LaTeXPicPointExpression
-
- All Implemented Interfaces:
ExpressionConstants
public class LaTeXPicPointExpression extends PicPointExpression implements ExpressionConstants
an expression that parses "(x,y)" string (LaTeX-like PicPoint) and gives the corresponding numerical values to the point number "ptNumber" of the current Element using itssetPoint(), using the given constraint.- Since:
- jpicedt 1.3
- Version:
- $Id: LaTeXPicPointExpression.java,v 1.5.2.1 2007/09/02 11:56:02 reynal Exp $
- Author:
- Sylvain Reynal
- See Also:
Element.setPoint(int, jpicedt.graphic.PicPoint)
-
-
Field Summary
-
Fields inherited from interface jpicedt.format.input.util.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
-
-
Constructor Summary
Constructors Constructor Description LaTeXPicPointExpression(int ptNumber, Pool pl)LaTeXPicPointExpression(int ptNumber, EditPointConstraint constraint, Pool pl)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description voidaction(ParserEvent e)Called in the course of the interpret operation at the end of a SUCCESSFUL interpret operation.-
Methods inherited from class jpicedt.format.input.util.PicPointExpression
getPicPoint, interpret, toString
-
-
-
-
Constructor Detail
-
LaTeXPicPointExpression
public LaTeXPicPointExpression(int ptNumber, Pool pl)
-
LaTeXPicPointExpression
public LaTeXPicPointExpression(int ptNumber, EditPointConstraint constraint, Pool pl)
-
-
Method Detail
-
action
public void action(ParserEvent e)
Description copied from class:AbstractRegularExpressionCalled in the course of the interpret operation at the end of a SUCCESSFUL interpret operation. Should be overriden by daughter classes to process proper action, e.g. set Element's attributes... Current implementation does nothing, but sending a debugging string.- Overrides:
actionin classAbstractRegularExpression
-
-