Class MultiLevelNot
Object
MultiLevelNot
- All Implemented Interfaces:
MultiLevelOutputEnabled
,SingleLevelOutputEnabled
The complement of an existing
MultiLevelOutputEnabled
where disabled outputs are enabled,
and vice-versa.- Author:
- Owen Feehan
-
Constructor Summary
ConstructorsConstructorDescriptionMultiLevelNot
(MultiLevelOutputEnabled source) Creates a newMultiLevelNot
instance. -
Method Summary
Modifier and TypeMethodDescriptionboolean
isOutputEnabled
(String outputName) Is a particular a particular output-enabled?A second-level ofOutputEnabled
for a particularoutputName
as used in first-level.
-
Constructor Details
-
MultiLevelNot
Creates a newMultiLevelNot
instance.- Parameters:
source
- TheMultiLevelOutputEnabled
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
-
second
Description copied from interface:MultiLevelOutputEnabled
A second-level ofOutputEnabled
for a particularoutputName
as used in first-level.- Specified by:
second
in interfaceMultiLevelOutputEnabled
- Parameters:
outputName
- the name of the output.- Returns:
- an appropriate
OutputEnabled
for the second-level.
-