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

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

public class StringAreaParameter
extends Parameter

Author:
Olivier

Field Summary
 
Fields inherited from class org.gudy.azureus2.ui.swt.config.Parameter
change_listeners, config_adapter
 
Constructor Summary
StringAreaParameter(org.eclipse.swt.widgets.Composite composite, String name)
           
StringAreaParameter(org.eclipse.swt.widgets.Composite composite, String name, String defaultValue)
           
 
Method Summary
protected  void checkValue()
           
 org.eclipse.swt.widgets.Control getControl()
           
 int getPreferredHeight(int line_count)
           
 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

StringAreaParameter

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

StringAreaParameter

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

getPreferredHeight

public int getPreferredHeight(int line_count)

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