java.lang.Object
org.jhotdraw8.fxcollection.typesafekey.AbstractKey<String>
org.jhotdraw8.draw.key.AbstractStyleableKey<String>
org.jhotdraw8.draw.key.StringReadOnlyStyleableKey
- All Implemented Interfaces:
ReadOnlyStyleableMapAccessor<String>,Key<String>,MapAccessor<String>
public class StringReadOnlyStyleableKey
extends AbstractStyleableKey<String>
implements ReadOnlyStyleableMapAccessor<String>
StringStyleableKey.
XXX - A key should not define whether the user can edit the property in an inspector or not.
- Author:
- Werner Randelshofer
-
Constructor Summary
ConstructorsConstructorDescriptionCreates a new instance with the specified name and with an empty String as the default value.StringReadOnlyStyleableKey(@NonNull String name, String defaultValue) Creates a new instance with the specified name and default value.StringReadOnlyStyleableKey(@NonNull String name, String defaultValue, String helpText) Creates a new instance with the specified name, and default value. -
Method Summary
Modifier and TypeMethodDescriptionMethods inherited from class org.jhotdraw8.draw.key.AbstractStyleableKey
getCssName, getCssNamespaceMethods 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, get, get, getValue, getValueProperty, isAssignable, isDefault, 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.fxbase.styleable.ReadOnlyStyleableMapAccessor
getCssName, getCssNamespace
-
Constructor Details
-
StringReadOnlyStyleableKey
Creates a new instance with the specified name and with an empty String as the default value.- Parameters:
name- The name of the key.
-
StringReadOnlyStyleableKey
Creates a new instance with the specified name and default value.- Parameters:
name- The name of the key.defaultValue- The default value.
-
StringReadOnlyStyleableKey
Creates a new instance with the specified name, and default value.- Parameters:
name- The name of the key.defaultValue- The default value.helpText- the help text
-
-
Method Details
-
getCssConverter
- Specified by:
getCssConverterin interfaceReadOnlyStyleableMapAccessor<String>
-