Class ValueSetAttribute<T,A extends Attribute<java.util.Set<T>,A>>
- java.lang.Object
-
- io.github.factoryfx.factory.attribute.Attribute<T,A>
-
- io.github.factoryfx.factory.attribute.ImmutableValueAttribute<java.util.Set<T>,A>
-
- io.github.factoryfx.factory.attribute.ValueSetAttribute<T,A>
-
- All Implemented Interfaces:
AttributeCopy<java.util.Set<T>>,AttributeMatch<java.util.Set<T>>,AttributeMerger<java.util.Set<T>>,AttributeValue<java.util.Set<T>>,java.lang.Iterable<T>,java.util.Collection<T>,java.util.Set<T>
- Direct Known Subclasses:
StringSetAttribute
public abstract class ValueSetAttribute<T,A extends Attribute<java.util.Set<T>,A>> extends ImmutableValueAttribute<java.util.Set<T>,A> implements java.util.Set<T>
-
-
Field Summary
-
Fields inherited from class io.github.factoryfx.factory.attribute.ImmutableValueAttribute
value
-
-
Constructor Summary
Constructors Modifier Constructor Description protectedValueSetAttribute()ValueSetAttribute(java.lang.Class<T> itemType)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description booleanadd(T t)booleanaddAll(java.util.Collection<? extends T> c)voidclear()booleancontains(java.lang.Object o)booleancontainsAll(java.util.Collection<?> c)java.lang.StringgetDisplayText()booleanisEmpty()java.util.Iterator<T>iterator()booleanremove(java.lang.Object o)booleanremoveAll(java.util.Collection<?> c)booleanretainAll(java.util.Collection<?> c)voidset(java.util.Set<T> value)intsize()java.lang.Object[]toArray()<T1> T1[]toArray(T1[] a)-
Methods inherited from class io.github.factoryfx.factory.attribute.ImmutableValueAttribute
defaultValue, get, getNullable, getValue, internal_addBackReferences, internal_copyTo, internal_mergeMatch, internal_required, internal_reset, internal_semanticCopyTo, internal_validate, nullable, setValue
-
Methods inherited from class io.github.factoryfx.factory.attribute.Attribute
addonText, createAttributeStorageMetadata, de, en, es, fr, internal_addListener, internal_endUsage, internal_getAddonText, internal_getListeners, internal_getPreferredLabelText, internal_getPreferredTooltipText, internal_hasWritePermission, internal_isUserReadOnly, internal_merge, internal_removeAllListener, internal_removeListener, it, labelText, labelText, listenersEmpty, permission, pt, tooltipDe, tooltipEn, updateListeners, userReadOnly, userReadOnly, validation
-
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
-
Methods inherited from interface io.github.factoryfx.factory.attribute.AttributeMatch
internal_referenceEquals, internal_referenceListEquals
-
Methods inherited from interface io.github.factoryfx.factory.attribute.AttributeMerger
internal_mergeFactoryList
-
-
-
-
Constructor Detail
-
ValueSetAttribute
public ValueSetAttribute(java.lang.Class<T> itemType)
-
ValueSetAttribute
protected ValueSetAttribute()
-
-
Method Detail
-
getDisplayText
public java.lang.String getDisplayText()
- Overrides:
getDisplayTextin classImmutableValueAttribute<java.util.Set<T>,A extends Attribute<java.util.Set<T>,A>>
-
set
public void set(java.util.Set<T> value)
- Specified by:
setin interfaceAttributeCopy<T>- Specified by:
setin interfaceAttributeValue<T>- Overrides:
setin classImmutableValueAttribute<java.util.Set<T>,A extends Attribute<java.util.Set<T>,A>>
-
size
public int size()
-
isEmpty
public boolean isEmpty()
-
contains
public boolean contains(java.lang.Object o)
-
iterator
public java.util.Iterator<T> iterator()
-
toArray
public java.lang.Object[] toArray()
-
toArray
public <T1> T1[] toArray(T1[] a)
-
add
public boolean add(T t)
-
remove
public boolean remove(java.lang.Object o)
-
containsAll
public boolean containsAll(java.util.Collection<?> c)
-
addAll
public boolean addAll(java.util.Collection<? extends T> c)
-
retainAll
public boolean retainAll(java.util.Collection<?> c)
-
removeAll
public boolean removeAll(java.util.Collection<?> c)
-
-