org.gudy.azureus2.pluginsimpl.local.ui.config
Class IntParameterImpl

java.lang.Object
  extended by org.gudy.azureus2.pluginsimpl.local.ui.config.ParameterImpl
      extended by org.gudy.azureus2.pluginsimpl.local.ui.config.IntParameterImpl
All Implemented Interfaces:
ParameterListener, ConfigParameter, EnablerParameter, IntParameter, Parameter

public class IntParameterImpl
extends ParameterImpl
implements IntParameter


Field Summary
 
Fields inherited from class org.gudy.azureus2.pluginsimpl.local.ui.config.ParameterImpl
config
 
Fields inherited from interface org.gudy.azureus2.plugins.ui.config.Parameter
MODE_ADVANCED, MODE_BEGINNER, MODE_INTERMEDIATE
 
Constructor Summary
IntParameterImpl(PluginConfigImpl config, String key, String label, int defaultValue)
           
IntParameterImpl(PluginConfigImpl config, String key, String label, int defaultValue, int min_value, int max_value)
           
 
Method Summary
 int getDefaultValue()
           
 int getMaxValue()
           
 int getMinValue()
           
 int getValue()
           
 boolean isLimited()
           
 void setValue(int b)
           
 
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
 
Methods inherited from interface org.gudy.azureus2.plugins.config.ConfigParameter
addConfigParameterListener, removeConfigParameterListener
 

Constructor Detail

IntParameterImpl

public IntParameterImpl(PluginConfigImpl config,
                        String key,
                        String label,
                        int defaultValue)

IntParameterImpl

public IntParameterImpl(PluginConfigImpl config,
                        String key,
                        String label,
                        int defaultValue,
                        int min_value,
                        int max_value)
Method Detail

getDefaultValue

public int getDefaultValue()
Returns:
Returns the defaultValue.

getValue

public int getValue()
Specified by:
getValue in interface IntParameter

setValue

public void setValue(int b)
Specified by:
setValue in interface IntParameter

isLimited

public boolean isLimited()

getMinValue

public int getMinValue()

getMaxValue

public int getMaxValue()