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:
-
Required Element Summary
Required Elements -
Optional Element Summary
Optional ElementsModifier and TypeOptional ElementDescriptionOptional path that can be used (withlocation()) inOptionsDisplayer.open(String).Optional keywords (separated by commas) for use with Quick Search (must also specifykeywordsCategory()).Keyword category for use with Quick Search (must also specifykeywords()).Location of this panel inside some top-level panel matchingOptionsPanelController.ContainerRegistration.id().intPosition relative to sibling subpanels.
-
Element Details
-
id
String idOptional path that can be used (withlocation()) inOptionsDisplayer.open(String). Typically this should be a reference to a compile-time constant to which other code can refer.- Default:
""
-
location
String locationLocation of this panel inside some top-level panel matchingOptionsPanelController.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 displayNameLabel shown on the tab. You may use#keysyntax. -
keywords
String keywordsOptional keywords (separated by commas) for use with Quick Search (must also specifykeywordsCategory()). You may use#keysyntax.- Default:
""
-
keywordsCategory
String keywordsCategoryKeyword category for use with Quick Search (must also specifykeywords()).- Default:
""
-
position
int positionPosition relative to sibling subpanels. Accepted only for non-defaultlocation()(Miscellaneous panel is sorted alphabetically).- Default:
2147483647
-