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 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
-
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description static LayoutFactory.BasicPropertyAdaptSupport.IRemoveAsListenerFromComponentCondition
getInstance()
Singleton retrieval.java.util.Set<java.lang.String>
getPropertyChangePropertiesToListenForRemovalOn()
Never!boolean
isRemoveMeAsListenerComponentEvent(java.beans.PropertyChangeEvent event)
Implementation dummy that never will decide to remove the calling
to 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:
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)
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:
LayoutFactory.BasicPropertyAdaptSupport.IRemoveAsListenerFromComponentCondition.isRemoveMeAsListenerComponentEvent(java.beans.PropertyChangeEvent)
-
-