org.jmol.modelset
public final class Chain extends Object
Modifier and Type | Field and Description |
---|---|
private BitSet |
bsSelectedGroups |
(package private) char |
chainID |
(package private) int |
groupCount |
(package private) Group[] |
groups |
private boolean |
isDna |
private boolean |
isRna |
(package private) Model |
model |
(package private) ModelSet |
modelSet |
private int |
selectedGroupCount |
Constructor and Description |
---|
Chain(ModelSet modelSet,
Model model,
char chainID) |
Modifier and Type | Method and Description |
---|---|
(package private) void |
calcSelectedGroupsCount(BitSet bsSelected)
prior to coloring by group, we need the chain count per chain
that is selected
|
(package private) void |
fixIndices(int atomsDeleted,
BitSet bsDeleted) |
Atom |
getAtom(int index) |
char |
getChainID() |
(package private) Group |
getGroup(int groupIndex) |
(package private) int |
getGroupCount() |
(package private) ModelSet |
getModelSet() |
(package private) int |
getSelectedGroupCount() |
boolean |
isDna() |
boolean |
isRna() |
(package private) int |
selectSeqcodeRange(int index0,
int seqcodeA,
int seqcodeB,
BitSet bs) |
(package private) void |
setAtomBitSet(BitSet bs) |
void |
setIsDna(boolean TF) |
void |
setIsRna(boolean TF) |
(package private) void |
setModelSet(ModelSet modelSet) |
ModelSet modelSet
Model model
char chainID
int groupCount
Group[] groups
private int selectedGroupCount
private boolean isDna
private boolean isRna
private BitSet bsSelectedGroups
public char getChainID()
public boolean isDna()
public boolean isRna()
public void setIsDna(boolean TF)
public void setIsRna(boolean TF)
public Atom getAtom(int index)
void setModelSet(ModelSet modelSet)
ModelSet getModelSet()
Group getGroup(int groupIndex)
int getGroupCount()
void calcSelectedGroupsCount(BitSet bsSelected)
bsSelected
- int selectSeqcodeRange(int index0, int seqcodeA, int seqcodeB, BitSet bs)
int getSelectedGroupCount()
void fixIndices(int atomsDeleted, BitSet bsDeleted)
void setAtomBitSet(BitSet bs)