Class 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
ConstructorsConstructorDescriptionIndexedChannel(String name, int index) Creates a newIndexedChannelinstance. -
Method Summary
Modifier and TypeMethodDescriptionintgetIndex()The index (starting at zero) of thisChannelrelative to others.getName()The name of theChannelthis entry represents.voidsetIndex(int index) The index (starting at zero) of thisChannelrelative to others.voidThe 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.
-