|
org.netbeans.modules.options.api/1 1.16.1 | |||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectorg.netbeans.api.options.OptionsDisplayer
public final class OptionsDisplayer
Permits Options Dialog to open the options dialog with some category pre-selected.
Field Summary | |
---|---|
static String |
ADVANCED
Registration name of Advanced category (aka Miscellaneous). |
Method Summary | |
---|---|
static OptionsDisplayer |
getDefault()
Get the default OptionsDisplayer |
boolean |
open()
Open the options dialog with no guarantee which category is pre-selected. |
boolean |
open(String path)
Open the options dialog with some panel preselected. |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Field Detail |
---|
public static final String ADVANCED
Method Detail |
---|
public static OptionsDisplayer getDefault()
OptionsDisplayer
public boolean open()
public boolean open(String path)
OptionsPanelController.TopLevelRegistration.id()
.
To open a subpanel, pass its OptionsPanelController.SubRegistration.location()
followed by /
followed by its OptionsPanelController.SubRegistration.id()
.
To open a container panel without specifying a particular subpanel, pass its OptionsPanelController.ContainerRegistration.id()
.
To avoid typos and keep track of dependencies it is recommended to define compile-time
constants for all these IDs, to be used both by the annotations and by calls to this method.
path
- slash-separated path of category and perhaps subcategories to be selected
OptionsPanelController
to handle such situation.
|
org.netbeans.modules.options.api/1 1.16.1 | |||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |