org.gudy.azureus2.pluginsimpl.local.ui.config
Class BooleanParameterImpl
java.lang.Object
org.gudy.azureus2.pluginsimpl.local.ui.config.ParameterImpl
org.gudy.azureus2.pluginsimpl.local.ui.config.BooleanParameterImpl
- All Implemented Interfaces:
- ParameterListener, ConfigParameter, BooleanParameter, EnablerParameter, Parameter
public class BooleanParameterImpl
- extends ParameterImpl
- implements BooleanParameter
- Author:
- Olivier
Methods inherited from class org.gudy.azureus2.pluginsimpl.local.ui.config.ParameterImpl |
addConfigParameterListener, addDisabledOnSelection, addEnabledOnSelection, addImplListener, addListener, destroy, fireParameterChanged, getConfigKeyName, getDisabledOnSelectionParameters, getEnabledOnSelectionParameters, getGenerateIntermediateEvents, getGroup, getKey, getLabelKey, getLabelText, getMinimumRequiredUserMode, hasBeenSet, isEnabled, isVisible, parameterChanged, removeConfigParameterListener, removeImplListener, removeListener, setEnabled, setGenerateIntermediateEvents, setGroup, setLabelKey, setLabelText, setMinimumRequiredUserMode, setVisible |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
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 |
BooleanParameterImpl
public BooleanParameterImpl(PluginConfigImpl config,
String key,
String label,
boolean defaultValue)
getDefaultValue
public boolean getDefaultValue()
getValue
public boolean getValue()
- Specified by:
getValue
in interface BooleanParameter
setValue
public void setValue(boolean b)
- Specified by:
setValue
in interface BooleanParameter
setDefaultValue
public void setDefaultValue(boolean defaultValue)
- Specified by:
setDefaultValue
in interface BooleanParameter