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 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
Constructors -
Method Summary
Modifier and TypeMethodDescriptionProperty 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
Returns true if the calling
should return itself as a listener from theLayoutFactory.BasicPropertyAdaptSupport
it listens to.Component
-
Constructor Details
-
RemoveAsListenerFromComponentIfTraceIsDropped
-
-
Method Details
-
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:
-
isRemoveMeAsListenerComponentEvent
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:
-