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

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

public class StringParameterImpl
extends ParameterImpl
implements StringParameter


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
StringParameterImpl(PluginConfigImpl config, java.lang.String key, java.lang.String label, java.lang.String defaultValue)
           
 
Method Summary
 java.lang.String getDefaultValue()
           
 int getMultiLine()
           
 java.lang.String getValue()
           
 void setMultiLine(int visible_line_count)
           
 void setValue(java.lang.String s)
           
 
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

StringParameterImpl

public StringParameterImpl(PluginConfigImpl config,
                           java.lang.String key,
                           java.lang.String label,
                           java.lang.String defaultValue)
Method Detail

getDefaultValue

public java.lang.String getDefaultValue()
Returns:
Returns the defaultValue.

getValue

public java.lang.String getValue()
Specified by:
getValue in interface StringParameter

setValue

public void setValue(java.lang.String s)
Specified by:
setValue in interface StringParameter

setMultiLine

public void setMultiLine(int visible_line_count)
Specified by:
setMultiLine in interface StringParameter

getMultiLine

public int getMultiLine()