jpicedt.format.input.pstricks
Class PSTAngleParameter
java.lang.Object
jpicedt.format.input.util.AbstractRegularExpression
jpicedt.format.input.util.StatementExpression
jpicedt.format.input.pstricks.PSTAngleParameter
public class PSTAngleParameter
- extends StatementExpression
Used by PSTParametersExpression to parse statements involving angles, for instance
"hatchangle=45" or "shadowangle=90".
- Version:
- $Id: PSTAngleParameter.java,v 1.9 2013/03/31 06:55:49 vincentb1 Exp $
- Author:
- Sylvain Reynal
Method Summary |
void |
action(ParserEvent e)
Called in the course of the interpret operation at the end of a SUCCESSFUL interpret operation. |
PSTAngleParameter
public PSTAngleParameter(Pool pl,
String tag,
PicAttributeName<Double> attributeName,
Pool.Key<PicAttributeSet> attributeSetKey)
- Parameters:
pl
- parser's pooltag
- LHS tag (e.g. "hatchangle" or "shadowangle") for the StatementExpressionattributeName
- name of attribute to modify (must be a predefined PicAttributeName of type "Double" or at least "Number")attributeSetKey
- used to fetch the attribute set in which parsed parameters are stored.
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