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
Modifier and TypeFieldDescriptionprotected final ChangingSource
<DOMAIN_TYPE> protected CODOMAIN_TYPE
-
Constructor Summary
ModifierConstructorDescriptionprotected
-
Method Summary
Modifier and TypeMethodDescriptionprotected abstract CODOMAIN_TYPE
function
(DOMAIN_TYPE value) final CODOMAIN_TYPE
get()
Returns the value of this object.protected void
onSourceChange
(DOMAIN_TYPE oldSourceValue, DOMAIN_TYPE newSourceValue) 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
-
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:ChangingSource
Returns the value of this object.- Returns:
- the value
-