Interface IThemeType.Builder<T extends ITheme>

Enclosing interface:
IThemeType<T extends ITheme>

public static interface IThemeType.Builder<T extends ITheme>
  • Method Details

    • property

      IThemeType.Builder<T> property(String name, int defaultValue)
      Creates a property of this theme type.

      A property is a field member of the theme implementation that will be set based on the theme configuration file.

      An input field will be generated in the theme editor screen with theme.waila.plugin_[typeNamespace].[typePath].[fieldName] as the translation key.

      Parameters:
      name - the name of the property
      defaultValue - the default value of this property
      See Also:
    • property

      IThemeType.Builder<T> property(String name, IntFormat format, int defaultValue)
      Creates a property of this theme type.

      A property is a field member of the theme implementation that will be set based on the theme configuration file.

      An input field will be generated in the theme editor screen with theme.waila.plugin_[typeNamespace].[typePath].[fieldName] as the translation key.

      Parameters:
      name - the name of the property
      format - the format to use on the input field on the theme editor
      defaultValue - the default value of this property
      See Also:
    • property

      IThemeType.Builder<T> property(String name, boolean defaultValue)
      Creates a property of this theme type.

      A property is a field member of the theme implementation that will be set based on the theme configuration file.

      An input field will be generated in the theme editor screen with theme.waila.plugin_[typeNamespace].[typePath].[fieldName] as the translation key.

      Parameters:
      name - the name of the property
      defaultValue - the default value of this property
      See Also:
    • property

      IThemeType.Builder<T> property(String name, double defaultValue)
      Creates a property of this theme type.

      A property is a field member of the theme implementation that will be set based on the theme configuration file.

      An input field will be generated in the theme editor screen with theme.waila.plugin_[typeNamespace].[typePath].[fieldName] as the translation key.

      Parameters:
      name - the name of the property
      defaultValue - the default value of this property
      See Also:
    • property

      IThemeType.Builder<T> property(String name, String defaultValue)
      Creates a property of this theme type.

      A property is a field member of the theme implementation that will be set based on the theme configuration file.

      An input field will be generated in the theme editor screen with theme.waila.plugin_[typeNamespace].[typePath].[fieldName] as the translation key.

      Parameters:
      name - the name of the property
      defaultValue - the default value of this property
      See Also:
    • property

      <E extends Enum<E>> IThemeType.Builder<T> property(String name, E defaultValue)
      Creates a property of this theme type.

      A property is a field member of the theme implementation that will be set based on the theme configuration file.

      An input field will be generated in the theme editor screen with theme.waila.plugin_[typeNamespace].[typePath].[fieldName] as the translation key.

      Parameters:
      name - the name of the property
      defaultValue - the default value of this property
      See Also:
    • build

      IThemeType<T> build()