java.lang.Object
org.jhotdraw8.fxcollection.typesafekey.AbstractKey<ImmutableList<T>>
org.jhotdraw8.draw.key.AbstractReadOnlyStyleableKey<ImmutableList<T>>
org.jhotdraw8.draw.key.NonNullListStyleableKey<T>
- Type Parameters:
T- the element type of the list
- All Implemented Interfaces:
Serializable,ReadOnlyStyleableMapAccessor<ImmutableList<T>>,WritableStyleableMapAccessor<ImmutableList<T>>,Key<ImmutableList<T>>,MapAccessor<ImmutableList<T>>,NonNullKey<ImmutableList<T>>,NonNullMapAccessor<ImmutableList<T>>
public class NonNullListStyleableKey<T>
extends AbstractReadOnlyStyleableKey<ImmutableList<T>>
implements WritableStyleableMapAccessor<ImmutableList<T>>, NonNullKey<ImmutableList<T>>
NonNullListStyleableKey.
- Author:
- Werner Randelshofer
- See Also:
-
Field Summary
Fields inherited from class org.jhotdraw8.draw.key.AbstractReadOnlyStyleableKey
converter -
Constructor Summary
ConstructorsConstructorDescriptionNonNullListStyleableKey(@NonNull String xmlName, @NonNull String cssName, @NonNull Type elementType, @NonNull CssConverter<T> elementConverter, @Nullable String delimiter, @Nullable String prefix, @Nullable String suffix, @NonNull ImmutableList<T> defaultValue) NonNullListStyleableKey(@NonNull String xmlName, @NonNull String cssName, @NonNull Type elementType, @NonNull CssConverter<T> elementConverter, @Nullable String delimiter, @NonNull ImmutableList<T> defaultValue) NonNullListStyleableKey(@NonNull String xmlName, @NonNull String cssName, @NonNull Type elementType, @NonNull CssConverter<T> elementConverter, @NonNull ImmutableList<T> defaultValue) NonNullListStyleableKey(@NonNull String name, @NonNull Type elementType, @NonNull CssConverter<T> elementConverter) Creates a new instance with the specified name and with an empty list as the default value.NonNullListStyleableKey(@NonNull String name, @NonNull Type elementType, @NonNull CssConverter<T> elementConverter, @NonNull ImmutableList<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
-
NonNullListStyleableKey
public NonNullListStyleableKey(@NonNull String name, @NonNull Type elementType, @NonNull CssConverter<T> elementConverter) Creates a new instance with the specified name and with an empty list as the default value.- Parameters:
name- The name of the key.elementType- the class of the typeelementConverter- String converter for a list element
-
NonNullListStyleableKey
public NonNullListStyleableKey(@NonNull String name, @NonNull Type elementType, @NonNull CssConverter<T> elementConverter, @NonNull ImmutableList<T> defaultValue) Creates a new instance with the specified name, mask and default value.- Parameters:
name- The name of the key.elementType- the class of the typeelementConverter- String converter for a list elementdefaultValue- The default value.
-
NonNullListStyleableKey
-
NonNullListStyleableKey
-
NonNullListStyleableKey
-