http://www.jpicedt.org

jpicedt.format.input.latex
Class LaTeXPicPointExpression

java.lang.Object
  extended by jpicedt.format.input.util.AbstractRegularExpression
      extended by jpicedt.format.input.util.PicPointExpression
          extended by jpicedt.format.input.latex.LaTeXPicPointExpression

public class LaTeXPicPointExpression
extends PicPointExpression

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 setCtrlPt(), using the given constraint.

Since:
jpicedt 1.3
Version:
$Id: LaTeXPicPointExpression.java,v 1.10 2013/04/14 19:43:18 vincentb1 Exp $
Author:
Sylvain Reynal
See Also:
Element.setCtrlPt(int, jpicedt.graphic.PicPoint)

Constructor Summary
LaTeXPicPointExpression(int ptNumber, EditPointConstraint constraint, Pool pl)
           
LaTeXPicPointExpression(int ptNumber, Pool pl)
           
 
Method Summary
 void action(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
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

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

http://www.jpicedt.org

Submit a bug : syd@jpicedt.org