Class LayoutFactory.BasicPropertyAdaptSupport.RemoveAsListenerFromComponentNever
java.lang.Object
info.monitorenter.gui.chart.controls.LayoutFactory.BasicPropertyAdaptSupport.RemoveAsListenerFromComponentNever
- All Implemented Interfaces:
LayoutFactory.BasicPropertyAdaptSupport.IRemoveAsListenerFromComponentCondition
- Enclosing class:
LayoutFactory.BasicPropertyAdaptSupport
public static class LayoutFactory.BasicPropertyAdaptSupport.RemoveAsListenerFromComponentNever
extends Object
implements LayoutFactory.BasicPropertyAdaptSupport.IRemoveAsListenerFromComponentCondition
Implementation dummy that never will decide to remove the calling
LayoutFactory.BasicPropertyAdaptSupport
to be removed.
This is useful e.g. for menu entries related to the chart itself (
) where there is no known case that the chart could be removed but other
application objects could still hold a listener reference to these
LayoutFactory.createChartPopupMenu(ChartPanel, boolean)
instances.
LayoutFactory.BasicPropertyAdaptSupport
-
Method Summary
Modifier and TypeMethodDescriptionSingleton retrieval.Never!boolean
Implementation dummy that never will decide to remove the calling
to be removed.LayoutFactory.BasicPropertyAdaptSupport
-
Method Details
-
getInstance
public static LayoutFactory.BasicPropertyAdaptSupport.IRemoveAsListenerFromComponentCondition getInstance()Singleton retrieval.- Returns:
- the sole instance in this VM.
-
getPropertyChangePropertiesToListenForRemovalOn
Never!- 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
Implementation dummy that never will decide to remove the calling
to be removed.LayoutFactory.BasicPropertyAdaptSupport
This is useful e.g. for menu entries related to the chart itself (
) where there is no known case that the chart could be removed but other application objects could still hold a listener reference to theseLayoutFactory.createChartPopupMenu(ChartPanel, boolean)
instances.LayoutFactory.BasicPropertyAdaptSupport
- 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:
-