meshi.sequences
Class AlignmentCell
java.lang.Object
meshi.sequences.AlignmentCell
- All Implemented Interfaces:
- Attributable
- Direct Known Subclasses:
- AtomAlignmentCell, ResidueAlignmentCell, SequenceAlignmentCell
public abstract class AlignmentCell
- extends java.lang.Object
- implements Attributable
A container for a protein element and its number.
|
Constructor Summary |
AlignmentCell(java.lang.Object obj,
int number)
|
AlignmentCell(java.lang.Object obj,
int number,
java.lang.String comment)
|
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
number
public final int number
obj
public final java.lang.Object obj
comment
public final java.lang.String comment
attributes
private AttributesRack attributes
AlignmentCell
public AlignmentCell(java.lang.Object obj,
int number)
AlignmentCell
public AlignmentCell(java.lang.Object obj,
int number,
java.lang.String comment)
object
public java.lang.Object object()
number
public int number()
gap
public abstract boolean gap()
column
public AlignmentColumn column()
addAttribute
public void addAttribute(MeshiAttribute attribute)
- Specified by:
addAttribute in interface Attributable
getAttribute
public MeshiAttribute getAttribute(int key)
- Specified by:
getAttribute in interface Attributable