|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
java.lang.Objectastex.generic.Generic
astex.Residue
public class Residue
A class for storing a group of atoms that form part of a protein residue.
| Field Summary | |
|---|---|
DynamicArray |
atoms
Dynmamic array of atoms. |
static int |
Coil
Sheet secondary structure type. |
static int |
Helix
Helix secondary structure type. |
static int |
Helix310
Helix secondary structure type. |
static java.lang.String |
ResidueColor
|
static int |
Sheet
Sheet secondary structure type. |
static java.lang.String |
TorsionFormat
|
static java.lang.String |
TorsionGreek
|
static java.lang.String |
TorsionRadius
|
static java.lang.String |
Torsions
|
static int |
Turn
Sheet secondary structure type. |
static int |
Undefined
Sheet secondary structure type. |
static java.lang.String |
undefinedResidueName
Undefined resiude name. |
static int |
undefinedResidueNumber
Undefined residue number. |
| Fields inherited from class astex.generic.Generic |
|---|
ClassName |
| Fields inherited from interface astex.generic.GenericInterface |
|---|
Name |
| Method Summary | |
|---|---|
void |
addAtom(Atom atom)
Add an atom to the list. |
static Residue |
create()
Public interface for creating residues. |
void |
delete()
Remove this residue. |
Atom |
findAtom(java.lang.String name)
Default to alternate location 'A'. |
Atom |
findAtom(java.lang.String name,
char code)
Similar to getAtom(String name) but will search in the previous residue if the name ends with '-' or the next residue if the name ends with '+'. |
Atom |
getAtom(int index)
Return the specified atom. |
Atom |
getAtom(java.lang.String nm)
Return the atom with the given name. |
Atom |
getAtom(java.lang.String nm,
char code)
Return the atom with the given name. |
int |
getAtomCount()
Return the number of atoms in the molecule. |
DynamicArray |
getAtoms()
Return the DynamicArray of atoms. |
char |
getInsertionCode()
Get the insertion code. |
java.lang.String |
getName()
Get the residue name. |
int |
getNumber()
Get the residue number. |
Chain |
getParent()
Get the parent. |
java.util.Enumeration |
getProperties()
Return an enumeration of our properties. |
int |
getSecondaryStructure()
Get the value of secondaryStructure. |
int |
getSequentialNumber()
Get the sequential residue number. |
boolean |
hasSelectedAtoms()
|
boolean |
isIon()
Is this residue an ion. |
boolean |
isIsolated()
Does this residue contain bonds to atoms in any other residues. |
boolean |
isNucleicAcid()
Is this a solvent residue. |
boolean |
isSolvent()
Is this a solvent residue. |
boolean |
isStandardAminoAcid()
Is this residue a standard amino acid. |
void |
removeAtom(Atom atom)
Remove an atom from the residue. |
int |
select(int state)
Apply a selection recursively. |
java.lang.String |
selectStatement()
|
void |
setInsertionCode(char code)
Set the insertion code. |
void |
setName(java.lang.String newName)
Set the residue name. |
void |
setNumber(int newNumber)
Set the residue number. |
void |
setParent(Chain chain)
Set the parent chain. |
void |
setSecondaryStructure(int v)
Set the value of secondaryStructure. |
void |
setSequentialNumber(int sNumber)
|
java.lang.String |
toString()
Print out a residue. |
| Methods inherited from class astex.generic.Generic |
|---|
addChild, addListener, addParent, get, getBoolean, getChildren, getClassname, getDouble, getInteger, getParents, getString, main, removeChild, removeListener, removeParent, set, setBoolean, setClassname, setDouble, setInteger, setString |
| Methods inherited from class java.lang.Object |
|---|
equals, getClass, hashCode, notify, notifyAll, wait, wait, wait |
| Field Detail |
|---|
public DynamicArray atoms
public static int undefinedResidueNumber
public static java.lang.String undefinedResidueName
public static final int Undefined
public static final int Sheet
public static final int Helix
public static final int Helix310
public static final int Turn
public static final int Coil
public static final java.lang.String ResidueColor
public static final java.lang.String Torsions
public static final java.lang.String TorsionRadius
public static final java.lang.String TorsionGreek
public static final java.lang.String TorsionFormat
| Method Detail |
|---|
public static Residue create()
public void setParent(Chain chain)
public Chain getParent()
public void setInsertionCode(char code)
public char getInsertionCode()
public void setName(java.lang.String newName)
public boolean hasSelectedAtoms()
public java.lang.String getName()
public int getSecondaryStructure()
public void setSecondaryStructure(int v)
v - Value to assign to secondaryStructure.public void setSequentialNumber(int sNumber)
public void setNumber(int newNumber)
public int getSequentialNumber()
public int getNumber()
public void addAtom(Atom atom)
public void removeAtom(Atom atom)
public void delete()
public int getAtomCount()
public Atom getAtom(int index)
public Atom getAtom(java.lang.String nm)
public Atom getAtom(java.lang.String nm,
char code)
public Atom findAtom(java.lang.String name)
public Atom findAtom(java.lang.String name,
char code)
public DynamicArray getAtoms()
public boolean isStandardAminoAcid()
public boolean isIon()
public boolean isSolvent()
public boolean isNucleicAcid()
public boolean isIsolated()
public java.lang.String selectStatement()
selectStatement in interface Selectablepublic int select(int state)
select in interface Selectablepublic java.lang.String toString()
toString in class java.lang.Objectpublic java.util.Enumeration getProperties()
GenericInterface
getProperties in interface GenericInterfacegetProperties in class Generic
|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||