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, java.lang.String name)
           
StringAreaParameter(org.eclipse.swt.widgets.Composite composite, java.lang.String name, java.lang.String defaultValue)
           
 
Method Summary
protected  void checkValue()
           
 org.eclipse.swt.widgets.Control getControl()
           
 int getPreferredHeight(int line_count)
           
 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

StringAreaParameter

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

StringAreaParameter

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

getPreferredHeight

public int getPreferredHeight(int line_count)

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