-
Constructor Summary
Constructors
Creates a new instance with a specified channel provider.
-
Method Summary
void
Checks that a bean's properties conform to expectations.
Gets or creates an object of type T
.
A channel that is provided to the stack.
A mask that is provided to the stack.
boolean
If true, the output contains three channels (the input and two duplicates) instead of one.
void
A channel that is provided to the stack.
void
A mask that is provided to the stack.
void
If true, the output contains three channels (the input and two duplicates) instead of one.
-
Constructor Details
-
FromChannelOrMask
Creates a new instance with a specified channel provider.
- Parameters:
channel
- the ChannelProvider
to use.
-
FromChannelOrMask
public FromChannelOrMask()
-
Method Details
-
-
get
Description copied from interface: Provider
Gets or creates an object of type T
.
- Returns:
- the object returned by the provider.
- Throws:
ProvisionFailedException
- if the object cannot be returned.
-
getChannel
A channel that is provided to the stack. Either this or mask
must be set.
-
setChannel
A channel that is provided to the stack. Either this or mask
must be set.
-
getMask
A mask that is provided to the stack. Either this or channel
must be set.
-
setMask
A mask that is provided to the stack. Either this or channel
must be set.
-
isRgb
public boolean isRgb()
If true, the output contains three channels (the input and two duplicates) instead of one.
-
setRgb
public void setRgb(boolean rgb)
If true, the output contains three channels (the input and two duplicates) instead of one.