|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectedu.iastate.metnet.birdseyeview.pathwayview.Pathway
public class Pathway
The Pathway Class encapsulates the functionality of one pathway component in the pathway view. It holds a panel that displays the pathway's name and gene products.
| Constructor Summary | |
|---|---|
Pathway(java.lang.String i,
java.util.ArrayList d,
java.lang.String c,
boolean flag,
BirdsEyeView bev)
Constructor. |
|
| Method Summary | |
|---|---|
void |
addGene(Annotation a)
This method adds a gene panel to represent the given gene product annotation to the gene panel list. |
java.lang.String |
getCompartment()
This method returns the name of the cellular compartment (location) for this pathway. |
java.awt.Component |
getComponent()
This method causes the genes to be packaged and displayed, and then returns the finished image panel. |
java.util.ArrayList |
getDbNames()
This method returns the list of database names for this pathway. |
int |
getNumGenes()
This method returns the number of genes displayed in this pathway. |
boolean |
isActive()
This method returns the active flag. |
static void |
main(java.lang.String[] args,
java.lang.String algorithm)
This method tests the Pathway class. |
void |
removeAllGenes()
This method removes all the gene data by clearing out the gene container. |
void |
setGenes(int genesize)
This method adds the gene panels to the panel. |
int |
setPanel(java.awt.Rectangle r)
This method sets the dimensions of the panel and sets up the gene panel. |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public Pathway(java.lang.String i,
java.util.ArrayList d,
java.lang.String c,
boolean flag,
BirdsEyeView bev)
i - Name of pathway in displayd - Names of pathway in databasec - Cellular compartment (location)flag - Flag indicating that this pathway is in the databasebev - | Method Detail |
|---|
public void addGene(Annotation a)
a - public java.awt.Component getComponent()
public void removeAllGenes()
public java.util.ArrayList getDbNames()
public java.lang.String getCompartment()
public boolean isActive()
public int getNumGenes()
public void setGenes(int genesize)
public int setPanel(java.awt.Rectangle r)
r - Rectangle defining size and location of the panel
public static void main(java.lang.String[] args,
java.lang.String algorithm)
args -
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||