Class ObservableMapBuffering<K,E>

java.lang.Object
javafx.beans.binding.MapExpression<K,E>
javafx.beans.property.ReadOnlyMapProperty<K,E>
javafx.beans.property.MapProperty<K,E>
javafx.beans.property.MapPropertyBase<K,E>
javafx.beans.property.SimpleMapProperty<K,E>
com.ben12.reta.beans.property.buffering.ObservableMapBuffering<K,E>
Type Parameters:
K - map key type
E - map value type
All Implemented Interfaces:
Buffering<javafx.collections.ObservableMap<K,E>>, BeanPropertyValidation<javafx.collections.ObservableMap<K,E>>, PropertyValidation, Map<K,E>, javafx.beans.Observable, javafx.beans.property.Property<javafx.collections.ObservableMap<K,E>>, javafx.beans.property.ReadOnlyProperty<javafx.collections.ObservableMap<K,E>>, javafx.beans.value.ObservableMapValue<K,E>, javafx.beans.value.ObservableObjectValue<javafx.collections.ObservableMap<K,E>>, javafx.beans.value.ObservableValue<javafx.collections.ObservableMap<K,E>>, javafx.beans.value.WritableMapValue<K,E>, javafx.beans.value.WritableObjectValue<javafx.collections.ObservableMap<K,E>>, javafx.beans.value.WritableValue<javafx.collections.ObservableMap<K,E>>, javafx.collections.ObservableMap<K,E>

public class ObservableMapBuffering<K,E> extends javafx.beans.property.SimpleMapProperty<K,E> implements Buffering<javafx.collections.ObservableMap<K,E>>, BeanPropertyValidation<javafx.collections.ObservableMap<K,E>>
Observable map buffering.
Author:
BenoƮt Moreau (ben.12)
  • Property Summary

    Properties
    Type
    Property
    Description
    javafx.beans.property.BooleanProperty
    Map is buffering.
    javafx.beans.property.StringProperty
    Map validity info.
    javafx.beans.property.BooleanProperty
    Map validity.

    Properties inherited from class javafx.beans.property.MapPropertyBase

    empty, size
  • Nested Class Summary

    Nested classes/interfaces inherited from interface java.util.Map

    Map.Entry<K,V>
  • Field Summary

    Fields inherited from interface com.ben12.reta.beans.property.validation.BeanPropertyValidation

    DEFAULT_VALIDATOR
  • Constructor Summary

    Constructors
    Constructor
    Description
    ObservableMapBuffering(Class<?> newBeanType, String newPropertyName, javafx.collections.ObservableMap<K,E> newSubject)
     
    ObservableMapBuffering(javafx.collections.ObservableMap<K,E> newSubject)
     
  • Method Summary

    Modifier and Type
    Method
    Description
    javafx.beans.property.BooleanProperty
    Map is buffering.
    void
    Commits change.
     
     
    javafx.collections.ObservableMap<K,E>
     
    javafx.beans.property.StringProperty
    Map validity info.
    boolean
     
    void
    Reverts change.
    void
    setEqualsBuffering(boolean newEqualsBuffering)
     
    javafx.beans.property.BooleanProperty
    Map validity.

    Methods inherited from class javafx.beans.property.SimpleMapProperty

    getBean, getName

    Methods inherited from class javafx.beans.property.MapPropertyBase

    addListener, addListener, addListener, bind, emptyProperty, fireValueChangedEvent, fireValueChangedEvent, get, invalidated, isBound, removeListener, removeListener, removeListener, set, sizeProperty, toString, unbind

    Methods inherited from class javafx.beans.property.MapProperty

    bindBidirectional, setValue, unbindBidirectional

    Methods inherited from class javafx.beans.property.ReadOnlyMapProperty

    bindContent, bindContentBidirectional, equals, hashCode, unbindContent, unbindContentBidirectional

    Methods inherited from class javafx.beans.binding.MapExpression

    asString, clear, containsKey, containsValue, entrySet, get, getSize, getValue, isEmpty, isEqualTo, isNotEqualTo, isNotNull, isNull, keySet, mapExpression, put, putAll, remove, size, valueAt, valueAt, values

    Methods inherited from class java.lang.Object

    clone, finalize, getClass, notify, notifyAll, wait, wait, wait

    Methods inherited from interface com.ben12.reta.beans.property.validation.BeanPropertyValidation

    get, validate

    Methods inherited from interface com.ben12.reta.beans.property.buffering.Buffering

    isBuffering

    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 com.ben12.reta.beans.property.validation.PropertyValidation

    bindValidation, unbindValidation

    Methods inherited from interface javafx.beans.value.WritableValue

    getValue
  • Property Details

  • Constructor Details

    • ObservableMapBuffering

      public ObservableMapBuffering(javafx.collections.ObservableMap<K,E> newSubject)
      Parameters:
      newSubject - subject map to buffer
    • ObservableMapBuffering

      public ObservableMapBuffering(Class<?> newBeanType, String newPropertyName, javafx.collections.ObservableMap<K,E> newSubject)
      Parameters:
      newBeanType - bean type
      newPropertyName - bean property name
      newSubject - property value
  • Method Details