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

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

public class Sequence.GraphicalOutput
extends Sequence.SequenceRetrieverBase


Field Summary
protected  GenomeCanvas canvas
           
static int DEFAULT_HEIGHT
           
protected  int endOffset
           
static float FONT_SIZE
           
protected  int startOffset
           
 
Constructor Summary
Sequence.GraphicalOutput(javax.servlet.http.HttpServletResponse response, int start, int end, int width, boolean isReverseStrand)
           
 
Method Summary
 void finish()
           
 Color getColor(char base)
           
 void output(String subSequence)
           
 
Methods inherited from class org.utgenome.gwt.utgb.server.app.Sequence.SequenceRetrieverBase
getComplement, getEnd, getStart, handle, handleException, init, isReverseStrand
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

DEFAULT_HEIGHT

public static final int DEFAULT_HEIGHT
See Also:
Constant Field Values

FONT_SIZE

public static final float FONT_SIZE
See Also:
Constant Field Values

canvas

protected final GenomeCanvas canvas

startOffset

protected int startOffset

endOffset

protected int endOffset
Constructor Detail

Sequence.GraphicalOutput

public Sequence.GraphicalOutput(javax.servlet.http.HttpServletResponse response,
                                int start,
                                int end,
                                int width,
                                boolean isReverseStrand)
Method Detail

getColor

public Color getColor(char base)

output

public void output(String subSequence)
Specified by:
output in class Sequence.SequenceRetrieverBase

finish

public void finish()
Specified by:
finish in interface org.xerial.db.sql.BeanResultHandler<FASTADatabase.NSeq>
Overrides:
finish in class Sequence.SequenceRetrieverBase


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