Module qupath.fx

Annotation Interface LocalePref


@Documented @Retention(RUNTIME) @Target({TYPE,FIELD}) public @interface LocalePref
Annotation for a locale preference.
  • Required Element Summary

    Required Elements
    Modifier and Type
    Required Element
    Description
    Key for externalized string that gives the text of the preference
  • Optional Element Summary

    Optional Elements
    Modifier and Type
    Optional Element
    Description
    boolean
    Request that the locales are restricted to only those recognized as available (e.g.
    Optional bundle for externalized string
  • Element Details

    • value

      String value
      Key for externalized string that gives the text of the preference
      Returns:
    • bundle

      String bundle
      Optional bundle for externalized string
      Returns:
      Default:
      ""
    • availableLanguagesOnly

      boolean availableLanguagesOnly
      Request that the locales are restricted to only those recognized as available (e.g. there is a corresponding ResourceBundle).
      Returns:
      Default:
      false