org.utgenome.gwt.utgb.server.app
Class CSEGViewer.GraphicalOutput

java.lang.Object
  extended by org.utgenome.gwt.utgb.server.app.CSEGViewer.GraphicalOutput
All Implemented Interfaces:
org.xerial.db.sql.BeanResultHandler<CSEGViewer.SEGData>
Enclosing class:
CSEGViewer

public class CSEGViewer.GraphicalOutput
extends Object
implements org.xerial.db.sql.BeanResultHandler<CSEGViewer.SEGData>


Field Summary
protected  GenomeCanvas canvas
           
protected  Color[] colors
           
protected  long endOffset
           
 int processed_records
           
protected  Color scale_color
           
protected  long startOffset
           
protected  int width
           
 
Constructor Summary
CSEGViewer.GraphicalOutput(javax.servlet.http.HttpServletResponse response, long start, long end, int width, int height)
           
 
Method Summary
 void finish()
           
 void handle(CSEGViewer.SEGData sd)
           
 void handleException(Exception e)
           
 void init()
           
 void setColors(String colorString)
           
 void setDrawScale(int integerParameter)
           
 void setFont_size(double font_size)
           
 void setIs_drawing_priority_indicies(boolean is_drawing_priority_indicies)
           
 void setParam_height_per_sample(int param_height_per_sample)
           
 void setParam_samples_per_scale(int param_samples_per_scale)
           
 void setPriorityIndicies(String r)
           
 void setScaleColor(String colorString)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

canvas

protected final GenomeCanvas canvas

startOffset

protected long startOffset

endOffset

protected long endOffset

width

protected int width

colors

protected Color[] colors

scale_color

protected Color scale_color

processed_records

public int processed_records
Constructor Detail

CSEGViewer.GraphicalOutput

public CSEGViewer.GraphicalOutput(javax.servlet.http.HttpServletResponse response,
                                  long start,
                                  long end,
                                  int width,
                                  int height)
Method Detail

setIs_drawing_priority_indicies

public void setIs_drawing_priority_indicies(boolean is_drawing_priority_indicies)

setParam_height_per_sample

public void setParam_height_per_sample(int param_height_per_sample)

setParam_samples_per_scale

public void setParam_samples_per_scale(int param_samples_per_scale)

setFont_size

public void setFont_size(double font_size)

setDrawScale

public void setDrawScale(int integerParameter)

setPriorityIndicies

public void setPriorityIndicies(String r)

setColors

public void setColors(String colorString)
Parameters:
colorString - (e.g., '33ffcc,ff3366'; then 0 is mapped to #33ffcc, 1 to #ff3366. do not include any space characters)

setScaleColor

public void setScaleColor(String colorString)

handle

public void handle(CSEGViewer.SEGData sd)
            throws SQLException
Specified by:
handle in interface org.xerial.db.sql.BeanResultHandler<CSEGViewer.SEGData>
Throws:
SQLException

init

public void init()
Specified by:
init in interface org.xerial.db.sql.BeanResultHandler<CSEGViewer.SEGData>

finish

public void finish()
Specified by:
finish in interface org.xerial.db.sql.BeanResultHandler<CSEGViewer.SEGData>

handleException

public void handleException(Exception e)
                     throws Exception
Specified by:
handleException in interface org.xerial.db.sql.BeanResultHandler<CSEGViewer.SEGData>
Throws:
Exception


Copyright © 2007-2012 utgenome.org. All Rights Reserved.