- 
- Type Parameters:
- T- the specific property
 - All Superinterfaces:
- WritableValue<T>
 - All Known Implementing Classes:
- SimpleStyleableBooleanProperty,- SimpleStyleableDoubleProperty,- SimpleStyleableFloatProperty,- SimpleStyleableIntegerProperty,- SimpleStyleableLongProperty,- SimpleStyleableObjectProperty,- SimpleStyleableStringProperty,- StyleableBooleanProperty,- StyleableDoubleProperty,- StyleableFloatProperty,- StyleableIntegerProperty,- StyleableLongProperty,- StyleableObjectProperty,- StyleableStringProperty
 
 public interface StyleableProperty<T> extends WritableValue<T> StyleableProperty allows ajavafx.beans.propertyto be styled from CSS.This interface allows coordination between CSS processing and a javafx.beans.property. The implementation ensure that the priority for setting the value is, in increasing order and assuming equal importance:- a style from a user agent stylesheet in
 Application.setUserAgentStylesheet(java.lang.String)
- value set from code, for example calling Node.setOpacity(double)
- a style from an author stylesheet in Scene.getStylesheets()orParent.getStylesheets()
- a style from Node.setStyle(java.lang.String)
 The StyleablePropertyFactorygreatly simplifies creating a StyleableProperty and its corresponding CssMetaData.- Since:
- JavaFX 8.0
- See Also:
- StyleablePropertyFactory
 
- 
- 
Method SummaryAll Methods Instance Methods Abstract Methods Modifier and Type Method Description voidapplyStyle(StyleOrigin origin, T value)This method is called from CSS code to set the value of the property.CssMetaData<? extends Styleable,T>getCssMetaData()Reflect back the CssMetaData that corresponds to thisjavafx.beans.property.StyleablePropertyStyleOrigingetStyleOrigin()Tells the origin of the value of the property.- 
Methods inherited from interface javafx.beans.value.WritableValuegetValue, setValue
 
- 
 
- 
- 
- 
Method Detail- 
applyStylevoid applyStyle(StyleOrigin origin, T value) This method is called from CSS code to set the value of the property.- Parameters:
- origin- the origin
- value- the value
 
 - 
getStyleOriginStyleOrigin getStyleOrigin() Tells the origin of the value of the property. This is needed to determine whether or not CSS can override the value.- Returns:
- the style origin
 
 - 
getCssMetaDataCssMetaData<? extends Styleable,T> getCssMetaData() Reflect back the CssMetaData that corresponds to thisjavafx.beans.property.StyleableProperty- Returns:
- the corresponding CssMetaData
 
 
- 
 
-