gov.lbl.genome.gui.panel
Class AnnotationPanelPicture

java.lang.Object
  extended by gov.lbl.genome.gui.Picture
      extended by gov.lbl.genome.gui.panel.AnnotationPanelPicture

public class AnnotationPanelPicture
extends Picture

Title: AnnotationPanelPicture

Description: draw annotation Picture

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

Company: LBNL


Field Summary
 int ANNOTATION_HEIGHT
           
 int GENE_NAME_OFFSET
           
 int GENE_Y_POS
           
 
Fields inherited from class gov.lbl.genome.gui.Picture
component, debug, df, g, g2d, G2D, height, image, imageableHeight, imageableWidth, marginBottom, marginLeft, marginRight, marginTop, maxHeight, maxWidth, maxX, minX, name, pixelWidth, tooSmall, va, width, z
 
Constructor Summary
AnnotationPanelPicture(VistaApp vapp, java.lang.String name)
          AnnotationPanelPicture
 
Method Summary
 void drawGene(Gene gene, java.awt.Graphics g)
          draw gene name and arrow
 void drawPicture(java.awt.Graphics g)
          draw annotation Picture
 void drawPicture(java.awt.Graphics g, javax.swing.JComponent comp)
          draw annotation Picture
 
Methods inherited from class gov.lbl.genome.gui.Picture
convertX, convertX, debug, drawPicture, drawPicture, drawPicture, drawPicture, getDX, getFormattedNumberString, getFormattedNumberString, getFormattedXDisplayString, getHeight, getImage, getImage, getImage, getImage, getImage, getImageableHeight, getImageableWidth, getMarginBottom, getMarginLeft, getMarginRight, getMarginTop, getMaxHeight, getMaxWidth, getRelX, getRelX, getStringWidth, getWidth, getXDisplay, setComponent, setDebug, setImageableArea, setImageableArea, setMarginRight, setMargins, setMargins, setMaxX, setMaxX, setMinMaxX, setMinMaxX, setMinX, setMinX, setPage, setSize, setSize, setSize, setSize, setZ, shortenString, toString, translate, translate, X, Y
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Field Detail

GENE_Y_POS

public int GENE_Y_POS

GENE_NAME_OFFSET

public int GENE_NAME_OFFSET

ANNOTATION_HEIGHT

public int ANNOTATION_HEIGHT
Constructor Detail

AnnotationPanelPicture

public AnnotationPanelPicture(VistaApp vapp,
                              java.lang.String name)
AnnotationPanelPicture

Parameters:
vapp - VistaApp
name - String
Method Detail

drawPicture

public void drawPicture(java.awt.Graphics g,
                        javax.swing.JComponent comp)
draw annotation Picture

Overrides:
drawPicture in class Picture
Parameters:
g - Graphics
comp - JComponent

drawPicture

public void drawPicture(java.awt.Graphics g)
draw annotation Picture

Overrides:
drawPicture in class Picture
Parameters:
g - Graphics

drawGene

public void drawGene(Gene gene,
                     java.awt.Graphics g)
draw gene name and arrow

Parameters:
gene - Gene
g - Graphics