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

java.lang.Object
  extended by info.monitorenter.gui.chart.controls.LayoutFactory.BasicPropertyAdaptSupport.RemoveAsListenerFromComponentIfTraceIsDropped
All Implemented Interfaces:
LayoutFactory.BasicPropertyAdaptSupport.IRemoveAsListenerFromComponentCondition
Enclosing class:
LayoutFactory.BasicPropertyAdaptSupport

public static class LayoutFactory.BasicPropertyAdaptSupport.RemoveAsListenerFromComponentIfTraceIsDropped
extends Object
implements LayoutFactory.BasicPropertyAdaptSupport.IRemoveAsListenerFromComponentCondition

Implementation based on the event Chart2D.PROPERTY_ADD_REMOVE_TRACE sent with an old value ITrace2D that has to be matched.

Author:
Achim Westermann

Constructor Summary
LayoutFactory.BasicPropertyAdaptSupport.RemoveAsListenerFromComponentIfTraceIsDropped(ITrace2D quitIfRemoved)
           
 
Method Summary
 Set<String> getPropertyChangePropertiesToListenForRemovalOn()
          Property change properties sent by the component that will cause instances of this class to remove themselves as a property change listener from the component listened to.
 boolean isRemoveMeAsListenerComponentEvent(PropertyChangeEvent event)
          Returns true if the calling LayoutFactory.BasicPropertyAdaptSupport should return itself as a listener from the Component it listens to.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

LayoutFactory.BasicPropertyAdaptSupport.RemoveAsListenerFromComponentIfTraceIsDropped

public LayoutFactory.BasicPropertyAdaptSupport.RemoveAsListenerFromComponentIfTraceIsDropped(ITrace2D quitIfRemoved)
Method Detail

getPropertyChangePropertiesToListenForRemovalOn

public Set<String> getPropertyChangePropertiesToListenForRemovalOn()
Description copied from interface: LayoutFactory.BasicPropertyAdaptSupport.IRemoveAsListenerFromComponentCondition
Property change properties sent by the component that will cause instances of this class to remove themselves as a property change listener from the component listened to.

Specified by:
getPropertyChangePropertiesToListenForRemovalOn in interface LayoutFactory.BasicPropertyAdaptSupport.IRemoveAsListenerFromComponentCondition
Returns:
property change properties sent by the component that will cause instances of this class to remove themselves as a property change listener from the component listened to.
See Also:
LayoutFactory.BasicPropertyAdaptSupport.IRemoveAsListenerFromComponentCondition.getPropertyChangePropertiesToListenForRemovalOn()

isRemoveMeAsListenerComponentEvent

public boolean isRemoveMeAsListenerComponentEvent(PropertyChangeEvent event)
Description copied from interface: LayoutFactory.BasicPropertyAdaptSupport.IRemoveAsListenerFromComponentCondition
Returns true if the calling LayoutFactory.BasicPropertyAdaptSupport should return itself as a listener from the Component it listens to.

Specified by:
isRemoveMeAsListenerComponentEvent in interface LayoutFactory.BasicPropertyAdaptSupport.IRemoveAsListenerFromComponentCondition
Parameters:
event - the event received by the LayoutFactory.BasicPropertyAdaptSupport sent from the component listened to.
Returns:
true if the calling LayoutFactory.BasicPropertyAdaptSupport should return itself as a listener from the Component it listens to.
See Also:
LayoutFactory.BasicPropertyAdaptSupport.IRemoveAsListenerFromComponentCondition.isRemoveMeAsListenerComponentEvent(java.beans.PropertyChangeEvent)


Copyright © 2001 - 2010 LGPL, All Rights Footloose.