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
Fields inherited from class it.tidalwave.role.ui.function.UnaryBoundFunctionSupport
source, value
-
Constructor Summary
-
Method Summary
Methods inherited from class it.tidalwave.role.ui.function.UnaryBoundFunctionSupport
get
Methods inherited from class it.tidalwave.role.ui.function.BoundFunctionSupport
fireValueChanged, fireValueChanged, unbindAll
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
Methods inherited from interface it.tidalwave.role.ui.ChangingSource
addPropertyChangeListener, getPropertyChangeListeners, removePropertyChangeListener
-
Field Details
-
targetValue
-
-
Constructor Details
-
WeakCopyFunctionSupport
-
-
Method Details
-
onSourceChange
- Overrides:
onSourceChange
in classUnaryBoundFunctionSupport<T,
T>
-
set
Description copied from interface:Changeable
Sets a new value to this object.- Specified by:
set
in interfaceChangeable<T>
- Parameters:
value
- the new value
-
shouldChange
-
function
- Specified by:
function
in classUnaryBoundFunctionSupport<T,
T>
-