http://www.jpicedt.org

jpicedt.format.input.pstricks
Class PsRPutExpression

java.lang.Object
  extended by jpicedt.format.input.util.AbstractRegularExpression
      extended by jpicedt.format.input.util.SequenceExpression
          extended by jpicedt.format.input.pstricks.PsRPutExpression

public class PsRPutExpression
extends SequenceExpression

Parses PsTricks's \\rput commands, either:

(line-breaks being allowed b/w each "block"), where :
Depending on the "stuff" found, instanciates : The parsing code sets the following Pool's key/value pairs (as set by the enclosing XXXPutExpression beforehands): These key/value pairs may then be used by client expression, e.g. PsBox, ...

Since:
jpicedt 1.3
Version:
$Id: PsRPutExpression.java,v 1.13 2013/03/31 06:53:44 vincentb1 Exp $
Author:
Sylvain Reynal

Field Summary
static Pool.Key<PicText.HorAlign> KEY_RPUT_HALIGN
          key entry in Pool containing the horizontal alignment parameter
static Pool.Key<PicPoint> KEY_RPUT_POINT
          key entry in Pool containing the (x,y) parameter
static Pool.Key<Double> KEY_RPUT_ROTATION
          key entry in Pool containing the (x,y) parameter
static Pool.Key<PicText.VertAlign> KEY_RPUT_VALIGN
          key entry in Pool containing the (x,y) parameter
 
Constructor Summary
PsRPutExpression(Pool pl)
           
 
Method Summary
 void action(ParserEvent e)
          called when this SequenceExpression was successfully parsed -> reinit locals for next time
 String toString()
           
 
Methods inherited from class jpicedt.format.input.util.SequenceExpression
add, interpret
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Field Detail

KEY_RPUT_VALIGN

public static final Pool.Key<PicText.VertAlign> KEY_RPUT_VALIGN
key entry in Pool containing the (x,y) parameter


KEY_RPUT_HALIGN

public static final Pool.Key<PicText.HorAlign> KEY_RPUT_HALIGN
key entry in Pool containing the horizontal alignment parameter


KEY_RPUT_POINT

public static final Pool.Key<PicPoint> KEY_RPUT_POINT
key entry in Pool containing the (x,y) parameter


KEY_RPUT_ROTATION

public static final Pool.Key<Double> KEY_RPUT_ROTATION
key entry in Pool containing the (x,y) parameter

Constructor Detail

PsRPutExpression

public PsRPutExpression(Pool pl)
Method Detail

toString

public String toString()
Overrides:
toString in class SequenceExpression

action

public void action(ParserEvent e)
called when this SequenceExpression was successfully parsed -> reinit locals for next time

Overrides:
action in class AbstractRegularExpression

http://www.jpicedt.org

Submit a bug : syd@jpicedt.org