cdx.scorebot.util.swing.binding
Class BindingAdapter

java.lang.Object
  extended by cdx.scorebot.util.swing.binding.BindingAdapter
All Implemented Interfaces:
BindingListener

public abstract class BindingAdapter
extends java.lang.Object
implements BindingListener

An abstract adapter class for receiving binding events. The methods in this class are empty. This class exists as a convenience for creating listener objects. Extend this class to create a BindingListener and override the methods for the events of interest. (If you implement the BindingListener interface, you have to define all of the methods in it. This abstract class defines null methods for them all, so you can only have to define methods for events you care about.) Create a listener object using the extended class and then register it with a component using the component's addBindingListener method. A binding event is generated immediately before the binding changes and immediately after the binding is changed.

Author:
David Underhill

Constructor Summary
BindingAdapter()
           
 
Method Summary
 void bindingChanged(BindingEvent e)
          Invoked when the binding has just finished changing
 void bindingChanging(BindingEvent e)
          Invoked when the binding is about to change
 void bindingLoaded(BindingEvent e)
          Invoked when the binding has just finished loading
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

BindingAdapter

public BindingAdapter()
Method Detail

bindingChanging

public void bindingChanging(BindingEvent e)
Invoked when the binding is about to change

Specified by:
bindingChanging in interface BindingListener

bindingChanged

public void bindingChanged(BindingEvent e)
Invoked when the binding has just finished changing

Specified by:
bindingChanged in interface BindingListener

bindingLoaded

public void bindingLoaded(BindingEvent e)
Invoked when the binding has just finished loading

Specified by:
bindingLoaded in interface BindingListener