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 java.lang.Object implements LayoutFactory.BasicPropertyAdaptSupport.IRemoveAsListenerFromComponentCondition
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
-
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description static LayoutFactory.BasicPropertyAdaptSupport.IRemoveAsListenerFromComponentConditiongetInstance()Singleton retrieval.java.util.Set<java.lang.String>getPropertyChangePropertiesToListenForRemovalOn()Never!booleanisRemoveMeAsListenerComponentEvent(java.beans.PropertyChangeEvent event)Implementation dummy that never will decide to remove the callingto be removed.LayoutFactory.BasicPropertyAdaptSupport
-
-
-
Method Detail
-
getInstance
public static LayoutFactory.BasicPropertyAdaptSupport.IRemoveAsListenerFromComponentCondition getInstance()
Singleton retrieval.- Returns:
- the sole instance in this VM.
-
getPropertyChangePropertiesToListenForRemovalOn
public java.util.Set<java.lang.String> 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:
LayoutFactory.BasicPropertyAdaptSupport.IRemoveAsListenerFromComponentCondition.getPropertyChangePropertiesToListenForRemovalOn()
-
isRemoveMeAsListenerComponentEvent
public boolean isRemoveMeAsListenerComponentEvent(java.beans.PropertyChangeEvent event)
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:
LayoutFactory.BasicPropertyAdaptSupport.IRemoveAsListenerFromComponentCondition.isRemoveMeAsListenerComponentEvent(java.beans.PropertyChangeEvent)
-
-