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 event
sent with an old valueChart2D.PROPERTY_ADD_REMOVE_TRACE
that 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.boolean
isRemoveMeAsListenerComponentEvent(java.beans.PropertyChangeEvent event)
Returns true if the calling
should return itself as a listener from theLayoutFactory.BasicPropertyAdaptSupport
it 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.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 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.IRemoveAsListenerFromComponentCondition
Returns true if the calling
should return itself as a listener from theLayoutFactory.BasicPropertyAdaptSupport
it listens to.Component
- Specified by:
isRemoveMeAsListenerComponentEvent
in interfaceLayoutFactory.BasicPropertyAdaptSupport.IRemoveAsListenerFromComponentCondition
- Parameters:
event
- the event received by theLayoutFactory.BasicPropertyAdaptSupport
- Returns:
- true if the calling
should return itself as a listener from theLayoutFactory.BasicPropertyAdaptSupport
Component
- See Also:
LayoutFactory.BasicPropertyAdaptSupport.IRemoveAsListenerFromComponentCondition.isRemoveMeAsListenerComponentEvent(java.beans.PropertyChangeEvent)
-
-