oracle.ide.controls
Class PropertyChangeAdaptor
java.lang.Object
oracle.ide.controls.PropertyChangeAdaptor
- All Implemented Interfaces:
- java.util.EventListener, java.beans.PropertyChangeListener
- public class PropertyChangeAdaptor
- extends java.lang.Object
- implements java.beans.PropertyChangeListener
This class is intended to be used as a replacement for the java.beans.PropertyChangeListener added to any implementation of an javax.swing.AbstractButton which has been associated with a javax.swing.Action. It will update the AbstractButton in response to changes in the Action (i.e., icon, tooltip, etc.). It has been enhanced beyond the scope of te Swing implementation to additionaly support toggle state and accelerators which apply to some descendants of AbstractButton such as javax.swing.JCheckBoxMenuItem.
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
PropertyChangeAdaptor
public PropertyChangeAdaptor(javax.swing.AbstractButton adaptee,
javax.swing.Action action)
getAdaptee
protected javax.swing.AbstractButton getAdaptee()
propertyChange
public final void propertyChange(java.beans.PropertyChangeEvent e)
-
- Specified by:
propertyChange
in interface java.beans.PropertyChangeListener
_propertyChange
protected void _propertyChange(java.beans.PropertyChangeEvent e)
nameChanged
protected void nameChanged(java.beans.PropertyChangeEvent e)
tooltipChanged
protected void tooltipChanged(java.beans.PropertyChangeEvent e)
enabledChanged
protected void enabledChanged(java.beans.PropertyChangeEvent e)
smallIconChanged
protected void smallIconChanged(java.beans.PropertyChangeEvent e)
mnemonicChanged
protected void mnemonicChanged(java.beans.PropertyChangeEvent e)
stateChanged
protected void stateChanged(java.beans.PropertyChangeEvent e)
acceleratorChanged
protected void acceleratorChanged(java.beans.PropertyChangeEvent e)
Copyright © 1997, 2004, Oracle. All rights reserved.