Class IndexedChannel
Object
org.anchoranalysis.bean.AnchorBean<IndexedChannel>
org.anchoranalysis.image.io.bean.channel.IndexedChannel
public class IndexedChannel extends AnchorBean<IndexedChannel>
A particular
Channel to be read from a file, identified by its position (index) in the
file.
A name is also assigned by the user.
- Author:
- Owen Feehan
-
Constructor Summary
Constructors Constructor Description IndexedChannel(String name, int index) -
Method Summary
Modifier and Type Method Description intgetIndex()The index (starting at zero) of thisChannelrelative to others.StringgetName()The name of theChannelthis entry represents.voidsetIndex(int index)The index (starting at zero) of thisChannelrelative to others.voidsetName(String name)The name of theChannelthis entry represents.Methods inherited from class org.anchoranalysis.bean.AnchorBean
checkMisconfigured, describeBean, describeChildren, duplicateBean, fields, findFieldsOfClass, getBeanName, getLocalPath, localise, toString
-
Constructor Details
-
Method Details
-
getName
The name of theChannelthis entry represents.This has no link to the underlying file, and may be assigned by the user, as makes sense.
-
setName
The name of theChannelthis entry represents.This has no link to the underlying file, and may be assigned by the user, as makes sense.
-
getIndex
public int getIndex()The index (starting at zero) of thisChannelrelative to others. -
setIndex
public void setIndex(int index)The index (starting at zero) of thisChannelrelative to others.
-