Main Page | Namespace List | Class Hierarchy | Class List | Class Members | Related Pages

gov::lbl::genome::gui::panel::AnnotationPanel Class Reference

Inheritance diagram for gov::lbl::genome::gui::panel::AnnotationPanel:

Inheritance graph
[legend]
Collaboration diagram for gov::lbl::genome::gui::panel::AnnotationPanel:

Collaboration graph
[legend]
List of all members.

Public Member Functions

 AnnotationPanel (VistaApp vapp)
 AnnotationPanel (VistaApp vapp, PageFormat pf)
synchronized void setAnnotations (Vector annotations)
synchronized Vector getAnnotations ()
BufferedImage getImage ()
BufferedImage getImage (int i)
void requestAnnotations (final String chromosome, final long start, final long end)
void drawContent (Graphics g)
void drawContent (Graphics g, PageFormat pf, int line)
AnnotationPanelPicture getPicture ()
Graphics2D createImage ()
Object clone ()
void resetPicture ()

Public Attributes

int GENE_Y_POS = 10
int GENE_NAME_OFFSET = 10
int ANNOTATION_HEIGHT = 5

Package Attributes

ChromSegment[] annotLookup
String src = "genes"
CommUnit cu = null
String old_chromosome = ""
long old_start = 0
long old_end = 0

Detailed Description

Title: AnnotationPanel

Description: Draw annotation picture

Copyright: Copyright (c) 2002 Ernest Orlando Lawrence Berkeley National Laboratory

Company: LBNL

Author:
Michael Teplitskiy
Version:
1.0


Constructor & Destructor Documentation

gov::lbl::genome::gui::panel::AnnotationPanel::AnnotationPanel VistaApp  vapp  )  [inline]
 

AnnotationPanel

Parameters:
vapp VistaApp

gov::lbl::genome::gui::panel::AnnotationPanel::AnnotationPanel VistaApp  vapp,
PageFormat  pf
[inline]
 

AnnotationPanel

Parameters:
vapp VistaApp
pf PageFormat


Member Function Documentation

Object gov::lbl::genome::gui::panel::AnnotationPanel::clone  )  [inline]
 

clone the panel

Returns:
Object

Graphics2D gov::lbl::genome::gui::panel::AnnotationPanel::createImage  )  [inline]
 

create annotation Image

Returns:
Graphics2D

Reimplemented from gov::lbl::genome::gui::panel::VistaPanel.

void gov::lbl::genome::gui::panel::AnnotationPanel::drawContent Graphics  g,
PageFormat  pf,
int  line
[inline]
 

draw Content

Parameters:
g Graphics
pf PageFormat
line int

void gov::lbl::genome::gui::panel::AnnotationPanel::drawContent Graphics  g  )  [inline]
 

draw Content

Parameters:
g Graphics

synchronized Vector gov::lbl::genome::gui::panel::AnnotationPanel::getAnnotations  )  [inline]
 

return Annotations

Returns:
Vector

BufferedImage gov::lbl::genome::gui::panel::AnnotationPanel::getImage int  i  )  [inline]
 

return pictures Image

Parameters:
i int
Returns:
BufferedImage

BufferedImage gov::lbl::genome::gui::panel::AnnotationPanel::getImage  )  [inline]
 

return pictures Image

Returns:
BufferedImage

AnnotationPanelPicture gov::lbl::genome::gui::panel::AnnotationPanel::getPicture  )  [inline]
 

return annotation Picture

Returns:
AnnotationPanelPicture

void gov::lbl::genome::gui::panel::AnnotationPanel::requestAnnotations final String  chromosome,
final long  start,
final long  end
[inline]
 

request Annotations from the server

Parameters:
chromosome String
start long
end long
See also:
gov.lbl.genome.common.CommUnit::getAnno(String, String, String, String, String)

void gov::lbl::genome::gui::panel::AnnotationPanel::resetPicture  )  [inline]
 

reset annotation Picture

synchronized void gov::lbl::genome::gui::panel::AnnotationPanel::setAnnotations Vector  annotations  )  [inline]
 

set Annotations

Parameters:
annotations Vector


The documentation for this class was generated from the following file:
Generated on Wed Jan 19 17:01:22 2005 by  doxygen 1.3.9.1