java.lang.Object
org.jhotdraw8.css.converter.AbstractCssConverter<javafx.scene.shape.Path>
org.jhotdraw8.draw.css.converter.FXPathCssConverter
- All Implemented Interfaces:
org.jhotdraw8.base.converter.Converter<javafx.scene.shape.Path>,CssConverter<javafx.scene.shape.Path>
Converts an SVG 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 javafx.scene.shape.Path@NonNull javafx.scene.shape.PathparseNonNull(@NonNull CssTokenizer tt, @Nullable org.jhotdraw8.base.converter.IdResolver idResolver) protected <TT extends javafx.scene.shape.Path>
voidproduceTokensNonNull(@NonNull TT value, @Nullable org.jhotdraw8.base.converter.IdSupplier idSupplier, @NonNull Consumer<CssToken> out) Methods inherited from class org.jhotdraw8.css.converter.AbstractCssConverter
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
-
FXPathCssConverter
public FXPathCssConverter(boolean nullable)
-
-
Method Details
-
parseNonNull
public @NonNull javafx.scene.shape.Path parseNonNull(@NonNull CssTokenizer tt, @Nullable org.jhotdraw8.base.converter.IdResolver idResolver) throws ParseException, IOException - Specified by:
parseNonNullin interfaceCssConverter<javafx.scene.shape.Path>- Specified by:
parseNonNullin classAbstractCssConverter<javafx.scene.shape.Path>- Throws:
ParseExceptionIOException
-
produceTokensNonNull
protected <TT extends javafx.scene.shape.Path> void produceTokensNonNull(@NonNull TT value, @Nullable org.jhotdraw8.base.converter.IdSupplier idSupplier, @NonNull Consumer<CssToken> out) - Specified by:
produceTokensNonNullin classAbstractCssConverter<javafx.scene.shape.Path>
-
getHelpText
-
getDefaultValue
- Specified by:
getDefaultValuein interfaceorg.jhotdraw8.base.converter.Converter<javafx.scene.shape.Path>- Overrides:
getDefaultValuein classAbstractCssConverter<javafx.scene.shape.Path>
-