Class KeyMapEntryStyleableProperty<T>

java.lang.Object
javafx.beans.binding.ObjectExpression<T>
javafx.beans.property.ReadOnlyObjectProperty<T>
javafx.beans.property.ObjectProperty<T>
javafx.beans.property.ObjectPropertyBase<T>
org.jhotdraw8.fxbase.styleable.KeyMapEntryStyleableProperty<T>
Type Parameters:
T - the type of the value
All Implemented Interfaces:
javafx.beans.Observable, javafx.beans.property.Property<T>, javafx.beans.property.ReadOnlyProperty<T>, javafx.beans.value.ObservableObjectValue<T>, javafx.beans.value.ObservableValue<T>, javafx.beans.value.WritableObjectValue<T>, javafx.beans.value.WritableValue<T>, javafx.css.StyleableProperty<T>

public class KeyMapEntryStyleableProperty<T> extends javafx.beans.property.ObjectPropertyBase<T> implements javafx.css.StyleableProperty<T>
KeyMapEntryStyleableProperty.
Author:
Werner Randelshofer
  • Constructor Summary

    Constructors
    Constructor
    Description
    KeyMapEntryStyleableProperty(Object bean, javafx.collections.ObservableMap<Key<?>,Object> mapp, WritableStyleableMapAccessor<T> key, String name, javafx.css.CssMetaData<?,T> metaData)
     
    KeyMapEntryStyleableProperty(javafx.beans.property.ReadOnlyMapProperty<Key<?>,Object> mapp, WritableStyleableMapAccessor<T> key, String name, javafx.css.CssMetaData<?,T> metaData)
     
  • Method Summary

    Modifier and Type
    Method
    Description
    void
    applyStyle(javafx.css.StyleOrigin origin, T value)
    This method is called from CSS code to set the value of the property.
     
    javafx.css.CssMetaData<?,T>
     
     
    @Nullable javafx.css.StyleOrigin
     

    Methods inherited from class javafx.beans.property.ObjectPropertyBase

    addListener, addListener, bind, fireValueChangedEvent, get, invalidated, isBound, removeListener, removeListener, set, 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.Observable

    subscribe

    Methods inherited from interface javafx.beans.value.ObservableValue

    flatMap, getValue, map, orElse, subscribe, subscribe, when

    Methods inherited from interface javafx.beans.value.WritableValue

    getValue, setValue
  • Constructor Details

  • Method Details

    • getBean

      public Object getBean()
      Specified by:
      getBean in interface javafx.beans.property.ReadOnlyProperty<T>
    • getName

      public String getName()
      Specified by:
      getName in interface javafx.beans.property.ReadOnlyProperty<T>
    • getCssMetaData

      public javafx.css.CssMetaData<?,T> getCssMetaData()
      Specified by:
      getCssMetaData in interface javafx.css.StyleableProperty<T>
    • applyStyle

      public void applyStyle(javafx.css.StyleOrigin origin, T value)
      This method is called from CSS code to set the value of the property.
      Specified by:
      applyStyle in interface javafx.css.StyleableProperty<T>
      Parameters:
      origin - the style origin
      value - the value null removes the key from the style origin
    • getStyleOrigin

      public @Nullable javafx.css.StyleOrigin getStyleOrigin()
      Specified by:
      getStyleOrigin in interface javafx.css.StyleableProperty<T>