Package it.tidalwave.role.ui.function
Class BooleanBoundFunctionSupport
- java.lang.Object
-
- it.tidalwave.role.ui.function.BoundFunctionSupport<java.lang.Boolean,java.lang.Boolean>
-
- it.tidalwave.role.ui.function.BooleanBoundFunctionSupport
-
- All Implemented Interfaces:
ChangingSource<java.lang.Boolean>
,BoundFunction<java.lang.Boolean,java.lang.Boolean>
- Direct Known Subclasses:
AndFunction
,OrFunction
public abstract class BooleanBoundFunctionSupport extends BoundFunctionSupport<java.lang.Boolean,java.lang.Boolean>
- Author:
- Fabrizio Giudici
-
-
Field Summary
Fields Modifier and Type Field Description protected ChangingSource<java.lang.Boolean>[]
sources
-
Constructor Summary
Constructors Constructor Description BooleanBoundFunctionSupport(ChangingSource<java.lang.Boolean>... sources)
-
Method Summary
All Methods Instance Methods Abstract Methods Concrete Methods Modifier and Type Method Description protected abstract boolean
function()
java.lang.Boolean
get()
Returns the value of this object.-
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 Detail
-
sources
protected final ChangingSource<java.lang.Boolean>[] sources
-
-
Constructor Detail
-
BooleanBoundFunctionSupport
public BooleanBoundFunctionSupport(@Nonnull ChangingSource<java.lang.Boolean>... sources)
-
-
Method Detail
-
function
protected abstract boolean function()
-
get
@Nonnull public final java.lang.Boolean get()
Description copied from interface:ChangingSource
Returns the value of this object.- Returns:
- the value
-
-