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

Quick Search    Search Deep

jpicedt.graphic.io.parser.pstricks
Class PSTPicPointExpression  view PSTPicPointExpression download PSTPicPointExpression.java

java.lang.Object
  extended byjpicedt.graphic.io.parser.AbstractRegularExpression
      extended byjpicedt.graphic.io.parser.PicPointExpression
          extended byjpicedt.graphic.io.parser.pstricks.PSTPicPointExpression
All Implemented Interfaces:
jpicedt.graphic.io.parser.ExpressionConstants

public class PSTPicPointExpression
extends jpicedt.graphic.io.parser.PicPointExpression
implements jpicedt.graphic.io.parser.ExpressionConstants

an expression that parses "(x,y)" string (PsTricks-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
(package private)  jpicedt.graphic.io.parser.LaTeXParser.Pool pool
           
(package 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
PSTPicPointExpression(int ptNumber, jpicedt.graphic.io.parser.LaTeXParser.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

int ptNumber

pool

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

PSTPicPointExpression

public PSTPicPointExpression(int ptNumber,
                             jpicedt.graphic.io.parser.LaTeXParser.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.