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