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, String name)
           
StringParameter(org.eclipse.swt.widgets.Composite composite, String name, boolean generateIntermediateEvents)
           
StringParameter(org.eclipse.swt.widgets.Composite composite, String name, String defaultValue)
           
StringParameter(org.eclipse.swt.widgets.Composite composite, String name, String defaultValue, boolean generateIntermediateEvents)
           
 
Method Summary
protected  void checkValue()
           
 org.eclipse.swt.widgets.Control getControl()
           
 String getValue()
           
 Object getValueObject()
           
 void setLayoutData(Object layoutData)
           
 void setValue(Object value)
           
 void setValue(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,
                       String name)

StringParameter

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

StringParameter

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

StringParameter

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

checkValue

protected void checkValue()

setLayoutData

public void setLayoutData(Object layoutData)

setValue

public void setValue(String value)

getValue

public String getValue()

getControl

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

setValue

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

getValueObject

public Object getValueObject()
Overrides:
getValueObject in class Parameter