Class StringOrIdentStyleableKey

All Implemented Interfaces:
ReadOnlyStyleableMapAccessor<String>, WritableStyleableMapAccessor<@NonNull String>, Key<String>, MapAccessor<String>, NonNullKey<@NonNull String>, NonNullMapAccessor<String>

public class StringOrIdentStyleableKey extends AbstractStyleableKey<@NonNull String> implements WritableStyleableMapAccessor<@NonNull String>, NonNullKey<@NonNull String>
This key has a string value which can be given as a CSS "IDENT"-token or as a CSS "STRING"-token.
Author:
Werner Randelshofer
  • Constructor Details

    • StringOrIdentStyleableKey

      public StringOrIdentStyleableKey(@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.
    • StringOrIdentStyleableKey

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