Package com.biglybt.pif.ui.model
Interface BasicPluginViewModel
-
- All Superinterfaces:
PluginViewModel
- All Known Implementing Classes:
BasicPluginViewModelImpl
public interface BasicPluginViewModel extends PluginViewModel
-
-
Field Summary
Fields Modifier and Type Field Description static int
PR_EXTERNAL_LOG_PAUSE
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description UIButton
addButton()
void
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.UITextField
getActivity()
java.util.List<UIButton>
getButtons()
java.lang.String
getConfigSectionID()
UITextArea
getLogArea()
UIProgressBar
getProgress()
java.lang.Object
getProperty(int property)
UITextField
getStatus()
All UI Components are initially enabled - disable if not requiredvoid
setConfigSectionID(java.lang.String id)
void
setProperty(int property, java.lang.Object value)
-
Methods inherited from interface com.biglybt.pif.ui.model.PluginViewModel
destroy, getName, getPluginInterface
-
-
-
-
Field Detail
-
PR_EXTERNAL_LOG_PAUSE
static final int PR_EXTERNAL_LOG_PAUSE
- See Also:
- Constant Field Values
-
-
Method Detail
-
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
java.util.List<UIButton> getButtons()
-
setConfigSectionID
void setConfigSectionID(java.lang.String id)
- Parameters:
id
-- Since:
- 2.3.0.7
-
getConfigSectionID
java.lang.String getConfigSectionID()
- Returns:
- Since:
- 2.3.0.7
-
attachLoggerChannel
void 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.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
void setProperty(int property, java.lang.Object value)
-
getProperty
java.lang.Object getProperty(int property)
-
-