![JAR search and dependency download from the Maven repository](/logo.png)
org.fxmisc.richtext.PropertyCssMetaData Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of richtextfx Show documentation
Show all versions of richtextfx Show documentation
Rich-text area for JavaFX
The newest version!
package org.fxmisc.richtext;
import javafx.css.CssMetaData;
import javafx.css.StyleConverter;
import javafx.css.Styleable;
import javafx.css.StyleableObjectProperty;
import javafx.css.StyleableProperty;
public class PropertyCssMetaData extends CssMetaData {
private final StyleableObjectProperty property;
public PropertyCssMetaData(
StyleableObjectProperty property,
String cssProperty,
StyleConverter, V> converter,
V initialValue) {
super(cssProperty, converter, initialValue);
this.property = property;
}
@Override
public boolean isSettable(S node) {
return !property.isBound();
}
@Override
public StyleableProperty getStyleableProperty(S node) {
return property;
}
}
© 2015 - 2025 Weber Informatics LLC | Privacy Policy