|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectedu.iastate.metnet.birdseyeview.pathwayview.Compartment
public class Compartment
The Compartment Class encapsulates the functionality of one cellular compartment component in the pathway view. It holds a panel that displays the compartment's color.
| Constructor Summary | |
|---|---|
Compartment(java.awt.Color c,
java.lang.String n)
Constructor. |
|
| Method Summary | |
|---|---|
java.awt.Component |
getComponent()
This method causes the genes to be packaged and displayed, and then returns the finished image panel. |
static java.lang.String |
getName()
This method returns the name of the compartment. |
static void |
main(java.lang.String[] args)
This method tests the Compartment class. |
void |
setPanel(java.awt.Rectangle r)
This method sets the dimensions of the panel. |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public Compartment(java.awt.Color c,
java.lang.String n)
c - Color of this compartmentn - Name of this compartment| Method Detail |
|---|
public java.awt.Component getComponent()
public static java.lang.String getName()
public void setPanel(java.awt.Rectangle r)
r - Rectangle defining size and location of the panelpublic static void main(java.lang.String[] args)
args -
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||