private static class StyleablePropertyFactory.SimpleCssMetaData<S extends Styleable,V> extends CssMetaData<S,V>
| Modifier and Type | Field and Description |
|---|---|
private java.util.function.Function<S,StyleableProperty<V>> |
function |
| Constructor and Description |
|---|
SimpleCssMetaData(java.lang.String property,
java.util.function.Function<S,StyleableProperty<V>> function,
StyleConverter<?,V> converter,
V initialValue,
boolean inherits) |
| Modifier and Type | Method and Description |
|---|---|
StyleableProperty<V> |
getStyleableProperty(S styleable)
Return the corresponding
StyleableProperty for the given Node. |
boolean |
isSettable(S styleable)
Check to see if the corresponding property on the given Node is
settable.
|
equals, getConverter, getInitialValue, getProperty, getSubProperties, hashCode, isInherits, set, toStringprivate final java.util.function.Function<S extends Styleable,StyleableProperty<V>> function
SimpleCssMetaData(java.lang.String property,
java.util.function.Function<S,StyleableProperty<V>> function,
StyleConverter<?,V> converter,
V initialValue,
boolean inherits)
public final boolean isSettable(S styleable)
CssMetaDataisSettable in class CssMetaData<S extends Styleable,V>styleable - The Styleable on which the property value is being setpublic final StyleableProperty<V> getStyleableProperty(S styleable)
StyleableProperty for the given Node.
Note that calling this method will cause the property to be expanded.getStyleableProperty in class CssMetaData<S extends Styleable,V>styleable - The Styleable for which the property is returned