|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectedu.iastate.metnet.birdseyeview.cellview.PanelLocationsFactory
public class PanelLocationsFactory
The PanelLocationsFactory Class handles the functionality surrounding the locations of gene panels in the cell view relative to the parent component (i.e. the cell image). The gene panels must be placed on the correct cell compartment.
| Constructor Summary | |
|---|---|
PanelLocationsFactory(Database db)
Constructor. |
|
| Method Summary | |
|---|---|
CellularLocation |
getCellLocation(java.lang.String name)
|
java.awt.Point |
getPanelLocation(java.lang.String name)
This method returns the next available gene panel location for the given cellular location (compartment). |
static java.util.ArrayList |
getPointsInRectangle(java.awt.Rectangle rawBounds)
This method returns a list of points for gene panel locations inside the given rectangle. |
static void |
main(java.lang.String[] args)
This method tests the PanelLocationsFactory class. |
void |
resetPanelLocations()
This method resets all the points for all the cellular locations. |
void |
setAnnotationtoLocation(java.lang.String name,
Annotation ann)
|
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public PanelLocationsFactory(Database db)
db - Database object| Method Detail |
|---|
public java.awt.Point getPanelLocation(java.lang.String name)
name - String - cellular location name
public CellularLocation getCellLocation(java.lang.String name)
public void setAnnotationtoLocation(java.lang.String name,
Annotation ann)
public void resetPanelLocations()
public static java.util.ArrayList getPointsInRectangle(java.awt.Rectangle rawBounds)
rawBounds - Rectangle which will hold the gene panels
public static void main(java.lang.String[] args)
args -
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||