Package com.biglybt.ui.config
Interface BaseConfigSection
-
- All Known Implementing Classes:
BasicPluginConfigImpl
,ConfigSectionBackupRestore
,ConfigSectionBackupRestoreSWT
,ConfigSectionConnection
,ConfigSectionConnectionAdvanced
,ConfigSectionConnectionDNS
,ConfigSectionConnectionEncryption
,ConfigSectionConnectionProxy
,ConfigSectionConnectionProxySWT
,ConfigSectionFile
,ConfigSectionFileMove
,ConfigSectionFilePerformance
,ConfigSectionFileTorrents
,ConfigSectionFileTorrentsDecoding
,ConfigSectionHolder
,ConfigSectionImpl
,ConfigSectionInterfaceAlertsSWT
,ConfigSectionInterfaceColorSWT
,ConfigSectionInterfaceDisplaySWT
,ConfigSectionInterfaceLanguage
,ConfigSectionInterfaceLanguageSWT
,ConfigSectionInterfaceLegacySWT
,ConfigSectionInterfacePasswordSWT
,ConfigSectionInterfaceStartSWT
,ConfigSectionInterfaceSWT
,ConfigSectionInterfaceTablesSWT
,ConfigSectionInterfaceTags
,ConfigSectionInterfaceTagsSWT
,ConfigSectionIPFilter
,ConfigSectionIPFilterSWT
,ConfigSectionLogging
,ConfigSectionMode
,ConfigSectionPlugins
,ConfigSectionPluginsSWT
,ConfigSectionSecurity
,ConfigSectionSecuritySWT
,ConfigSectionSharing
,ConfigSectionStartShutdown
,ConfigSectionStats
,ConfigSectionTracker
,ConfigSectionTrackerClient
,ConfigSectionTrackerServer
,ConfigSectionTrackerServerSWT
,ConfigSectionTransfer
,ConfigSectionTransferAutoSpeedClassic
,ConfigSectionTransferAutoSpeedSelect
,ConfigSectionTransferAutoSpeedV2
,ConfigSectionTransferLAN
public interface BaseConfigSection
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description void
build()
void
deleteConfigSection()
Config view is closingjava.lang.String
getConfigSectionID()
In order for the plugin to display its section correctly, a key in the Plugin language file will need to contain ConfigView.section.<getConfigSectionID() result>=The Section name.int
getMaxUserMode()
Indicate if additional options are available to display a hint to the usersint
getMinUserMode()
Returns the minimum user mode needed for this section to be displayed.Parameter[]
getParamArray()
java.lang.String
getParentSectionID()
Returns section you want your configuration panel to be under.ParameterImpl
getPluginParam(java.lang.String key)
java.lang.String
getSectionNameKey()
boolean
isBuilt()
void
postBuild()
void
requestRebuild()
Request the UI to rebuild this config section.void
saveConfigSection()
User selected Save.java.util.List<Parameter>
search(java.util.regex.Pattern regex)
void
setRebuildRunner(ConfigSectionRebuildRunner rebuildRunner)
-
-
-
Method Detail
-
getParamArray
Parameter[] getParamArray()
-
getPluginParam
ParameterImpl getPluginParam(java.lang.String key)
-
getParentSectionID
java.lang.String getParentSectionID()
Returns section you want your configuration panel to be under. See BasicPluginConfigModel.SECTION_* constants. To add a subsection to your own ConfigSection, return the getConfigSectionID result of your parent.
-
getConfigSectionID
java.lang.String getConfigSectionID()
In order for the plugin to display its section correctly, a key in the Plugin language file will need to contain ConfigView.section.<getConfigSectionID() result>=The Section name.- Returns:
- The name of the configuration section
-
saveConfigSection
void saveConfigSection()
User selected Save. All saving of non-plugin tabs have been completed, as well as saving of plugins that implement com.biglybt.pif.ui.config parameters.
-
deleteConfigSection
void deleteConfigSection()
Config view is closing
-
getMinUserMode
int getMinUserMode()
Returns the minimum user mode needed for this section to be displayed. Note: Section may be visually displayed, but with a notification that modification is unavailable at current user mode.
-
getMaxUserMode
int getMaxUserMode()
Indicate if additional options are available to display a hint to the users- Returns:
- the highest user mode that reveals additional options (0 = Beginner, 1 = Intermediate, 2 = Advanced)
-
setRebuildRunner
void setRebuildRunner(ConfigSectionRebuildRunner rebuildRunner)
-
requestRebuild
void requestRebuild()
Request the UI to rebuild this config section. For SWT, all SWT objects will be disposed and recreated.
-
build
void build()
-
postBuild
void postBuild()
-
isBuilt
boolean isBuilt()
-
getSectionNameKey
java.lang.String getSectionNameKey()
-
search
java.util.List<Parameter> search(java.util.regex.Pattern regex)
-
-