public static class ChromatogramGraphic.Option extends Object
ChromatogramGraphic
instance.
The semantics and expected values are described with the
enumerated options.Modifier and Type | Field and Description |
---|---|
static ChromatogramGraphic.Option |
DRAW_CALL_A
Option indicating whether to fill in the callboxes for calls of
nucleotide A.
|
static ChromatogramGraphic.Option |
DRAW_CALL_C
Option indicating whether to fill in the callboxes for calls of
nucleotide C.
|
static ChromatogramGraphic.Option |
DRAW_CALL_G
Option indicating whether to fill in the callboxes for calls of
nucleotide G.
|
static ChromatogramGraphic.Option |
DRAW_CALL_OTHER
Option indicating whether to fill in the callboxes for non-base calls
(gaps, ambiguities).
|
static ChromatogramGraphic.Option |
DRAW_CALL_SEPARATORS
Option indicating whether to draw vertical lines separating
the calls.
|
static ChromatogramGraphic.Option |
DRAW_CALL_T
Option indicating whether to fill in the callboxes for calls of
nucleotide T.
|
static ChromatogramGraphic.Option |
DRAW_TRACE_A
Option indicating whether to draw the chromatogram trace for
nucleotide A.
|
static ChromatogramGraphic.Option |
DRAW_TRACE_C
Option indicating whether to draw the chromatogram trace for
nucleotide C.
|
static ChromatogramGraphic.Option |
DRAW_TRACE_G
Option indicating whether to draw the chromatogram trace for
nucleotide G.
|
static ChromatogramGraphic.Option |
DRAW_TRACE_T
Option indicating whether to draw the chromatogram trace for
nucleotide T.
|
static ChromatogramGraphic.Option |
FROM_TRACE_SAMPLE
Option indicating the lowest (leftmost) trace sample that should be
drawn.
|
static ChromatogramGraphic.Option |
HEIGHT_IS_AUTHORITATIVE
Option indicating whether height or vertical scale is
the authoritative measure.
|
static ChromatogramGraphic.Option |
HORIZONTAL_NONLINEAR_SCALER
Option specifying the non-linear scaling function to apply, as
embodied in a
ChromatogramNonlinearScaler object. |
static ChromatogramGraphic.Option |
SEPARATOR_COLOR
Option indicating the color that the call separators
should be.
|
static ChromatogramGraphic.Option |
SEPARATOR_STROKE
Option providing the the stroke to use for drawing
call separators.
|
static ChromatogramGraphic.Option |
SUBPATH_LENGTH
To improve performance, the drawing objects for the chromatogram
traces are precomputed.
|
static ChromatogramGraphic.Option |
TO_TRACE_SAMPLE
Option indicating the highest (rightmost) trace sample that should be
drawn.
|
static ChromatogramGraphic.Option |
TRACE_STROKE
Option providing the the stroke to use for drawing
the chromatogram traces.
|
static ChromatogramGraphic.Option |
USE_CUSTOM_STROKE
Option indicating whether to use custom strokes when
drawing traces and separators.
|
static ChromatogramGraphic.Option |
USE_PER_SHAPE_TRANSFORM
Option indicating whether to apply scaling and translation
transforms to each shape individually or to apply a single
transform to the graphics context.
|
static ChromatogramGraphic.Option |
WIDTH_IS_AUTHORITATIVE
Option indicating whether width or horizontal scale is
the authoritative measure.
|
Modifier and Type | Method and Description |
---|---|
static ChromatogramGraphic.Option |
lookup(String desc)
Looks up an
Option instance based on its
string description. |
String |
toString() |
public static final ChromatogramGraphic.Option DRAW_CALL_A
Value type: Boolean
.
Default value: Boolean.TRUE
.
public static final ChromatogramGraphic.Option DRAW_CALL_C
Value type: Boolean
.
Default value: Boolean.TRUE
.
public static final ChromatogramGraphic.Option DRAW_CALL_G
Value type: Boolean
.
Default value: Boolean.TRUE
.
public static final ChromatogramGraphic.Option DRAW_CALL_T
Value type: Boolean
.
Default value: Boolean.TRUE
.
public static final ChromatogramGraphic.Option DRAW_CALL_OTHER
Value type: Boolean
.
Default value: Boolean.TRUE
.
public static final ChromatogramGraphic.Option DRAW_TRACE_A
Value type: Boolean
.
Default value: Boolean.TRUE
.
public static final ChromatogramGraphic.Option DRAW_TRACE_C
Value type: Boolean
.
Default value: Boolean.TRUE
.
public static final ChromatogramGraphic.Option DRAW_TRACE_G
Value type: Boolean
.
Default value: Boolean.TRUE
.
public static final ChromatogramGraphic.Option DRAW_TRACE_T
Value type: Boolean
.
Default value: Boolean.TRUE
.
public static final ChromatogramGraphic.Option DRAW_CALL_SEPARATORS
Value type: Boolean
.
Default value: Boolean.TRUE
.
public static final ChromatogramGraphic.Option SEPARATOR_COLOR
Value type: Color
.
Default value: Color.lightGray
.
public static final ChromatogramGraphic.Option WIDTH_IS_AUTHORITATIVE
Value type: Boolean
.
Default value: Boolean.FALSE
.
public static final ChromatogramGraphic.Option HEIGHT_IS_AUTHORITATIVE
Value type: Boolean
.
Default value: Boolean.TRUE
.
public static final ChromatogramGraphic.Option USE_CUSTOM_STROKE
Value type: Boolean
.
Default value: Boolean.TRUE
.
public static final ChromatogramGraphic.Option TRACE_STROKE
Value type: Stroke
.
Default value: BasicStroke
with width 1.0, cap CAP_ROUND, join JOIN_ROUND.
public static final ChromatogramGraphic.Option SEPARATOR_STROKE
Value type: Stroke
.
Default value: BasicStroke
with width 1.0, default cap & join.
public static final ChromatogramGraphic.Option USE_PER_SHAPE_TRANSFORM
Value type: Boolean
.
Default value: Boolean.FALSE
.
public static final ChromatogramGraphic.Option SUBPATH_LENGTH
GeneralPath
s. This option indicates how
long (in trace samples) each one of these should be. Ideally, this
value would be slightly more than the average number of trace samples
visible at once in the application using the graphic. However,
constantly changing this value is counterproductive as it forces the
recalculation of the subpaths. In general, having a value that is
too small should be preferred to one that is too large.
Value type: Integer
.
Default value: 250
.
public static final ChromatogramGraphic.Option FROM_TRACE_SAMPLE
ChromatogramGraphic.setChromatogram(org.biojava.bio.chromatogram.Chromatogram)
is called.
Value type: Integer
.
Default value: 0
.
public static final ChromatogramGraphic.Option TO_TRACE_SAMPLE
ChromatogramGraphic.setChromatogram(org.biojava.bio.chromatogram.Chromatogram)
is called.
Value type: Integer
.
Default value: Integer.MAX_VALUE
.
public static final ChromatogramGraphic.Option HORIZONTAL_NONLINEAR_SCALER
ChromatogramNonlinearScaler
object.
Value type: ChromatogramNonlinearScaler
.
Default value: an instance of ChromatogramNonlinearScaler.Identity
.
public static final ChromatogramGraphic.Option lookup(String desc)
Option
instance based on its
string description.desc
- the description of the desired Option
Option
with the specified description
or null if there isn't oneCopyright © 2014 BioJava. All rights reserved.