java.lang.Object
org.jhotdraw8.fxcollection.typesafekey.AbstractKey<ImmutableSequencedSet<T>>
org.jhotdraw8.draw.key.AbstractReadOnlyStyleableKey<ImmutableSequencedSet<T>>
org.jhotdraw8.draw.key.NonNullSetStyleableKey<T>
- Type Parameters:
T- the element type of the set
- All Implemented Interfaces:
Serializable,ReadOnlyStyleableMapAccessor<ImmutableSequencedSet<T>>,WritableStyleableMapAccessor<ImmutableSequencedSet<T>>,Key<ImmutableSequencedSet<T>>,MapAccessor<ImmutableSequencedSet<T>>,NonNullKey<ImmutableSequencedSet<T>>,NonNullMapAccessor<ImmutableSequencedSet<T>>
- Direct Known Subclasses:
WordSetStyleableKey
public class NonNullSetStyleableKey<T>
extends AbstractReadOnlyStyleableKey<ImmutableSequencedSet<T>>
implements WritableStyleableMapAccessor<ImmutableSequencedSet<T>>, NonNullKey<ImmutableSequencedSet<T>>
NonNullSetStyleableKey.
- Author:
- Werner Randelshofer
- See Also:
-
Field Summary
Fields inherited from class org.jhotdraw8.draw.key.AbstractReadOnlyStyleableKey
converter -
Constructor Summary
ConstructorsConstructorDescriptionNonNullSetStyleableKey(@NonNull String name, @NonNull Type type, @NonNull CssConverter<ImmutableSequencedSet<T>> converter) Creates a new instance with the specified name and with an empty list as the default value.NonNullSetStyleableKey(@NonNull String name, @NonNull Type type, @NonNull CssConverter<ImmutableSequencedSet<T>> converter, @NonNull ImmutableSequencedSet<T> defaultValue) Creates a new instance with the specified name, mask and default value. -
Method Summary
Methods inherited from class org.jhotdraw8.draw.key.AbstractReadOnlyStyleableKey
getCssConverter, getCssNameMethods inherited from class org.jhotdraw8.fxcollection.typesafekey.AbstractKey
getDefaultValue, getName, getValueType, isNullable, isTransient, toStringMethods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, waitMethods inherited from interface org.jhotdraw8.fxcollection.typesafekey.Key
cast, containsKey, getValue, getValueProperty, isAssignable, isDefault, isNullable, propertyAt, put, put, putValue, readOnlyPropertyAt, remove, remove, valueAtMethods inherited from interface org.jhotdraw8.fxcollection.typesafekey.MapAccessor
getDefaultValue, getName, getRawValueType, getValueType, isTransient, setMethods inherited from interface org.jhotdraw8.fxcollection.typesafekey.NonNullKey
get, getMethods inherited from interface org.jhotdraw8.fxcollection.typesafekey.NonNullMapAccessor
getDefaultValueNonNull, getNonNull, getNonNull, putNonNullMethods inherited from interface org.jhotdraw8.fxbase.styleable.ReadOnlyStyleableMapAccessor
getCssConverter, getCssName, getCssNamespaceMethods inherited from interface org.jhotdraw8.fxbase.styleable.WritableStyleableMapAccessor
getExamples
-
Constructor Details
-
NonNullSetStyleableKey
public NonNullSetStyleableKey(@NonNull String name, @NonNull Type type, @NonNull CssConverter<ImmutableSequencedSet<T>> converter) Creates a new instance with the specified name and with an empty list as the default value.- Parameters:
name- The name of the key.type- the class of the typeconverter- String converter for a list element
-
NonNullSetStyleableKey
public NonNullSetStyleableKey(@NonNull String name, @NonNull Type type, @NonNull CssConverter<ImmutableSequencedSet<T>> converter, @NonNull ImmutableSequencedSet<T> defaultValue) Creates a new instance with the specified name, mask and default value.- Parameters:
name- The name of the key.type- the class of the typeconverter- String converter for a list elementdefaultValue- The default value.
-