Annotation Type OptionsPanelController.SubRegistration

Enclosing class:
OptionsPanelController

@Target({TYPE,METHOD}) @Retention(SOURCE) public static @interface OptionsPanelController.SubRegistration
Registers a subpanel inside a top-level container panel in the Options dialog. Should be placed on a OptionsPanelController instance.
Since:
org.netbeans.modules.options.api/1 1.14
See Also:
  • Element Details

    • id

      String id
      Optional path that can be used (with location()) in OptionsDisplayer.open(String). Typically this should be a reference to a compile-time constant to which other code can refer.
      Default:
      ""
    • location

      String location
      Location of this panel inside some top-level panel matching OptionsPanelController.ContainerRegistration.id(). If unspecified, placed in the Miscellaneous panel. Typically this should be a reference to a compile-time constant also used for the container's ID.
      Default:
      "Advanced"
    • displayName

      String displayName
      Label shown on the tab. You may use #key syntax.
    • keywords

      String keywords
      Optional keywords (separated by commas) for use with Quick Search (must also specify keywordsCategory()). You may use #key syntax.
      Default:
      ""
    • keywordsCategory

      String keywordsCategory
      Keyword category for use with Quick Search (must also specify keywords()).
      Default:
      ""
    • position

      int position
      Position relative to sibling subpanels. Accepted only for non-default location() (Miscellaneous panel is sorted alphabetically).
      Default:
      2147483647