info.monitorenter.gui.chart.controls
Class LayoutFactory.BasicPropertyAdaptSupport.RemoveAsListenerFromComponentNever

java.lang.Object
  extended by 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 (LayoutFactory.createChartPopupMenu(ChartPanel, boolean)) 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.BasicPropertyAdaptSupport instances.


Method Summary
static LayoutFactory.BasicPropertyAdaptSupport.IRemoveAsListenerFromComponentCondition getInstance()
          Singleton retrieval.
 Set<String> getPropertyChangePropertiesToListenForRemovalOn()
          Never!
 boolean isRemoveMeAsListenerComponentEvent(PropertyChangeEvent event)
          Implementation dummy that never will decide to remove the calling LayoutFactory.BasicPropertyAdaptSupport to be removed.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Method Detail

getInstance

public static LayoutFactory.BasicPropertyAdaptSupport.IRemoveAsListenerFromComponentCondition getInstance()
Singleton retrieval.

Returns:
the sole instance in this VM.

getPropertyChangePropertiesToListenForRemovalOn

public Set<String> getPropertyChangePropertiesToListenForRemovalOn()
Never!

Specified by:
getPropertyChangePropertiesToListenForRemovalOn in interface LayoutFactory.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(PropertyChangeEvent event)
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 (LayoutFactory.createChartPopupMenu(ChartPanel, boolean)) 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.BasicPropertyAdaptSupport instances.

Specified by:
isRemoveMeAsListenerComponentEvent in interface LayoutFactory.BasicPropertyAdaptSupport.IRemoveAsListenerFromComponentCondition
Parameters:
event - the event received by the LayoutFactory.BasicPropertyAdaptSupport sent from the component listened to.
Returns:
true if the calling LayoutFactory.BasicPropertyAdaptSupport should return itself as a listener from the Component it listens to.
See Also:
LayoutFactory.BasicPropertyAdaptSupport.IRemoveAsListenerFromComponentCondition.isRemoveMeAsListenerComponentEvent(java.beans.PropertyChangeEvent)


Copyright © 2001 - 2010 LGPL, All Rights Footloose.