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:
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
-
Field Summary
Fields inherited from class org.jhotdraw8.draw.key.AbstractReadOnlyStyleableKey
converterFields inherited from interface org.jhotdraw8.fxcollection.typesafekey.Key
serialVersionUIDFields inherited from interface org.jhotdraw8.fxcollection.typesafekey.NonNullMapAccessor
serialVersionUIDFields inherited from interface org.jhotdraw8.fxbase.styleable.ReadOnlyStyleableMapAccessor
serialVersionUIDFields inherited from interface org.jhotdraw8.fxbase.styleable.WritableStyleableMapAccessor
serialVersionUID -
Constructor Summary
ConstructorsConstructorDescriptionNonNullListStyleableKey(String name, Type elementType, CssConverter<T> elementConverter) Creates a new instance with the specified name and with an empty list as the default value.NonNullListStyleableKey(String name, Type elementType, CssConverter<T> elementConverter, ImmutableList<T> defaultValue) Creates a new instance with the specified name, mask and default value.NonNullListStyleableKey(String xmlName, String cssName, Type elementType, CssConverter<T> elementConverter, @Nullable String delimiter, @Nullable String prefix, @Nullable String suffix, ImmutableList<T> defaultValue) NonNullListStyleableKey(String xmlName, String cssName, Type elementType, CssConverter<T> elementConverter, @Nullable String delimiter, ImmutableList<T> defaultValue) NonNullListStyleableKey(String xmlName, String cssName, Type elementType, CssConverter<T> elementConverter, ImmutableList<T> defaultValue) -
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
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(String name, Type elementType, CssConverter<T> elementConverter, 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
public NonNullListStyleableKey(String xmlName, String cssName, Type elementType, CssConverter<T> elementConverter, ImmutableList<T> defaultValue) -
NonNullListStyleableKey
public NonNullListStyleableKey(String xmlName, String cssName, Type elementType, CssConverter<T> elementConverter, @Nullable String delimiter, ImmutableList<T> defaultValue) -
NonNullListStyleableKey
public NonNullListStyleableKey(String xmlName, String cssName, Type elementType, CssConverter<T> elementConverter, @Nullable String delimiter, @Nullable String prefix, @Nullable String suffix, ImmutableList<T> defaultValue)
-