net.wotonomy.ui.swing.components
Class ButtonPanel.ActionChangeListener

java.lang.Object
  extended by net.wotonomy.ui.swing.components.ButtonPanel.ActionChangeListener
All Implemented Interfaces:
java.beans.PropertyChangeListener, java.util.EventListener
Enclosing class:
ButtonPanel

public class ButtonPanel.ActionChangeListener
extends java.lang.Object
implements java.beans.PropertyChangeListener

A property change listener that listens specifically for property changes from action objects. This is the class that ties in the action to the button. This class is added to an action as a property change listener. The corresponding component is referenced by this class toe easily handle updates to the component caused by changes to the action.


Constructor Summary
ButtonPanel.ActionChangeListener(java.awt.Component aComponent)
          Constructs an ActionChangeListener with the given component being the recipient of the action's changes.
 
Method Summary
 void propertyChange(java.beans.PropertyChangeEvent e)
          Called whenever a property changes on the action object.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

ButtonPanel.ActionChangeListener

public ButtonPanel.ActionChangeListener(java.awt.Component aComponent)
Constructs an ActionChangeListener with the given component being the recipient of the action's changes.

Parameters:
The - component to bind with the action.
Method Detail

propertyChange

public void propertyChange(java.beans.PropertyChangeEvent e)
Called whenever a property changes on the action object.

Specified by:
propertyChange in interface java.beans.PropertyChangeListener


Copyright © 2006 null. All Rights Reserved.