FileDocCategorySizeDatePackage
Parameter.javaAPI DocAzureus 3.0.3.42238Mon Jan 15 22:37:24 GMT 2007org.gudy.azureus2.ui.swt.config

Parameter

public abstract class Parameter extends Object implements IParameter
author
parg

Fields Summary
protected ConfigParameterAdapter
config_adapter
protected List
change_listeners
private static org.gudy.azureus2.core3.util.AEMonitor
class_mon
Constructors Summary
public Parameter(String sConfigID)


	   
		config_adapter = new ConfigParameterAdapter( this, sConfigID );
	
Methods Summary
public voidaddChangeListener(ParameterChangeListener l)

 		try{
 			class_mon.enter();
 		
	 		if ( change_listeners == null ){
	 			
	 			change_listeners = new ArrayList(1);
	 		}
	 		
	  		change_listeners.add( l );
	  		
 		}finally{
 			
 			class_mon.exit();
 		}
	
public org.eclipse.swt.widgets.Control[]getControls()

		return( new Control[]{ getControl() });
	
public java.lang.ObjectgetValueObject()

		return null;
	
public booleanisDisposed()

		return( getControl().isDisposed());
	
public voidremoveChangeListener(ParameterChangeListener l)

		try{
 			class_mon.enter();
		
 			change_listeners.remove(l);
 			
		}finally{
 			
 			class_mon.exit();
 		}
	
public abstract voidsetValue(java.lang.Object value)