|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
public static interface LayoutFactory.BasicPropertyAdaptSupport.IRemoveAsListenerFromComponentCondition
Interface to handle the removal of the
as a property change event
listener. It decides which property change events of the component should
be able to control removal from it as a property change listener and
especially if the property change event sent qualifies for removal.
LayoutFactory.BasicPropertyAdaptSupport
This is needed to avoid a memory- and performance leak due to remaining listeners in the components listened to.
Method Summary | |
---|---|
Set<String> |
getPropertyChangePropertiesToListenForRemovalOn()
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. |
boolean |
isRemoveMeAsListenerComponentEvent(PropertyChangeEvent event)
Returns true if the calling should return itself as
a listener from the it listens to. |
Method Detail |
---|
boolean isRemoveMeAsListenerComponentEvent(PropertyChangeEvent event)
LayoutFactory.BasicPropertyAdaptSupport
should return itself as
a listener from the Component
it listens to.
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.Set<String> getPropertyChangePropertiesToListenForRemovalOn()
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |