jpicedt.format.input.pstricks
Class PSTPicPointExpression
java.lang.Object
jpicedt.format.input.util.AbstractRegularExpression
jpicedt.format.input.util.PicPointExpression
jpicedt.format.input.pstricks.PSTPicPointExpression
public class PSTPicPointExpression
- extends PicPointExpression
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,
possibly using a given EditPointConstraint.
- Since:
- jpicedt 1.3.1
- Version:
- $Id: PSTPicPointExpression.java,v 1.10 2013/03/31 06:54:29 vincentb1 Exp $
- Author:
- Sylvain Reynal
- See Also:
Element.setCtrlPt(int, jpicedt.graphic.PicPoint)
Method Summary |
void |
action(ParserEvent e)
Called in the course of the interpret operation at the end of a SUCCESSFUL interpret operation. |
PSTPicPointExpression
public PSTPicPointExpression(int ptNumber,
Pool pl)
- Initializes this expression with a "null" EditPointConstraint (= default constraint)
PSTPicPointExpression
public PSTPicPointExpression(int ptNumber,
EditPointConstraint constraint,
Pool pl)
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
Submit a bug : syd@jpicedt.org