Package org.fxmisc.richtext
Class CustomStyleableProperty<T>
- java.lang.Object
-
- javafx.beans.binding.ObjectExpression<T>
-
- javafx.beans.property.ReadOnlyObjectProperty<T>
-
- javafx.beans.property.ObjectProperty<T>
-
- javafx.beans.property.ObjectPropertyBase<T>
-
- javafx.css.StyleableObjectProperty<T>
-
- org.fxmisc.richtext.CustomStyleableProperty<T>
-
- All Implemented Interfaces:
Observable,Property<T>,ReadOnlyProperty<T>,ObservableObjectValue<T>,ObservableValue<T>,WritableObjectValue<T>,WritableValue<T>,StyleableProperty<T>
public class CustomStyleableProperty<T> extends StyleableObjectProperty<T>
Reduces the boilerplate when creating a custom CSS property (i.e.StyleableProperty).
-
-
Constructor Summary
Constructors Constructor Description CustomStyleableProperty(T initialValue, String name, Object bean, CssMetaData<? extends Styleable,T> cssMetaData)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description ObjectgetBean()CssMetaData<? extends Styleable,T>getCssMetaData()StringgetName()-
Methods inherited from class javafx.css.StyleableObjectProperty
applyStyle, bind, getStyleOrigin, set
-
Methods inherited from class javafx.beans.property.ObjectPropertyBase
addListener, addListener, fireValueChangedEvent, get, invalidated, isBound, removeListener, removeListener, toString, unbind
-
Methods inherited from class javafx.beans.property.ObjectProperty
bindBidirectional, setValue, unbindBidirectional
-
Methods inherited from class javafx.beans.binding.ObjectExpression
asString, asString, asString, getValue, isEqualTo, isEqualTo, isNotEqualTo, isNotEqualTo, isNotNull, isNull, objectExpression
-
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
-
Methods inherited from interface javafx.beans.value.ObservableValue
flatMap, getValue, map, orElse
-
Methods inherited from interface javafx.beans.value.WritableValue
getValue, setValue
-
-
-
-
Method Detail
-
getBean
public Object getBean()
-
getName
public String getName()
-
getCssMetaData
public CssMetaData<? extends Styleable,T> getCssMetaData()
-
-