org.jscience.util
Class ChangeAdapter

java.lang.Object
  extended by org.jscience.util.ChangeAdapter
All Implemented Interfaces:
java.util.EventListener, ChangeListener

public class ChangeAdapter
extends java.lang.Object
implements ChangeListener

This is a ChangeListener that ignores everything. This is a useful base-class for throw-a-way ChangeListener objects in a similar vein to MouseAdapter etc.


Nested Class Summary
 
Nested classes/interfaces inherited from interface org.jscience.util.ChangeListener
ChangeListener.AlwaysVetoListener, ChangeListener.LoggingListener
 
Field Summary
 
Fields inherited from interface org.jscience.util.ChangeListener
ALWAYS_VETO, LOG_TO_OUT
 
Constructor Summary
ChangeAdapter()
           
 
Method Summary
 void postChange(ChangeEvent ce)
          DOCUMENT ME!
 void preChange(ChangeEvent ce)
          DOCUMENT ME!
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

ChangeAdapter

public ChangeAdapter()
Method Detail

preChange

public void preChange(ChangeEvent ce)
               throws ChangeVetoException
DOCUMENT ME!

Specified by:
preChange in interface ChangeListener
Parameters:
ce - DOCUMENT ME!
Throws:
ChangeVetoException - DOCUMENT ME!

postChange

public void postChange(ChangeEvent ce)
DOCUMENT ME!

Specified by:
postChange in interface ChangeListener
Parameters:
ce - DOCUMENT ME!