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!booleanImplementation dummy that never will decide to remove the callingto 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:
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:
-
isRemoveMeAsListenerComponentEvent
Implementation dummy that never will decide to remove the callingto be removed.LayoutFactory.BasicPropertyAdaptSupportThis 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:
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:
-