Package org.nuiton.jaxx.widgets
Class MutateOnConditionalPropertyChangeListener<M extends ModelToBean>
java.lang.Object
org.nuiton.jaxx.widgets.MutateOnConditionalPropertyChangeListener<M>
- All Implemented Interfaces:
PropertyChangeListener,EventListener
public class MutateOnConditionalPropertyChangeListener<M extends ModelToBean> extends Object implements PropertyChangeListener
A property change listener to mutate to a bean after a predicate was applied.
Created on 11/23/14.
- Since:
- 2.18
- Author:
- Tony Chemit - chemit@codelutin.com
-
Constructor Summary
Constructors Constructor Description MutateOnConditionalPropertyChangeListener(M model, Method mutator, com.google.common.base.Predicate<M> canMutatePredicate) -
Method Summary
Modifier and Type Method Description voidpropertyChange(PropertyChangeEvent evt)
-
Constructor Details
-
Method Details
-
propertyChange
- Specified by:
propertyChangein interfacePropertyChangeListener
-