Annotation Type PreferenceGroup


  • @Target({})
    @Retention(CLASS)
    public @interface PreferenceGroup
    Defines a group of preferences. Every preference group has a name and may contain multiple preferences.
    For each preference group a static inner class
    public static final class ${name} {...}
    and an accessor
    public static ${name} ${name}()
    will be generated in the preferences class.
    See Also:
    Preferences, Preference
    • Required Element Summary

      Required Elements 
      Modifier and Type Required Element Description
      java.lang.String name
      The name of the preference group.
      Preference[] value
      A list of Preferences.
    • Optional Element Summary

      Optional Elements 
      Modifier and Type Optional Element Description
      java.lang.String prefix
      A prefix that is prepended to the preference name in order to build the preference key.
      java.lang.String suffix
      A suffix that is appended to the preference name in order to build the preference key.
    • Element Detail

      • name

        java.lang.String name
        The name of the preference group. This is only used as a class name and does not contribute to the preference key. Must be a valid Java identifier.
      • prefix

        java.lang.String prefix
        A prefix that is prepended to the preference name in order to build the preference key.
        Default:
        ""
      • suffix

        java.lang.String suffix
        A suffix that is appended to the preference name in order to build the preference key.
        Default:
        ""