Module MaterialFX

Class ConsumerProperty<T>

Type Parameters:
T - the consumer's input type
All Implemented Interfaces:
Observable, Property<Consumer<T>>, ReadOnlyProperty<Consumer<T>>, ObservableObjectValue<Consumer<T>>, ObservableValue<Consumer<T>>, WritableObjectValue<Consumer<T>>, WritableValue<Consumer<T>>

public class ConsumerProperty<T> extends SimpleObjectProperty<Consumer<T>>
Simply an ObjectProperty that wraps a Consumer.
  • Constructor Details

    • ConsumerProperty

      public ConsumerProperty()
    • ConsumerProperty

      public ConsumerProperty(Consumer<T> initialValue)
    • ConsumerProperty

      public ConsumerProperty(Object bean, String name)
    • ConsumerProperty

      public ConsumerProperty(Object bean, String name, Consumer<T> initialValue)