Package it.tidalwave.role.ui.function
Class CopyIfEmptyOrConform
java.lang.Object
it.tidalwave.role.ui.function.BoundFunctionSupport<String,String>
it.tidalwave.role.ui.function.UnaryBoundFunctionSupport<String,String>
it.tidalwave.role.ui.function.WeakCopyFunctionSupport<String>
it.tidalwave.role.ui.function.CopyIfEmptyOrConform
- All Implemented Interfaces:
Changeable<String>
,ChangingSource<String>
,BoundFunction<String,
String>
- Author:
- Fabrizio Giudici
-
Field Summary
Fields inherited from class it.tidalwave.role.ui.function.WeakCopyFunctionSupport
targetValue
Fields inherited from class it.tidalwave.role.ui.function.UnaryBoundFunctionSupport
source, value
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionstatic CopyIfEmptyOrConform
copyIfEmptyOrConform
(ChangingSource<String> source) protected boolean
shouldChange
(String oldValue, String newValue) Methods inherited from class it.tidalwave.role.ui.function.WeakCopyFunctionSupport
function, onSourceChange, set
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
-
Constructor Details
-
CopyIfEmptyOrConform
-
-
Method Details
-
copyIfEmptyOrConform
@Nonnull public static CopyIfEmptyOrConform copyIfEmptyOrConform(@Nonnull ChangingSource<String> source) -
shouldChange
- Specified by:
shouldChange
in classWeakCopyFunctionSupport<String>
-