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

java.lang.Object
  extended by org.gudy.azureus2.ui.swt.config.ParameterChangeAdapter
All Implemented Interfaces:
ParameterChangeListener

public class ParameterChangeAdapter
extends java.lang.Object
implements ParameterChangeListener

Author:
TuxPaper

Constructor Summary
ParameterChangeAdapter()
           
 
Method Summary
 void booleanParameterChanging(Parameter p, boolean toValue)
          A boolean parameter is about to change.
 void floatParameterChanging(Parameter owner, double toValue)
          A double/float parameter is about to change.
 void intParameterChanging(Parameter p, int toValue)
          An int parameter is about to change.
 void parameterChanged(Parameter p, boolean caused_internally)
           
 void stringParameterChanging(Parameter p, java.lang.String toValue)
          A String parameter is about to change.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

ParameterChangeAdapter

public ParameterChangeAdapter()
Method Detail

booleanParameterChanging

public void booleanParameterChanging(Parameter p,
                                     boolean toValue)
Description copied from interface: ParameterChangeListener
A boolean parameter is about to change.

Not called when parameter set via COConfigurationManager.setParameter

Specified by:
booleanParameterChanging in interface ParameterChangeListener

intParameterChanging

public void intParameterChanging(Parameter p,
                                 int toValue)
Description copied from interface: ParameterChangeListener
An int parameter is about to change.

Not called when parameter set via COConfigurationManager.setParameter

Specified by:
intParameterChanging in interface ParameterChangeListener

parameterChanged

public void parameterChanged(Parameter p,
                             boolean caused_internally)
Specified by:
parameterChanged in interface ParameterChangeListener

stringParameterChanging

public void stringParameterChanging(Parameter p,
                                    java.lang.String toValue)
Description copied from interface: ParameterChangeListener
A String parameter is about to change.

Not called when parameter set via COConfigurationManager.setParameter

Specified by:
stringParameterChanging in interface ParameterChangeListener

floatParameterChanging

public void floatParameterChanging(Parameter owner,
                                   double toValue)
Description copied from interface: ParameterChangeListener
A double/float parameter is about to change.

Not called when parameter set via COConfigurationManager.setParameter

Specified by:
floatParameterChanging in interface ParameterChangeListener