Docjar: A Java Source and Docuemnt Enginecom.*    java.*    javax.*    org.*    all    new    plug-in

Quick Search    Search Deep

jpicedt.format.latex.parser
Class LaTeXPicPointExpression  view LaTeXPicPointExpression download LaTeXPicPointExpression.java

java.lang.Object
  extended byjpicedt.graphic.io.parser.AbstractRegularExpression
      extended byjpicedt.graphic.io.parser.PicPointExpression
          extended byjpicedt.format.latex.parser.LaTeXPicPointExpression
All Implemented Interfaces:
jpicedt.graphic.io.parser.ExpressionConstants

public class LaTeXPicPointExpression
extends jpicedt.graphic.io.parser.PicPointExpression
implements jpicedt.graphic.io.parser.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 (see jpicedt.graphic.model.Element interface for details on the setPoint()/getPoint() methods).


Field Summary
private  jpicedt.graphic.io.parser.Pool pool
           
private  int ptNumber
           
 
Fields inherited from class jpicedt.graphic.io.parser.PicPointExpression
 
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
 
Constructor Summary
LaTeXPicPointExpression(int ptNumber, jpicedt.graphic.io.parser.Pool pl)
           
 
Method Summary
 void action(jpicedt.graphic.io.parser.ParserEvent e)
          Called during interpret operation at the end of a SUCCESSFUL interpret operation.
 
Methods inherited from class jpicedt.graphic.io.parser.PicPointExpression
getPicPoint, interpret, toString
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Field Detail

ptNumber

private int ptNumber

pool

private jpicedt.graphic.io.parser.Pool pool
Constructor Detail

LaTeXPicPointExpression

public LaTeXPicPointExpression(int ptNumber,
                               jpicedt.graphic.io.parser.Pool pl)
Method Detail

action

public void action(jpicedt.graphic.io.parser.ParserEvent e)
Description copied from class: jpicedt.graphic.io.parser.AbstractRegularExpression
Called during interpret operation at the end of a SUCCESSFUL interpret operation. Should be overriden by daughter classes to process proper action, e.g. set object properties... Current implementation does nothing.