public class IndicatorLineStyle
extends java.lang.Object
This class allows you to specify how the indicator line will look.
There are two parts: mainLine (3 fields) and rightLine (3 fields). Main line is the part to the left of timeline and rightLine is part to the right.
Each part is described by 3 parts,
Modifier and Type | Field and Description |
---|---|
static IndicatorLineStyle |
DEFAULT
Similar to most lines in Bookmap
|
short |
mainLineStyleMask
Mask for the main line style.
|
short |
mainLineStyleMultiplier
Multiplier for the main line style.
|
int |
mainLineWidth
Main line width.
|
static IndicatorLineStyle |
NONE
No line.
|
short |
rightLineStyleMask
Mask for the right line style.
|
short |
rightLineStyleMultiplier
Multiplier for the right line style.
|
int |
rightLineWidth
Right line width.
|
static IndicatorLineStyle |
SHORT_DASHES
Short dashes of the same style both to the left and to the right of
timeline
|
static IndicatorLineStyle |
SHORT_DASHES_WIDE_LEFT_NARROW_RIGHT
Mostly a demo to show how to configure more complex style.
|
Constructor and Description |
---|
IndicatorLineStyle()
Creates default line style (similar to most lines in Bookmap)
|
IndicatorLineStyle(short mainLineStyleMask,
short mainLineStyleMultiplier,
int mainLineWidth,
short rightLineStyleMask,
short rightLineStyleMultiplier,
int rightLineWidth)
Creates a custom line style.
|
public static final IndicatorLineStyle DEFAULT
public static final IndicatorLineStyle NONE
public static final IndicatorLineStyle SHORT_DASHES
public static final IndicatorLineStyle SHORT_DASHES_WIDE_LEFT_NARROW_RIGHT
public final short mainLineStyleMask
see this for more
information
public final short mainLineStyleMultiplier
see this
for more information
public final int mainLineWidth
see this for more information
public final short rightLineStyleMask
see this for
more information
public final short rightLineStyleMultiplier
see this
for more information
public final int rightLineWidth
see this for more
information
public IndicatorLineStyle()
public IndicatorLineStyle(short mainLineStyleMask, short mainLineStyleMultiplier, int mainLineWidth, short rightLineStyleMask, short rightLineStyleMultiplier, int rightLineWidth)
and this class documentation
for parameter
descriptions.