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
,ConfigSectionFileTorrentsSWT
,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
Modifier and TypeMethodDescriptionvoid
build()
void
Config view is closingIn 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
Indicate if additional options are available to display a hint to the usersint
Returns the minimum user mode needed for this section to be displayed.Returns section you want your configuration panel to be under.getPluginParam
(String key) boolean
isBuilt()
void
void
Request the UI to rebuild this config section.void
User selected Save.void
setRebuildRunner
(ConfigSectionRebuildRunner rebuildRunner)
-
Method Details
-
getParamArray
Parameter[] getParamArray() -
getPluginParam
-
getParentSectionID
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
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
-
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
String getSectionNameKey() -
search
-