Class ConfigSectionInterfaceColorSWT
- java.lang.Object
-
- com.biglybt.ui.config.ConfigSectionImpl
-
- com.biglybt.ui.swt.views.configsections.ConfigSectionInterfaceColorSWT
-
- All Implemented Interfaces:
BaseConfigSection
,BaseConfigSectionSWT
public class ConfigSectionInterfaceColorSWT extends ConfigSectionImpl implements BaseConfigSectionSWT
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description private static class
ConfigSectionInterfaceColorSWT.SkinColorValueProcessor
Skin colors can be formatted as:
colorkey=paramkey:defaultcolor
paramkey is the override stored in ConfigurationManager-
Nested classes/interfaces inherited from class com.biglybt.ui.config.ConfigSectionImpl
ConfigSectionImpl.ConfigDetailsCallback
-
-
Field Summary
Fields Modifier and Type Field Description private static java.lang.String[]
sColorsToOverride
static java.lang.String
SECTION_ID
-
Fields inherited from class com.biglybt.ui.config.ConfigSectionImpl
L10N_SECTION_PREFIX, mapPluginParams
-
-
Constructor Summary
Constructors Constructor Description ConfigSectionInterfaceColorSWT()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description void
build()
void
configSectionCreate(org.eclipse.swt.widgets.Composite parent, java.util.Map<ParameterImpl,BaseSwtParameter> mapParamToSwtParam)
Adjust the configuration panel here.-
Methods inherited from class com.biglybt.ui.config.ConfigSectionImpl
add, add, add, add, deleteConfigSection, findPluginParamKey, getConfigSectionID, getMaxUserMode, getMinUserMode, getParamArray, getParentSectionID, getPluginParam, getSectionNameKey, getSectionNameKey, guessParamName, isBuilt, postBuild, requestRebuild, saveConfigSection, search, setDefaultUITypesForAdd, setDefaultUserModeForAdd, setRebuildRunner
-
-
-
-
Field Detail
-
sColorsToOverride
private static final java.lang.String[] sColorsToOverride
-
SECTION_ID
public static final java.lang.String SECTION_ID
- See Also:
- Constant Field Values
-
-
Method Detail
-
build
public void build()
- Specified by:
build
in interfaceBaseConfigSection
-
configSectionCreate
public void configSectionCreate(org.eclipse.swt.widgets.Composite parent, java.util.Map<ParameterImpl,BaseSwtParameter> mapParamToSwtParam)
Description copied from interface:BaseConfigSectionSWT
Adjust the configuration panel here. Please be mindful of small screen resolutions.- Specified by:
configSectionCreate
in interfaceBaseConfigSectionSWT
- Parameters:
parent
- The parent of your configuration panelmapParamToSwtParam
- Link non-Swt Parameter to SwtParameter. UseBaseConfigSection.getPluginParam(String)
to find the SwtParameter with key used when adding the non-Swt parameter. Key is usually they config key, or a manual key passed in on add()
-
-