org.gudy.azureus2.ui.swt.config
Class StringParameter

java.lang.Object
  extended by org.gudy.azureus2.ui.swt.config.Parameter
      extended by org.gudy.azureus2.ui.swt.config.StringParameter
All Implemented Interfaces:
IParameter

public class StringParameter
extends Parameter

Author:
Olivier

Field Summary
 
Fields inherited from class org.gudy.azureus2.ui.swt.config.Parameter
change_listeners, config_adapter
 
Constructor Summary
StringParameter(org.eclipse.swt.widgets.Composite composite, java.lang.String name)
           
StringParameter(org.eclipse.swt.widgets.Composite composite, java.lang.String name, boolean generateIntermediateEvents)
           
StringParameter(org.eclipse.swt.widgets.Composite composite, java.lang.String name, java.lang.String defaultValue)
           
StringParameter(org.eclipse.swt.widgets.Composite composite, java.lang.String name, java.lang.String defaultValue, boolean generateIntermediateEvents)
           
 
Method Summary
protected  void checkValue()
           
 org.eclipse.swt.widgets.Control getControl()
           
 java.lang.String getValue()
           
 java.lang.Object getValueObject()
           
 void setLayoutData(java.lang.Object layoutData)
           
 void setValue(java.lang.Object value)
           
 void setValue(java.lang.String value)
           
 
Methods inherited from class org.gudy.azureus2.ui.swt.config.Parameter
addChangeListener, getControls, isDisposed, isInitialised, removeChangeListener, setEnabled
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

StringParameter

public StringParameter(org.eclipse.swt.widgets.Composite composite,
                       java.lang.String name)

StringParameter

public StringParameter(org.eclipse.swt.widgets.Composite composite,
                       java.lang.String name,
                       boolean generateIntermediateEvents)

StringParameter

public StringParameter(org.eclipse.swt.widgets.Composite composite,
                       java.lang.String name,
                       java.lang.String defaultValue)

StringParameter

public StringParameter(org.eclipse.swt.widgets.Composite composite,
                       java.lang.String name,
                       java.lang.String defaultValue,
                       boolean generateIntermediateEvents)
Method Detail

checkValue

protected void checkValue()

setLayoutData

public void setLayoutData(java.lang.Object layoutData)

setValue

public void setValue(java.lang.String value)

getValue

public java.lang.String getValue()

getControl

public org.eclipse.swt.widgets.Control getControl()

setValue

public void setValue(java.lang.Object value)
Specified by:
setValue in class Parameter

getValueObject

public java.lang.Object getValueObject()
Overrides:
getValueObject in class Parameter