Class LayoutFactory.BasicPropertyAdaptSupport.RemoveAsListenerFromComponentIfTraceIsDropped
- java.lang.Object
-
- 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 java.lang.Object implements LayoutFactory.BasicPropertyAdaptSupport.IRemoveAsListenerFromComponentCondition
Implementation based on the eventsent with an old valueChart2D.PROPERTY_ADD_REMOVE_TRACEthat has to be matched.ITrace2D- Author:
- Achim Westermann
-
-
Constructor Summary
Constructors Constructor Description RemoveAsListenerFromComponentIfTraceIsDropped(ITrace2D quitIfRemoved)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description java.util.Set<java.lang.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.booleanisRemoveMeAsListenerComponentEvent(java.beans.PropertyChangeEvent event)Returns true if the callingshould return itself as a listener from theLayoutFactory.BasicPropertyAdaptSupportit listens to.Component
-
-
-
Constructor Detail
-
RemoveAsListenerFromComponentIfTraceIsDropped
public RemoveAsListenerFromComponentIfTraceIsDropped(ITrace2D quitIfRemoved)
-
-
Method Detail
-
getPropertyChangePropertiesToListenForRemovalOn
public java.util.Set<java.lang.String> getPropertyChangePropertiesToListenForRemovalOn()
Description copied from interface:LayoutFactory.BasicPropertyAdaptSupport.IRemoveAsListenerFromComponentConditionProperty 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:
getPropertyChangePropertiesToListenForRemovalOnin interfaceLayoutFactory.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(java.beans.PropertyChangeEvent event)
Description copied from interface:LayoutFactory.BasicPropertyAdaptSupport.IRemoveAsListenerFromComponentConditionReturns true if the callingshould return itself as a listener from theLayoutFactory.BasicPropertyAdaptSupportit listens to.Component- Specified by:
isRemoveMeAsListenerComponentEventin interfaceLayoutFactory.BasicPropertyAdaptSupport.IRemoveAsListenerFromComponentCondition- Parameters:
event- the event received by thesent from the component listened to.LayoutFactory.BasicPropertyAdaptSupport- Returns:
- true if the calling
should return itself as a listener from theLayoutFactory.BasicPropertyAdaptSupportit listens to.Component - See Also:
LayoutFactory.BasicPropertyAdaptSupport.IRemoveAsListenerFromComponentCondition.isRemoveMeAsListenerComponentEvent(java.beans.PropertyChangeEvent)
-
-