Package net.officefloor.gef.ide.javafx
Class CssParserJavaFacet
- java.lang.Object
-
- net.officefloor.gef.ide.javafx.CssParserJavaFacet
-
-
Constructor Summary
Constructors Constructor Description CssParserJavaFacet()
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description static javafx.beans.property.Property<java.lang.String>cssErrorProperty(javafx.beans.property.Property<java.lang.String> style, javafx.beans.property.Property<java.lang.String> styleUpdater)Creates aPropertyto listen on CSS errors for the style.booleanisSupported(JavaFacetContext context)Indicates if the facet is supported.static javafx.beans.property.Property<java.lang.String>translateProperty(javafx.beans.property.Property<java.lang.String> rawStyle, java.util.function.Function<java.lang.String,java.lang.String> translator)Translates theProperty.-
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
-
Methods inherited from interface net.officefloor.frame.compatibility.JavaFacet
isSupported
-
-
-
-
Method Detail
-
translateProperty
public static javafx.beans.property.Property<java.lang.String> translateProperty(javafx.beans.property.Property<java.lang.String> rawStyle, java.util.function.Function<java.lang.String,java.lang.String> translator)Translates theProperty.- Parameters:
rawStyle- Raw style.translator- Translator. May benull.- Returns:
- Translated
Property.
-
cssErrorProperty
public static javafx.beans.property.Property<java.lang.String> cssErrorProperty(javafx.beans.property.Property<java.lang.String> style, javafx.beans.property.Property<java.lang.String> styleUpdater)Creates aPropertyto listen on CSS errors for the style.- Parameters:
style-Propertyspecifying the style.styleUpdater- Updates the Style.- Returns:
Propertyfor CSS errors.
-
isSupported
public boolean isSupported(JavaFacetContext context) throws java.lang.Exception
Description copied from interface:JavaFacetIndicates if the facet is supported.- Specified by:
isSupportedin interfaceJavaFacet- Parameters:
context-JavaFacetContext.- Returns:
trueif the facet is supported.- Throws:
java.lang.Exception- If fails to determine if facet is supported.
-
-