Create a StyleableProperty<Duration>. The initial value defaults to Duration.BLACK and the inherit flag defaults to false.
styleable | The this reference of the returned property. This is also the property bean. | |
propertyName | The field name of the StyleableProperty<Duration> | |
cssProperty | The CSS property name | |
function | A function that returns the StyleableProperty<Duration> that was created by this method call. |
Diagram: StyleablePropertyFactory