Package it.tidalwave.role.ui.function
Class WeakCopyFunctionSupport<T>
java.lang.Object
it.tidalwave.role.ui.function.BoundFunctionSupport<T,T>
it.tidalwave.role.ui.function.UnaryBoundFunctionSupport<T,T>
it.tidalwave.role.ui.function.WeakCopyFunctionSupport<T>
- All Implemented Interfaces:
Changeable<T>,ChangingSource<T>,BoundFunction<T,T>
- Direct Known Subclasses:
CopyIfEmptyOrConform
public abstract class WeakCopyFunctionSupport<T>
extends UnaryBoundFunctionSupport<T,T>
implements Changeable<T>
Changes the destination only at a certain condition in function of the target.
- Author:
- Fabrizio Giudici
-
Field Summary
FieldsFields inherited from class it.tidalwave.role.ui.function.UnaryBoundFunctionSupport
source, value -
Constructor Summary
Constructors -
Method Summary
Methods inherited from class it.tidalwave.role.ui.function.UnaryBoundFunctionSupport
getMethods inherited from class it.tidalwave.role.ui.function.BoundFunctionSupport
fireValueChanged, fireValueChanged, unbindAllMethods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitMethods inherited from interface it.tidalwave.role.ui.ChangingSource
addPropertyChangeListener, getPropertyChangeListeners, removePropertyChangeListener
-
Field Details
-
targetValue
-
-
Constructor Details
-
WeakCopyFunctionSupport
-
-
Method Details
-
onSourceChange
- Overrides:
onSourceChangein classUnaryBoundFunctionSupport<T,T>
-
set
Description copied from interface:ChangeableSets a new value to this object.- Specified by:
setin interfaceChangeable<T>- Parameters:
value- the new value
-
shouldChange
-
function
- Specified by:
functionin classUnaryBoundFunctionSupport<T,T>
-