Method Summary
All Methods Instance Methods Default Methods
Modifier and Type
Method
Description
default void
dispose ()
Painter is no longer needed.
default void
onHeatmapActivePixelsWidth (int heatmapActivePixelsWidth)
Width of the heatmap area corresponding to data (in pixels) changed.
default void
onHeatmapActiveTimeWidth (long heatmapActiveTimeWidth)
Width of the heatmap area corresponding to data (in nanoseconds) changed.
default void
onHeatmapFullPixelsWidth (int heatmapFullPixelsWidth)
Width of the heatmap area (including the part containing no data, in pixels)
changed.
default void
onHeatmapFullTimeWidth (long heatmapFullTimeWidth)
Width of the heatmap area (including the part containing no data, in
nanoseconds) changed.
default void
onHeatmapPixelsBottom (int heatmapPixelsBottom)
Position of bottom edge of heatmap on inside the window changed.
default void
onHeatmapPixelsHeight (int heatmapPixelsHeight)
Height of the area representing the heatmap (in pixels) changed
default void
onHeatmapPixelsLeft (int heatmapPixelsLeft)
Position of left edge of heatmap on inside the window changed
default void
onHeatmapPriceBottom (long heatmapPriceBottom)
Lowest price displayed on heatmap changed
default void
onHeatmapPriceHeight (long heatmapPriceHeight)
Number of levels displayed on heatmap changed
default void
onHeatmapTimeLeft (long heatmapTimeLeft)
Time corresponding to left edge of heatmap changed
default void
onMoveEnd ()
Called after transmitting actual changes, allows batch processing of changes.
default void
onMoveStart ()
Called after view was moved before transmitting actual changes, allows batch
processing of changes
default void
onRightOfTimelineLeft (int rightOfTimelineLeft)
X coordinate of the timeline has changed (in pixels).
default void
onRightOfTimelineWidth (int rightOfTimelineWidth)
Width of the area to the right of timeline (in pixels) has changed.
Method Details
default void onMoveStart ()
Called after view was moved before transmitting actual changes, allows batch
processing of changes
Specified by:
onMoveStart
in interface ScreenSpacePainter
default void onMoveEnd ()
Called after transmitting actual changes, allows batch processing of changes.
Specified by:
onMoveEnd
in interface ScreenSpacePainter
default void onHeatmapTimeLeft (long heatmapTimeLeft)
Time corresponding to left edge of heatmap changed
Specified by:
onHeatmapTimeLeft
in interface ScreenSpacePainter
Parameters:
heatmapTimeLeft
- new time in nanoseconds
default void onHeatmapActiveTimeWidth (long heatmapActiveTimeWidth)
Width of the heatmap area corresponding to data (in nanoseconds) changed.
Specified by:
onHeatmapActiveTimeWidth
in interface ScreenSpacePainter
Parameters:
heatmapActiveTimeWidth
- new width in nanoseconds
default void onHeatmapFullTimeWidth (long heatmapFullTimeWidth)
Width of the heatmap area (including the part containing no data, in
nanoseconds) changed.
Specified by:
onHeatmapFullTimeWidth
in interface ScreenSpacePainter
Parameters:
heatmapFullTimeWidth
- new width in nanoseconds
default void onHeatmapPriceBottom (long heatmapPriceBottom)
Lowest price displayed on heatmap changed
Specified by:
onHeatmapPriceBottom
in interface ScreenSpacePainter
Parameters:
heatmapPriceBottom
- new lowest price as a number of level (multiply by
InstrumentInfo.pips
to get human-readable
price).
default void onHeatmapPriceHeight (long heatmapPriceHeight)
Number of levels displayed on heatmap changed
Specified by:
onHeatmapPriceHeight
in interface ScreenSpacePainter
Parameters:
heatmapPriceHeight
- new number of levels
default void onHeatmapPixelsLeft (int heatmapPixelsLeft)
Position of left edge of heatmap on inside the window changed
Specified by:
onHeatmapPixelsLeft
in interface ScreenSpacePainter
Parameters:
heatmapPixelsLeft
- new x coordinate in pixels
default void onHeatmapFullPixelsWidth (int heatmapFullPixelsWidth)
Width of the heatmap area (including the part containing no data, in pixels)
changed.
Specified by:
onHeatmapFullPixelsWidth
in interface ScreenSpacePainter
Parameters:
heatmapFullPixelsWidth
- new width in pixels
default void onHeatmapPixelsBottom (int heatmapPixelsBottom)
Position of bottom edge of heatmap on inside the window changed. Y coordinate
increases when going up (same direction as price increase).
Specified by:
onHeatmapPixelsBottom
in interface ScreenSpacePainter
Parameters:
heatmapPixelsBottom
- new y coordinate in pixels.
default void onHeatmapPixelsHeight (int heatmapPixelsHeight)
Height of the area representing the heatmap (in pixels) changed
Specified by:
onHeatmapPixelsHeight
in interface ScreenSpacePainter
Parameters:
heatmapPixelsHeight
- new heatmap height in pixels
default void onRightOfTimelineLeft (int rightOfTimelineLeft)
X coordinate of the timeline has changed (in pixels). Note, that in drag mode
when timeline is not visible it's considered to be in the leftmost pixel of
heatmap.
Specified by:
onRightOfTimelineLeft
in interface ScreenSpacePainter
Parameters:
rightOfTimelineLeft
- new x coordinate of timeline in pixels
default void onRightOfTimelineWidth (int rightOfTimelineWidth)
Width of the area to the right of timeline (in pixels) has changed.
Specified by:
onRightOfTimelineWidth
in interface ScreenSpacePainter
Parameters:
rightOfTimelineWidth
- new width of the area to the right of timeline