Class StringOrIdentStyleableKey

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

public class StringOrIdentStyleableKey extends AbstractStyleableKey<String> implements WritableStyleableMapAccessor<String>, NonNullKey<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(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(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