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@Nullable Stringjavafx.scene.shape.PathparseNonNull(CssTokenizer tt, @Nullable org.jhotdraw8.base.converter.IdResolver idResolver) protected <TT extends javafx.scene.shape.Path>
voidproduceTokensNonNull(TT value, @Nullable org.jhotdraw8.base.converter.IdSupplier idSupplier, 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 javafx.scene.shape.Path parseNonNull(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(TT value, @Nullable org.jhotdraw8.base.converter.IdSupplier idSupplier, Consumer<CssToken> out) - Specified by:
produceTokensNonNullin classAbstractCssConverter<javafx.scene.shape.Path>
-
getHelpText
-
getDefaultValue
public @Nullable javafx.scene.shape.Path getDefaultValue()- Specified by:
getDefaultValuein interfaceorg.jhotdraw8.base.converter.Converter<javafx.scene.shape.Path>- Overrides:
getDefaultValuein classAbstractCssConverter<javafx.scene.shape.Path>
-