Class pmr.molecule.BasicSequence
All Packages  Class Hierarchy  This Package  Previous  Next  Index

Class pmr.molecule.BasicSequence

java.lang.Object
   |
   +----pmr.simplegraph.DrawableObject
           |
           +----pmr.molecule.BasicSequence

public class BasicSequence
extends DrawableObject
a simple Sequence class from which Protein and NucleicAcid sequences are derived
Author:
(C) P.Murray-Rust, 1996

Constructor Index

 o BasicSequence()
 o BasicSequence(String)
create in one-letter form

Method Index

 o display(Graphics)
simple output of sequence - normally overwritten
 o getProperty(String)
not yet developed fully
 o getResidueCount()
the length
 o getSequence()
get the sequence string
 o main(String[])
test routine
 o process()
complex objects may require processing; override this

Constructors

 o BasicSequence
  public BasicSequence()
 o BasicSequence
  public BasicSequence(String s)
create in one-letter form

Methods

 o getSequence
  public String getSequence()
get the sequence string
 o getResidueCount
  public int getResidueCount()
the length
 o process
  public void process()
complex objects may require processing; override this
Overrides:
process in class DrawableObject
 o display
  public void display(Graphics g)
simple output of sequence - normally overwritten
Overrides:
display in class DrawableObject
 o getProperty
  public RealArray getProperty(String propertyName)
not yet developed fully
 o main
  public static void main(String args[])
test routine

All Packages  Class Hierarchy  This Package  Previous  Next  Index