Package it.tidalwave.role.ui.function
Class UnaryBoundFunctionSupport<DOMAIN_TYPE,CODOMAIN_TYPE>
java.lang.Object
it.tidalwave.role.ui.function.BoundFunctionSupport<DOMAIN_TYPE,CODOMAIN_TYPE>
it.tidalwave.role.ui.function.UnaryBoundFunctionSupport<DOMAIN_TYPE,CODOMAIN_TYPE>
- All Implemented Interfaces:
ChangingSource<CODOMAIN_TYPE>,BoundFunction<DOMAIN_TYPE,CODOMAIN_TYPE>
- Direct Known Subclasses:
NonEmptyFunction,WeakCopyFunctionSupport
public abstract class UnaryBoundFunctionSupport<DOMAIN_TYPE,CODOMAIN_TYPE>
extends BoundFunctionSupport<DOMAIN_TYPE,CODOMAIN_TYPE>
- Author:
- Fabrizio Giudici
-
Field Summary
FieldsModifier and TypeFieldDescriptionprotected final ChangingSource<DOMAIN_TYPE> protected CODOMAIN_TYPE -
Constructor Summary
ConstructorsModifierConstructorDescriptionprotected -
Method Summary
Modifier and TypeMethodDescriptionprotected abstract CODOMAIN_TYPEfunction(DOMAIN_TYPE value) final CODOMAIN_TYPEget()Returns the value of this object.protected voidonSourceChange(DOMAIN_TYPE oldSourceValue, DOMAIN_TYPE newSourceValue) Methods 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
-
source
-
value
-
-
Constructor Details
-
UnaryBoundFunctionSupport
-
-
Method Details
-
onSourceChange
protected void onSourceChange(@Nonnull DOMAIN_TYPE oldSourceValue, @Nonnull DOMAIN_TYPE newSourceValue) -
function
-
get
Description copied from interface:ChangingSourceReturns the value of this object.- Returns:
- the value
-