info.monitorenter.gui.chart.controls
Class LayoutFactory.BasicPropertyAdaptSupport

java.lang.Object
  extended by info.monitorenter.gui.chart.controls.LayoutFactory.BasicPropertyAdaptSupport
All Implemented Interfaces:
PropertyChangeListener, EventListener
Enclosing class:
LayoutFactory

public static class LayoutFactory.BasicPropertyAdaptSupport
extends Object
implements PropertyChangeListener

Implementation for a PropertyChangeListener that adpapts a wrapped JComponent to the following properties.

Author:
Achim Westermann

Field Summary
protected  WeakReference m_delegate
          The weak reference to the component to adapt properties on.
 
Constructor Summary
LayoutFactory.BasicPropertyAdaptSupport(Component delegate, Component adaptee)
           
 
Method Summary
 void finalize()
          Removes the listener for basic property changes from the component to adapt to.
 void propertyChange(PropertyChangeEvent evt)
           
 
Methods inherited from class java.lang.Object
clone, equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

m_delegate

protected WeakReference m_delegate
The weak reference to the component to adapt properties on.

Constructor Detail

LayoutFactory.BasicPropertyAdaptSupport

public LayoutFactory.BasicPropertyAdaptSupport(Component delegate,
                                               Component adaptee)
Parameters:
delegate - The component to adapt the properties on.
adaptee - The peer component delegate will be adapted to.
Method Detail

finalize

public void finalize()
              throws Throwable
Removes the listener for basic property changes from the component to adapt to.

Overrides:
finalize in class Object
Throws:
Throwable - if sth. goes wrong cleaning up.
See Also:
Object.finalize()

propertyChange

public void propertyChange(PropertyChangeEvent evt)
Specified by:
propertyChange in interface PropertyChangeListener
See Also:
PropertyChangeListener.propertyChange(java.beans.PropertyChangeEvent)


Copyright © 2001 - 2007 LGPL, All Rights Footloose.