Package it.tidalwave.role.ui.function
Class OrFunction
- java.lang.Object
-
- it.tidalwave.role.ui.function.BoundFunctionSupport<java.lang.Boolean,java.lang.Boolean>
-
- it.tidalwave.role.ui.function.BooleanBoundFunctionSupport
-
- it.tidalwave.role.ui.function.OrFunction
-
- All Implemented Interfaces:
ChangingSource<java.lang.Boolean>
,BoundFunction<java.lang.Boolean,java.lang.Boolean>
public class OrFunction extends BooleanBoundFunctionSupport
- Author:
- Fabrizio Giudici
-
-
Field Summary
-
Fields inherited from class it.tidalwave.role.ui.function.BooleanBoundFunctionSupport
sources
-
-
Constructor Summary
Constructors Constructor Description OrFunction(ChangingSource<java.lang.Boolean>... sources)
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description protected boolean
function()
static OrFunction
or(ChangingSource<java.lang.Boolean>... sources)
-
Methods inherited from class it.tidalwave.role.ui.function.BooleanBoundFunctionSupport
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 Detail
-
OrFunction
public OrFunction(@Nonnull ChangingSource<java.lang.Boolean>... sources)
-
-
Method Detail
-
or
@Nonnull public static OrFunction or(@Nonnull ChangingSource<java.lang.Boolean>... sources)
-
function
protected final boolean function()
- Specified by:
function
in classBooleanBoundFunctionSupport
-
-