@Deprecated
public class IndicatorDefinitionUserMessage
extends java.lang.Object
Modifier and Type | Field and Description |
---|---|
java.lang.String |
alias
Deprecated.
|
java.awt.image.BufferedImage |
icon
Deprecated.
|
int |
iconOffsetX
Deprecated.
|
int |
iconOffsetY
Deprecated.
|
int |
id
Deprecated.
|
java.lang.String |
indicatorName
Deprecated.
|
java.awt.Color |
lineColor
Deprecated.
|
short |
mainLineStyleMask
Deprecated.
|
short |
mainLineStyleMultiplier
Deprecated.
|
int |
mainLineWidth
Deprecated.
|
short |
rightLineStyleMask
Deprecated.
|
short |
rightLineStyleMultiplier
Deprecated.
|
int |
rightLineWidth
Deprecated.
|
boolean |
showOnMainChart
Deprecated.
|
java.lang.String |
valueFormat
Deprecated.
|
Constructor and Description |
---|
IndicatorDefinitionUserMessage(int id,
java.lang.String alias,
short mainLineStyleMask,
short mainLineStyleMultiplier,
int mainLineWidth,
java.awt.Color lineColor,
short rightLineStyleMask,
short rightLineStyleMultiplier,
int rightLineWidth,
java.awt.image.BufferedImage icon,
int iconOffsetX,
int iconOffsetY,
boolean showOnMainChart)
Deprecated.
|
IndicatorDefinitionUserMessage(int id,
java.lang.String alias,
java.lang.String indicatorName,
short mainLineStyleMask,
short mainLineStyleMultiplier,
int mainLineWidth,
java.awt.Color lineColor,
short rightLineStyleMask,
short rightLineStyleMultiplier,
int rightLineWidth,
java.awt.image.BufferedImage icon,
int iconOffsetX,
int iconOffsetY,
boolean showOnMainChart)
Deprecated.
Define new custom indicator
|
IndicatorDefinitionUserMessage(int id,
java.lang.String alias,
java.lang.String indicatorName,
short mainLineStyleMask,
short mainLineStyleMultiplier,
int mainLineWidth,
java.awt.Color lineColor,
short rightLineStyleMask,
short rightLineStyleMultiplier,
int rightLineWidth,
java.awt.image.BufferedImage icon,
int iconOffsetX,
int iconOffsetY,
boolean showOnMainChart,
java.lang.String valueFormat)
Deprecated.
Define new custom indicator
|
public final int id
public final java.lang.String alias
public final java.lang.String indicatorName
public final short mainLineStyleMask
public final short mainLineStyleMultiplier
public final int mainLineWidth
public final java.awt.Color lineColor
public final short rightLineStyleMask
public final short rightLineStyleMultiplier
public final int rightLineWidth
public final java.awt.image.BufferedImage icon
public final int iconOffsetX
public final int iconOffsetY
public final boolean showOnMainChart
public final java.lang.String valueFormat
public IndicatorDefinitionUserMessage(int id, java.lang.String alias, java.lang.String indicatorName, short mainLineStyleMask, short mainLineStyleMultiplier, int mainLineWidth, java.awt.Color lineColor, short rightLineStyleMask, short rightLineStyleMultiplier, int rightLineWidth, java.awt.image.BufferedImage icon, int iconOffsetX, int iconOffsetY, boolean showOnMainChart, java.lang.String valueFormat)
id
- indicator id (used to reference it later)alias
- alias of the instrument indicator is applied toindicatorName
- name shown in Bookmap UImainLineStyleMask
- style of the line to the left of current time line, one bits
mean visible pixels, zero bits - invisible; use 0 to hide the
linemainLineStyleMultiplier
- how many pixels correspond to one bit of mainLineStyleMaskmainLineWidth
- width of the line to the left of current time linelineColor
- color of the line to the left of current time linerightLineStyleMask
- style of the line to the right of current time line
(extension), one bits mean visible pixels, zero bits -
invisible; use 0 to hide the linerightLineStyleMultiplier
- how many pixels correspond to one bit of rightLineStyleMaskrightLineWidth
- width of the line to the right of current time linerightLineColor
- color of the line to the right of current time lineicon
- icon displayed at points defined by
#onIndicatorPoint(long, int, double)
; use null if you
don't want anyiconOffsetX
- offset of the icon by X axis (positive offset moves icon to
the right)iconOffsetY
- offset of the icon by Y axis (positive offset moves icon to
the top)showOnMainChart
- true to show on main chart, false to show on bottom panelvalueFormat
- format used to convert value to string; null keeps default
formatting, non-null values are passed to
String.format(String, Object...)
java.util.IllegalFormatException
- invalid valueFormat
argumentpublic IndicatorDefinitionUserMessage(int id, java.lang.String alias, java.lang.String indicatorName, short mainLineStyleMask, short mainLineStyleMultiplier, int mainLineWidth, java.awt.Color lineColor, short rightLineStyleMask, short rightLineStyleMultiplier, int rightLineWidth, java.awt.image.BufferedImage icon, int iconOffsetX, int iconOffsetY, boolean showOnMainChart)
id
- indicator id (used to reference it later)alias
- alias of the instrument indicator is applied toindicatorName
- name shown in Bookmap UImainLineStyleMask
- style of the line to the left of current time line, one bits
mean visible pixels, zero bits - invisible; use 0 to hide the
linemainLineStyleMultiplier
- how many pixels correspond to one bit of mainLineStyleMaskmainLineWidth
- width of the line to the left of current time linelineColor
- color of the line to the left of current time linerightLineStyleMask
- style of the line to the right of current time line
(extension), one bits mean visible pixels, zero bits -
invisible; use 0 to hide the linerightLineStyleMultiplier
- how many pixels correspond to one bit of rightLineStyleMaskrightLineWidth
- width of the line to the right of current time linerightLineColor
- color of the line to the right of current time lineicon
- icon displayed at points defined by
#onIndicatorPoint(long, int, double)
; use null if you
don't want anyiconOffsetX
- offset of the icon by X axis (positive offset moves icon to
the right)iconOffsetY
- offset of the icon by Y axis (positive offset moves icon to
the top)showOnMainChart
- true to show on main chart, false to show on bottom panel@Deprecated public IndicatorDefinitionUserMessage(int id, java.lang.String alias, short mainLineStyleMask, short mainLineStyleMultiplier, int mainLineWidth, java.awt.Color lineColor, short rightLineStyleMask, short rightLineStyleMultiplier, int rightLineWidth, java.awt.image.BufferedImage icon, int iconOffsetX, int iconOffsetY, boolean showOnMainChart)