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 java.lang.Object
implements IParameter


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

Parameter

public Parameter(java.lang.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(java.lang.Object value)

getValueObject

public java.lang.Object getValueObject()