public static class LayoutFactory.BasicPropertyAdaptSupport.RemoveAsListenerFromComponentNever extends java.lang.Object implements LayoutFactory.BasicPropertyAdaptSupport.IRemoveAsListenerFromComponentCondition
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
Modifier and Type | Method and 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. |
public static LayoutFactory.BasicPropertyAdaptSupport.IRemoveAsListenerFromComponentCondition getInstance()
public java.util.Set<java.lang.String> getPropertyChangePropertiesToListenForRemovalOn()
getPropertyChangePropertiesToListenForRemovalOn
in interface LayoutFactory.BasicPropertyAdaptSupport.IRemoveAsListenerFromComponentCondition
LayoutFactory.BasicPropertyAdaptSupport.IRemoveAsListenerFromComponentCondition.getPropertyChangePropertiesToListenForRemovalOn()
public boolean isRemoveMeAsListenerComponentEvent(java.beans.PropertyChangeEvent event)
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
isRemoveMeAsListenerComponentEvent
in interface LayoutFactory.BasicPropertyAdaptSupport.IRemoveAsListenerFromComponentCondition
event
- the event received by the
LayoutFactory.BasicPropertyAdaptSupport
sent from the
component listened to.LayoutFactory.BasicPropertyAdaptSupport
should return itself as a listener from the
Component
it listens to.LayoutFactory.BasicPropertyAdaptSupport.IRemoveAsListenerFromComponentCondition.isRemoveMeAsListenerComponentEvent(java.beans.PropertyChangeEvent)
Copyright © 2001 - 2010 LGPL, All Rights Footloose.