Class StringReadOnlyStyleableKey

All Implemented Interfaces:
Serializable, 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
See Also:
  • Constructor Details

    • StringReadOnlyStyleableKey

      public StringReadOnlyStyleableKey(@NonNull String name)
      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

      public StringReadOnlyStyleableKey(@NonNull String name, String defaultValue)
      Creates a new instance with the specified name and default value.
      Parameters:
      name - The name of the key.
      defaultValue - The default value.
    • StringReadOnlyStyleableKey

      public StringReadOnlyStyleableKey(@NonNull String name, String defaultValue, String helpText)
      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