javax.swing
Class AbstractActionPropertyChangeListener

java.lang.Object
  |
  +--javax.swing.AbstractActionPropertyChangeListener
All Implemented Interfaces:
EventListener, java.beans.PropertyChangeListener
Direct Known Subclasses:
javax.swing.AbstractButton.ButtonActionPropertyChangeListener

abstract class AbstractActionPropertyChangeListener
extends Object
implements java.beans.PropertyChangeListener

A package-private PropertyChangeListener which listens for property changes on an Action and updates the properties of an ActionEvent source.

Warning: Serialized objects of this class will not be compatible with future Swing releases. The current serialization support is appropriate for short term storage or RMI between applications running the same version of Swing. As of 1.4, support for long term storage of all JavaBeansTM has been added to the java.beans package. Please see java.beans.XMLEncoder.

Version:
1.9 12/03/01
Author:
Georges Saab
See Also:
AbstractButton

Field Summary
private  Action action
           
private static java.lang.ref.ReferenceQueue queue
           
private  java.lang.ref.WeakReference target
           
 
Constructor Summary
(package private) AbstractActionPropertyChangeListener(JComponent c, Action a)
           
 
Method Summary
 Action getAction()
           
 JComponent getTarget()
           
 void setTarget(JComponent c)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

queue

private static java.lang.ref.ReferenceQueue queue

target

private java.lang.ref.WeakReference target

action

private Action action
Constructor Detail

AbstractActionPropertyChangeListener

AbstractActionPropertyChangeListener(JComponent c,
                                     Action a)
Method Detail

setTarget

public void setTarget(JComponent c)

getTarget

public JComponent getTarget()

getAction

public Action getAction()


comments?