Class SingleLevelNot
Object
SingleLevelNot
- All Implemented Interfaces:
SingleLevelOutputEnabled
The complement of an existing
SingleLevelOutputEnabled
where disabled outputs are
enabled, and vice-versa.- Author:
- Owen Feehan
-
Constructor Summary
ConstructorsConstructorDescriptionCreates a newSingleLevelNot
instance. -
Method Summary
Modifier and TypeMethodDescriptionboolean
isOutputEnabled
(String outputName) Is a particular a particular output-enabled?
-
Constructor Details
-
SingleLevelNot
Creates a newSingleLevelNot
instance.- Parameters:
source
- TheSingleLevelOutputEnabled
to be complemented.
-
-
Method Details
-
isOutputEnabled
Description copied from interface:SingleLevelOutputEnabled
Is a particular a particular output-enabled?- Specified by:
isOutputEnabled
in interfaceSingleLevelOutputEnabled
- Parameters:
outputName
- the name of the output- Returns:
- true iff the output is allowed
-