Package com.biglybt.pif.ui.model
Interface BasicPluginViewModel
- All Superinterfaces:
PluginViewModel
- All Known Implementing Classes:
BasicPluginViewModelImpl
-
Field Summary
Fields -
Method Summary
Modifier and TypeMethodDescriptionvoid
attachLoggerChannel
(LoggerChannel channel) Convenience method to configure this model to receive any logged messages on the associated channel and display it in the main window area.getProperty
(int property) All UI Components are initially enabled - disable if not requiredvoid
void
setProperty
(int property, Object value) Methods inherited from interface com.biglybt.pif.ui.model.PluginViewModel
destroy, getName, getPluginInterface
-
Field Details
-
PR_EXTERNAL_LOG_PAUSE
static final int PR_EXTERNAL_LOG_PAUSE- See Also:
-
-
Method Details
-
getStatus
UITextField getStatus()All UI Components are initially enabled - disable if not required- Returns:
-
getActivity
UITextField getActivity() -
getLogArea
UITextArea getLogArea() -
getProgress
UIProgressBar getProgress() -
addButton
UIButton addButton() -
getButtons
-
setConfigSectionID
- Parameters:
id
-- Since:
- 2.3.0.7
-
getConfigSectionID
String getConfigSectionID()- Returns:
- Since:
- 2.3.0.7
-
attachLoggerChannel
Convenience method to configure this model to receive any logged messages on the associated channel and display it in the main window area.You can handle this manually if you want to, by creating your own
LoggerChannelListener
instance and making it append to the log area on this object.- Parameters:
channel
- The log channel to listen to.- Since:
- 3.0.5.3
-
setProperty
-
getProperty
-