uk.ac.ebi.intact.application.goDensity.business.image
Class DensityImage
java.lang.Object
|
+--uk.ac.ebi.intact.application.goDensity.business.image.DensityImage
- public class DensityImage
- extends java.lang.Object
Image rendering class for go-go-densities
- Version:
- $Id: DensityImage.java,v 1.2 2003/09/03 12:38:46 markusbrosch Exp $
- Author:
- Markus Brosch (markus @ brosch.cc)
|
Method Summary |
java.awt.image.BufferedImage |
getBufferedImage()
|
java.lang.String |
getImageMap(java.lang.String applicationPathURL)
|
static void |
main(java.lang.String[] s)
|
void |
saveImage(java.lang.String path)
save the jpg image to a specified path |
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
DensityImage
public DensityImage(GoGoDensity[][] interactions,
boolean color)
- constructor for a density image
- Parameters:
interactions - GoGoDensity interaction data (FastGoDag.getBinaryInteractions())color - switch for grayscale and heatgradient image
- true -> color
- false -> black&white
saveImage
public void saveImage(java.lang.String path)
- save the jpg image to a specified path
- Parameters:
path - path where the image should be stored
getImageMap
public java.lang.String getImageMap(java.lang.String applicationPathURL)
- Returns:
- an ImageMap for the image, which make a link for each cluster.
Each link should forward to a site, where the go-children of the actual
go cluster are displayed
getBufferedImage
public java.awt.image.BufferedImage getBufferedImage()
- Returns:
- the BufferedImage
main
public static void main(java.lang.String[] s)
IntAct Project - EMBL-EBI 2004 - intact-help@ebi.ac.uk