java.lang.Object
org.jhotdraw8.css.converter.AbstractCssConverter<BezierPath>
org.jhotdraw8.draw.css.converter.BezierPathCssConverter
- All Implemented Interfaces:
org.jhotdraw8.base.converter.Converter<BezierPath>,CssConverter<BezierPath>
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 TypeMethodDescriptionparseNonNull(@NonNull CssTokenizer tt, @Nullable org.jhotdraw8.base.converter.IdResolver idResolver) protected <TT extends BezierPath>
voidproduceTokensNonNull(@NonNull TT value, @Nullable org.jhotdraw8.base.converter.IdSupplier idSupplier, @NonNull 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
-
BezierPathCssConverter
public BezierPathCssConverter(boolean nullable)
-
-
Method Details
-
parseNonNull
public @NonNull BezierPath parseNonNull(@NonNull CssTokenizer tt, @Nullable org.jhotdraw8.base.converter.IdResolver idResolver) throws ParseException, IOException - Specified by:
parseNonNullin interfaceCssConverter<BezierPath>- Specified by:
parseNonNullin classAbstractCssConverter<BezierPath>- Throws:
ParseExceptionIOException
-
produceTokensNonNull
protected <TT extends BezierPath> void produceTokensNonNull(@NonNull TT value, @Nullable org.jhotdraw8.base.converter.IdSupplier idSupplier, @NonNull Consumer<CssToken> out) - Specified by:
produceTokensNonNullin classAbstractCssConverter<BezierPath>
-
getHelpText
-