public abstract class AdvancedOption extends Object
Normally panels are registered using OptionsPanelController.SubRegistration
.
They may also be registered in a layer manually as follows:
<folder name="OptionsDialog"> <folder name="Advanced"> <file name="FooAdvancedPanel.instance"> <attr name="instanceCreate" methodvalue="org.netbeans.spi.options.AdvancedOption.createSubCategory"/> <attr name="controller" newvalue="org.foo.ToDoOptionsController"/> <attr name="displayName" bundlevalue="org.foo.Bundle#LBL_Foo"/> <attr name="toolTip" bundlevalue="org.foo.Bundle#HINT_Foo"/> <attr name="keywords" bundlevalue="org.foo.Bundle#KW_Foo"/> <attr name="keywordsCategory" stringvalue="Advanced/FooSubTabInOptions"/> </file> </folder> </folder>where:
OptionsPanelController
Related documentation
OptionsCategory
,
OptionsPanelController
Modifier | Constructor and Description |
---|---|
protected |
AdvancedOption()
Deprecated.
Use
OptionsPanelController.SubRegistration instead. |
Modifier and Type | Method and Description |
---|---|
abstract OptionsPanelController |
create()
Returns
OptionsPanelController for this category. |
abstract String |
getDisplayName()
Returns name of category used in Advanced Panel of
Options Dialog.
|
abstract String |
getTooltip()
Returns tooltip to be used on category name.
|
@Deprecated protected AdvancedOption()
OptionsPanelController.SubRegistration
instead.public abstract String getDisplayName()
public abstract String getTooltip()
Currently unused.
public abstract OptionsPanelController create()
OptionsPanelController
for this category. PanelController
creates visual component to be used inside of Advanced Panel.OptionsPanelController
for this advanced options
category