public final class UiBehaviorController extends DefaultConfigController
org.netbeans.spi.options.OptionsPanelController.ContainerRegistration, org.netbeans.spi.options.OptionsPanelController.Keywords, org.netbeans.spi.options.OptionsPanelController.KeywordsRegistration, org.netbeans.spi.options.OptionsPanelController.SubRegistration, org.netbeans.spi.options.OptionsPanelController.TopLevelRegistration
Modifier and Type | Field and Description |
---|---|
static String |
PREFERENCE_KEY_AUTO_SHOW_NAVIGATION
Preferences key for automatically showing navigation
|
static String |
PREFERENCE_KEY_AUTO_SHOW_NEW_BANDS
Preferences key for automatically showing new bands
|
static String |
PREFERENCE_KEY_LIST_FILES_TO_REOPEN
Preferences key to set the maximum number of file in the list to reopen.
|
Constructor and Description |
---|
UiBehaviorController() |
Modifier and Type | Method and Description |
---|---|
void |
applyChanges() |
void |
cancel() |
protected JPanel |
createPanel(com.bc.ceres.swing.binding.BindingContext context)
Create a panel that allows the user to set the parameters in the given
BindingContext . |
protected PropertySet |
createPropertySet()
Create a
PropertySet object instance that holds all parameters. |
org.openide.util.HelpCtx |
getHelpCtx() |
addPropertyChangeListener, configure, createPropertySet, getBindingContext, getComponent, isChanged, isInitialised, isValid, removePropertyChangeListener, setChanged, update
public static final String PREFERENCE_KEY_AUTO_SHOW_NAVIGATION
public static final String PREFERENCE_KEY_AUTO_SHOW_NEW_BANDS
public static final String PREFERENCE_KEY_LIST_FILES_TO_REOPEN
public void applyChanges()
applyChanges
in class DefaultConfigController
public void cancel()
cancel
in class DefaultConfigController
public org.openide.util.HelpCtx getHelpCtx()
getHelpCtx
in class org.netbeans.spi.options.OptionsPanelController
protected PropertySet createPropertySet()
DefaultConfigController
PropertySet
object instance that holds all parameters.
Clients that want to maintain properties need to overwrite this method.createPropertySet
in class DefaultConfigController
PropertySet
, holding all configuration parameters.DefaultConfigController.createPropertySet(Object)
protected JPanel createPanel(com.bc.ceres.swing.binding.BindingContext context)
DefaultConfigController
BindingContext
. Clients that want
to create their own panel representation on the given properties need to overwrite this method.createPanel
in class DefaultConfigController
context
- The BindingContext
for the panel.BindingContext
, never null
.Copyright © 2014–2017 European Space Agency (ESA). All rights reserved.