net.sf.sbcc.componentcombo
Class AbstractActionPropertyChangeListener
java.lang.Object
net.sf.sbcc.componentcombo.AbstractActionPropertyChangeListener
- All Implemented Interfaces:
- java.beans.PropertyChangeListener, java.util.EventListener
abstract class AbstractActionPropertyChangeListener
- extends java.lang.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 XMLEncoder
.
- Author:
- Christoph Bimminger
Field Summary |
private javax.swing.Action |
action
|
private static java.lang.ref.ReferenceQueue |
queue
|
private java.lang.ref.WeakReference |
target
|
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Methods inherited from interface java.beans.PropertyChangeListener |
propertyChange |
queue
private static java.lang.ref.ReferenceQueue queue
target
private java.lang.ref.WeakReference target
action
private javax.swing.Action action
AbstractActionPropertyChangeListener
AbstractActionPropertyChangeListener(javax.swing.JComponent c,
javax.swing.Action a)
setTarget
public void setTarget(javax.swing.JComponent c)
getTarget
public javax.swing.JComponent getTarget()
getAction
public javax.swing.Action getAction()