org.gudy.azureus2.pluginsimpl.local.config
Class ConfigParameterImpl
java.lang.Object
org.gudy.azureus2.pluginsimpl.local.config.ConfigParameterImpl
- All Implemented Interfaces:
- ParameterListener, ConfigParameter
public class ConfigParameterImpl
- extends Object
- implements ConfigParameter, ParameterListener
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
key
protected String key
listeners
protected List listeners
ConfigParameterImpl
public ConfigParameterImpl(String _key)
parameterChanged
public void parameterChanged(String parameterName)
- Description copied from interface:
ParameterListener
- Called, when a parameter has changed.
The listener could only react if the parameter name is relevant.
Or the listener can just read all parameters again.
- Specified by:
parameterChanged
in interface ParameterListener
- Parameters:
parameterName
- the name of the parameter that has changed
addConfigParameterListener
public void addConfigParameterListener(ConfigParameterListener l)
- Specified by:
addConfigParameterListener
in interface ConfigParameter
removeConfigParameterListener
public void removeConfigParameterListener(ConfigParameterListener l)
- Specified by:
removeConfigParameterListener
in interface ConfigParameter