java.lang.Object
jpicedt.graphic.io.parser.AbstractRegularExpression
jpicedt.graphic.io.parser.RepeatExpression
jpicedt.format.pstricks.parser.PSTParametersExpression
- All Implemented Interfaces:
- jpicedt.graphic.io.parser.ExpressionConstants, jpicedt.graphic.model.PicObjectConstants
- public class PSTParametersExpression
- extends jpicedt.graphic.io.parser.RepeatExpression
- implements jpicedt.graphic.model.PicObjectConstants
PsTricks graphics parameters, e.g. "linewidth=5pt, fillcolor=blue,..." (no leading, nor trailing brackets,
these should be added to an enclosing expression)
Currently supported parameters :
- xunit, yunit, runit, unit
- linestyle=xxx
- linewidth=xxx (with unit) + dash'n dot parameters
- linecolor=xxx (may be a native PsTrick colour, see predefined colours in PsTricksFormater, OR a user-defined colours)
- fillstyle=xxx
- fillcolor=xxx (same note as for linecolor)
- shadow parameters
- hatch parameters.
Depending on the value of "attributeSetKey" given to the constructor,
these parameters may act on the attribute set of the current Element (in the Pool), or on another
attribute set (for instance, PsTricks's registers).
- Version:
- $Id: PSTParametersExpression.java,v 1.2 2002/08/05 16:44:10 reynal Exp $
Fields inherited from interface jpicedt.graphic.model.PicObjectConstants |
CROSSHATCH, CROSSHATCH_FILLED, DASH_OPAQUE, DASH_TRANSPARENT, DASH1, DASH2, DASH3, DASHED, DIMEN, DOT_SEP, DOT_SEP1, DOT_SEP2, DOT_SEP3, DOTTED, DOUBLE_COLOR, DOUBLE_LINE, DOUBLE_SEP, FILL_COLOR, FILL_STYLE, HATCH_ANGLE, HATCH_COLOR, HATCH_SEP, HATCH_WIDTH, HLINES, HLINES_FILLED, INNER, LEFT_ARROW, LINE_COLOR, LINE_STYLE, LINE_WIDTH, MaxAttributeNameIndex, MIDDLE, NONE, OUTER, POLYGON_DOTS, POLYGON_SOLID, POLYGON_STYLE, PS_POINT, RIGHT_ARROW, SHADOW, SHADOW_ANGLE, SHADOW_COLOR, SHADOW_SIZE, SOLID, VLINES, VLINES_FILLED |
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 |
PSTParametersExpression
public PSTParametersExpression(jpicedt.graphic.io.parser.Pool pool,
jpicedt.graphic.io.parser.Pool.Key attributeSetKey)
toString
public java.lang.String toString()
- Description copied from class:
java.lang.Object
- Convert this Object to a human-readable String.
There are no limits placed on how long this String
should be or what it should contain. We suggest you
make it as intuitive as possible to be able to place
it into System.out.println() 55
and such.
It is typical, but not required, to ensure that this method
never completes abruptly with a java.lang.RuntimeException.
This method will be called when performing string
concatenation with this object. If the result is
null
, string concatenation will instead
use "null"
.
The default implementation returns
getClass().getName() + "@" +
Integer.toHexString(hashCode())
.