java.lang.Object
org.jhotdraw8.css.converter.AbstractCssConverter<PathMetrics>
org.jhotdraw8.draw.css.converter.PathMetricsCssConverter
- All Implemented Interfaces:
org.jhotdraw8.base.converter.Converter<PathMetrics>,CssConverter<PathMetrics>
Converts an BezierNodeList path to a CSS String.
The null value will be converted to the CSS identifier "none".
- Author:
- Werner Randelshofer
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescription@Nullable StringparseNonNull(CssTokenizer tt, @Nullable org.jhotdraw8.base.converter.IdResolver idResolver) protected <TT extends PathMetrics>
voidproduceTokensNonNull(TT value, @Nullable org.jhotdraw8.base.converter.IdSupplier idSupplier, Consumer<CssToken> out) Methods inherited from class org.jhotdraw8.css.converter.AbstractCssConverter
getDefaultValue, isNullable, parse, produceTokensMethods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitMethods inherited from interface org.jhotdraw8.base.converter.Converter
fromString, fromString, fromStringNonNull, fromStringNonNull, fromStringNonNull, fromStringNonNull, needsIdResolver, toString, toStringMethods inherited from interface org.jhotdraw8.css.converter.CssConverter
fromString, fromString, getExamples, toString, toString, toString, toTokens
-
Constructor Details
-
PathMetricsCssConverter
public PathMetricsCssConverter(boolean nullable)
-
-
Method Details
-
parseNonNull
public PathMetrics parseNonNull(CssTokenizer tt, @Nullable org.jhotdraw8.base.converter.IdResolver idResolver) throws ParseException, IOException - Specified by:
parseNonNullin interfaceCssConverter<PathMetrics>- Specified by:
parseNonNullin classAbstractCssConverter<PathMetrics>- Throws:
ParseExceptionIOException
-
produceTokensNonNull
protected <TT extends PathMetrics> void produceTokensNonNull(TT value, @Nullable org.jhotdraw8.base.converter.IdSupplier idSupplier, Consumer<CssToken> out) - Specified by:
produceTokensNonNullin classAbstractCssConverter<PathMetrics>
-
getHelpText
-