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

java.lang.Object
  extended by org.gudy.azureus2.ui.swt.config.Parameter
All Implemented Interfaces:
IParameter
Direct Known Subclasses:
BooleanParameter, ButtonParameter, ColorParameter, DirectoryParameter, InfoParameter, IntListParameter, IntParameter, LinkParameter, PasswordParameter, RadioParameter, StringAreaParameter, StringListParameter, StringParameter, TextAreaParameter, UISWTParameter

public abstract class Parameter
extends Object
implements IParameter


Field Summary
protected  List change_listeners
           
protected  ConfigParameterAdapter config_adapter
           
 
Constructor Summary
Parameter(String sConfigID)
           
 
Method Summary
 void addChangeListener(ParameterChangeListener l)
           
 org.eclipse.swt.widgets.Control[] getControls()
           
 Object getValueObject()
           
 boolean isDisposed()
           
 boolean isInitialised()
           
 void removeChangeListener(ParameterChangeListener l)
           
 void setEnabled(boolean enabled)
           
abstract  void setValue(Object value)
           
 
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.ui.swt.config.IParameter
getControl, setLayoutData
 

Field Detail

config_adapter

protected ConfigParameterAdapter config_adapter

change_listeners

protected List change_listeners
Constructor Detail

Parameter

public Parameter(String sConfigID)
Method Detail

isInitialised

public boolean isInitialised()

getControls

public org.eclipse.swt.widgets.Control[] getControls()
Specified by:
getControls in interface IParameter

addChangeListener

public void addChangeListener(ParameterChangeListener l)

removeChangeListener

public void removeChangeListener(ParameterChangeListener l)

setEnabled

public void setEnabled(boolean enabled)

isDisposed

public boolean isDisposed()

setValue

public abstract void setValue(Object value)

getValueObject

public Object getValueObject()