gov.lbl.genome.gui
Class VistaCurveView

java.lang.Object
  extended by gov.lbl.genome.gui.AbstractCurveView
      extended by gov.lbl.genome.gui.VistaCurveView
All Implemented Interfaces:
CurveView, java.lang.Cloneable

public class VistaCurveView
extends AbstractCurveView

Title: VistaCurveView

Description: create Vista curve picture

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

Company: LBNL


Field Summary
 
Fields inherited from class gov.lbl.genome.gui.AbstractCurveView
adjustedGraphHeight, adjustedGraphWidth, curveColor, g2d, graphView, height, lineNumber, marginLeft, marginRight, marginTop, maxX, maxY, minX, minY, model, nPoints, param, realGraphHeight, realGraphWidth, stroke, va, width, xDifference, xPoints, yDifference, yPoints
 
Constructor Summary
VistaCurveView(VistaCurveModel model, GeneralGraphView graphView, java.awt.Color color)
          VistaCurveView
 
Method Summary
 void fillAnnotations(java.awt.Graphics g)
          draw all annotations
 java.util.Vector getContigs()
          return Contigs
 java.lang.String getRunOrg()
          return run_id and org_id in the form _
 java.util.Vector getStatistics()
          return Statistics about conserved regions for the curve
 int printInfo(java.awt.Graphics g, int margin, int marginTop)
          print summary information on printer, PDF or bitmap image page
 void render(java.awt.Graphics g)
          draw curve and annotation
 
Methods inherited from class gov.lbl.genome.gui.AbstractCurveView
clone, convertX, convertX, convertY, getCurveModel, getGraphView, getMaxX, getMaxY, getMinX, getMinY, getWidth, refresh, renderInitialize, reRenderOff, reRenderOn, setCurveModel, setGraphView, setLineNumber, setMarginLeft, setMarginRight, setMarginTop, setMaxX, setMaxY, setMinX, setMinY, setSize, setStroke, toString, xDisplay
 
Methods inherited from class java.lang.Object
equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Constructor Detail

VistaCurveView

public VistaCurveView(VistaCurveModel model,
                      GeneralGraphView graphView,
                      java.awt.Color color)
VistaCurveView

Parameters:
model - VistaCurveModel
graphView - GeneralGraphView
color - Color
Method Detail

getRunOrg

public java.lang.String getRunOrg()
return run_id and org_id in the form _

Returns:
String

getStatistics

public java.util.Vector getStatistics()
return Statistics about conserved regions for the curve

Returns:
Vector

printInfo

public int printInfo(java.awt.Graphics g,
                     int margin,
                     int marginTop)
print summary information on printer, PDF or bitmap image page

Parameters:
g - Graphics
margin - int
marginTop - int
Returns:
int

render

public void render(java.awt.Graphics g)
draw curve and annotation

Parameters:
g - Graphics

fillAnnotations

public void fillAnnotations(java.awt.Graphics g)
draw all annotations

Parameters:
g - Graphics

getContigs

public java.util.Vector getContigs()
return Contigs

Returns:
Vector