org.gudy.azureus2.plugins.ui.config
Interface EnablerParameter
- All Superinterfaces:
- ConfigParameter, Parameter
- All Known Subinterfaces:
- BooleanParameter
- All Known Implementing Classes:
- ActionParameterImpl, BooleanParameterImpl, ColorParameter, ColorParameterImpl, DirectoryParameterImpl, FileParameter, HyperlinkParameterImpl, InfoParameterImpl, IntParameterImpl, IntsParameter, LabelParameterImpl, ParameterGroupImpl, ParameterImpl, ParameterTabFolderImpl, PasswordParameterImpl, StringListParameterImpl, StringParameterImpl, UIParameterImpl, UITextAreaImpl
public interface EnablerParameter
- extends Parameter
represents a parameter that is able to enable/disable other parameters.
- Author:
- Olivier
Method Summary |
void |
addDisabledOnSelection(Parameter parameter)
disables parameter when EnablerParameter is selected.
parameter is enabled is EnablerParameter isn't selected. |
void |
addEnabledOnSelection(Parameter parameter)
enables parameter when EnablerParameter is selected.
parameter is disabled is EnablerParameter isn't selected. |
Methods inherited from interface org.gudy.azureus2.plugins.ui.config.Parameter |
addListener, getConfigKeyName, getGenerateIntermediateEvents, getLabelKey, getLabelText, getMinimumRequiredUserMode, hasBeenSet, isEnabled, isVisible, removeListener, setEnabled, setGenerateIntermediateEvents, setLabelKey, setLabelText, setMinimumRequiredUserMode, setVisible |
addEnabledOnSelection
void addEnabledOnSelection(Parameter parameter)
- enables parameter when EnablerParameter is selected.
parameter is disabled is EnablerParameter isn't selected.
- Parameters:
parameter
- the Parameter to act on
addDisabledOnSelection
void addDisabledOnSelection(Parameter parameter)
- disables parameter when EnablerParameter is selected.
parameter is enabled is EnablerParameter isn't selected.
- Parameters:
parameter
- the Parameter to act on