Package org.jmol.modelset
Class Chain
java.lang.Object
org.jmol.modelset.Chain
- All Implemented Interfaces:
Structure
A Model is a collection of Chains of Groups of Atoms.
Chains hold overall information relating to a Monomer,
particularly whether this monomer is RNA or DNA.
-
Field Summary
FieldsModifier and TypeFieldDescriptionint
chainID is either the integer form of a single character or a pointer into a map held in Viewer that allows retrieval of a longer stringint
chainNo is for information purposes only; retrieved by {atoms}.chainNoint
Group[]
Groups form the essence of what a Chain is.int
Calculated just prior to coloring by group so that the range is appropriate for each chain. -
Method Summary
Modifier and TypeMethodDescriptiongetIDStr()
void
setAtomBits
(BS bs) void
setAtomBitsAndClear
(BS bs, BS bsOut)
-
Field Details
-
model
-
chainID
public int chainIDchainID is either the integer form of a single character or a pointer into a map held in Viewer that allows retrieval of a longer string -
chainNo
public int chainNochainNo is for information purposes only; retrieved by {atoms}.chainNo -
groups
Groups form the essence of what a Chain is. This number will be 0 if there is no chain designation in the PDB or CIF file or when the file is not of a type that would have chain designations. -
groupCount
public int groupCount -
selectedGroupCount
public int selectedGroupCountCalculated just prior to coloring by group so that the range is appropriate for each chain.
-
-
Method Details
-
getIDStr
- Returns:
- actual string form of the chain identifier
-
setAtomBits
- Specified by:
setAtomBits
in interfaceStructure
-
setAtomBitsAndClear
- Specified by:
setAtomBitsAndClear
in interfaceStructure
-