Class 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 its setPoint(), 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)
    • 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: AbstractRegularExpression
        Called 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:
        action in class AbstractRegularExpression