Class ObservableSetBuffering<E>
java.lang.Object
javafx.beans.binding.SetExpression<E>
javafx.beans.property.ReadOnlySetProperty<E>
javafx.beans.property.SetProperty<E>
javafx.beans.property.SetPropertyBase<E>
javafx.beans.property.SimpleSetProperty<E>
com.ben12.reta.beans.property.buffering.ObservableSetBuffering<E>
- Type Parameters:
E- set elements type
- All Implemented Interfaces:
Buffering<javafx.collections.ObservableSet<E>>,BeanPropertyValidation<javafx.collections.ObservableSet<E>>,PropertyValidation,Iterable<E>,Collection<E>,Set<E>,javafx.beans.Observable,javafx.beans.property.Property<javafx.collections.ObservableSet<E>>,javafx.beans.property.ReadOnlyProperty<javafx.collections.ObservableSet<E>>,javafx.beans.value.ObservableObjectValue<javafx.collections.ObservableSet<E>>,javafx.beans.value.ObservableSetValue<E>,javafx.beans.value.ObservableValue<javafx.collections.ObservableSet<E>>,javafx.beans.value.WritableObjectValue<javafx.collections.ObservableSet<E>>,javafx.beans.value.WritableSetValue<E>,javafx.beans.value.WritableValue<javafx.collections.ObservableSet<E>>,javafx.collections.ObservableSet<E>
public class ObservableSetBuffering<E>
extends javafx.beans.property.SimpleSetProperty<E>
implements Buffering<javafx.collections.ObservableSet<E>>, BeanPropertyValidation<javafx.collections.ObservableSet<E>>
Observable set buffering.
- Author:
- BenoƮt Moreau (ben.12)
-
Property Summary
PropertiesTypePropertyDescriptionjavafx.beans.property.BooleanPropertySet is buffering.javafx.beans.property.StringPropertySet validity info.javafx.beans.property.BooleanPropertySet validity.Properties inherited from class javafx.beans.property.SetPropertyBase
empty, size -
Field Summary
Fields inherited from interface com.ben12.reta.beans.property.validation.BeanPropertyValidation
DEFAULT_VALIDATOR -
Constructor Summary
ConstructorsConstructorDescriptionObservableSetBuffering(Class<?> newBeanType, String newPropertyName, javafx.collections.ObservableSet<E> newSubject) ObservableSetBuffering(javafx.collections.ObservableSet<E> newSubject) -
Method Summary
Modifier and TypeMethodDescriptionjavafx.beans.property.BooleanPropertySet is buffering.voidcommit()Commits change.Class<?> javafx.collections.ObservableSet<E> javafx.beans.property.StringPropertySet validity info.booleanvoidrevert()Reverts change.voidsetEqualsBuffering(boolean newEqualsBuffering) javafx.beans.property.BooleanPropertySet validity.Methods inherited from class javafx.beans.property.SimpleSetProperty
getBean, getNameMethods inherited from class javafx.beans.property.SetPropertyBase
addListener, addListener, addListener, bind, emptyProperty, fireValueChangedEvent, fireValueChangedEvent, get, invalidated, isBound, removeListener, removeListener, removeListener, set, sizeProperty, toString, unbindMethods inherited from class javafx.beans.property.SetProperty
bindBidirectional, setValue, unbindBidirectionalMethods inherited from class javafx.beans.property.ReadOnlySetProperty
bindContent, bindContentBidirectional, equals, hashCode, unbindContent, unbindContentBidirectionalMethods inherited from class javafx.beans.binding.SetExpression
add, addAll, asString, clear, contains, containsAll, getSize, getValue, isEmpty, isEqualTo, isNotEqualTo, isNotNull, isNull, iterator, remove, removeAll, retainAll, setExpression, size, toArray, toArrayMethods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, wait, wait, waitMethods inherited from interface com.ben12.reta.beans.property.validation.BeanPropertyValidation
get, validateMethods inherited from interface com.ben12.reta.beans.property.buffering.Buffering
isBufferingMethods inherited from interface java.util.Collection
parallelStream, removeIf, stream, toArrayMethods inherited from interface javafx.beans.Observable
subscribeMethods inherited from interface javafx.beans.value.ObservableValue
flatMap, getValue, map, orElse, subscribe, subscribe, whenMethods inherited from interface com.ben12.reta.beans.property.validation.PropertyValidation
bindValidation, unbindValidationMethods inherited from interface java.util.Set
add, addAll, clear, contains, containsAll, equals, hashCode, isEmpty, iterator, remove, removeAll, retainAll, size, spliterator, toArray, toArrayMethods inherited from interface javafx.beans.value.WritableValue
getValue
-
Property Details
-
validity
public javafx.beans.property.BooleanProperty validityPropertySet validity.- Specified by:
validityPropertyin interfacePropertyValidation- Returns:
- Validity property
- See Also:
-
infoValidity
public javafx.beans.property.StringProperty infoValidityPropertySet validity info.- Specified by:
infoValidityPropertyin interfacePropertyValidation- Returns:
- Validation info property
- See Also:
-
buffering
public javafx.beans.property.BooleanProperty bufferingPropertySet is buffering.- Specified by:
bufferingPropertyin interfaceBuffering<E>- Returns:
- buffering property
- See Also:
-
-
Constructor Details
-
ObservableSetBuffering
- Parameters:
newSubject- subject set to buffer
-
ObservableSetBuffering
public ObservableSetBuffering(Class<?> newBeanType, String newPropertyName, javafx.collections.ObservableSet<E> newSubject) - Parameters:
newBeanType- bean typenewPropertyName- bean property namenewSubject- property value
-
-
Method Details
-
getBeanType
- Specified by:
getBeanTypein interfaceBeanPropertyValidation<E>- Returns:
- bean type containing the value to validate
-
getPropertyName
- Specified by:
getPropertyNamein interfaceBeanPropertyValidation<E>- Returns:
- property name in the
BeanPropertyValidation.getBeanType()to validate
-
validityProperty
public javafx.beans.property.BooleanProperty validityProperty()Set validity.- Specified by:
validityPropertyin interfacePropertyValidation- Returns:
- the
validityproperty
-
infoValidityProperty
public javafx.beans.property.StringProperty infoValidityProperty()Set validity info.- Specified by:
infoValidityPropertyin interfacePropertyValidation- Returns:
- the
infoValidityproperty
-
getSubject
- Specified by:
getSubjectin interfaceBuffering<E>- Returns:
- buffered subject
-
isEqualsBuffering
public boolean isEqualsBuffering()- Specified by:
isEqualsBufferingin interfaceBuffering<E>- Returns:
- use equals method for check buffering
-
setEqualsBuffering
public void setEqualsBuffering(boolean newEqualsBuffering) - Specified by:
setEqualsBufferingin interfaceBuffering<E>- Parameters:
newEqualsBuffering- true for use equals method for check buffering, use == otherwise
-
bufferingProperty
public javafx.beans.property.BooleanProperty bufferingProperty()Set is buffering.- Specified by:
bufferingPropertyin interfaceBuffering<E>- Returns:
- the
bufferingproperty - See Also:
-
commit
public void commit()Description copied from interface:BufferingCommits change. -
revert
public void revert()Description copied from interface:BufferingReverts change.
-