public interface ScreenSpacePainter
Modifier and Type | Method and Description |
---|---|
void |
dispose()
Painter is no longer needed.
|
void |
onHeatmapActivePixelsWidth(int heatmapActivePixelsWidth)
Width of the heatmap area corresponding to data (in pixels) changed.
|
void |
onHeatmapActiveTimeWidth(long heatmapActiveTimeWidth)
Width of the heatmap area corresponding to data (in nanoseconds) changed.
|
void |
onHeatmapFullPixelsWidth(int heatmapFullPixelsWidth)
Width of the heatmap area (including the part containing no data, in pixels)
changed.
|
void |
onHeatmapFullTimeWidth(long heatmapFullTimeWidth)
Width of the heatmap area (including the part containing no data, in
nanoseconds) changed.
|
void |
onHeatmapPixelsBottom(int heatmapPixelsBottom)
Position of bottom edge of heatmap on inside the window changed.
|
void |
onHeatmapPixelsHeight(int heatmapPixelsHeight)
Height of the area representing the heatmap (in pixels) changed
|
void |
onHeatmapPixelsLeft(int heatmapPixelsLeft)
Position of left edge of heatmap on inside the window changed
|
void |
onHeatmapPriceBottom(long heatmapPriceBottom)
Lowest price displayed on heatmap changed
|
void |
onHeatmapPriceHeight(long heatmapPriceHeight)
Number of levels displayed on heatmap changed
|
void |
onHeatmapTimeLeft(long heatmapTimeLeft)
Time corresponding to left edge of heatmap changed
|
void |
onMoveEnd()
Called after transmitting actual changes, allows batch processing of changes.
|
void |
onMoveStart()
Called after view was moved before transmitting actual changes, allows batch
processing of changes
|
void |
onRightOfTimelineLeft(int rightOfTimelineLeft)
X coordinate of the timeline has changed (in pixels).
|
void |
onRightOfTimelineWidth(int rightOfTimelineWidth)
Width of the area to the right of timeline (in pixels) has changed.
|
void onMoveStart()
void onMoveEnd()
void onHeatmapTimeLeft(long heatmapTimeLeft)
heatmapTimeLeft
- new time in nanosecondsvoid onHeatmapActiveTimeWidth(long heatmapActiveTimeWidth)
heatmapActiveTimeWidth
- new width in nanosecondsvoid onHeatmapFullTimeWidth(long heatmapFullTimeWidth)
heatmapActiveTimeWidth
- new width in nanosecondsvoid onHeatmapPriceBottom(long heatmapPriceBottom)
heatmapPriceBottom
- new lowest price as a number of level (multiply by
InstrumentInfo.pips
to get human-readable
price).void onHeatmapPriceHeight(long heatmapPriceHeight)
heatmapPriceHeight
- new number of levelsvoid onHeatmapPixelsLeft(int heatmapPixelsLeft)
heatmapPixelsLeft
- new x coordinate in pixelsvoid onHeatmapActivePixelsWidth(int heatmapActivePixelsWidth)
heatmapActivePixelsWidth
- void onHeatmapFullPixelsWidth(int heatmapFullPixelsWidth)
heatmapFullPixelsWidth
- new width in pixelsvoid onHeatmapPixelsBottom(int heatmapPixelsBottom)
heatmapPixelsBottom
- new y coordinate in pixels.void onHeatmapPixelsHeight(int heatmapPixelsHeight)
heatmapPixelsHeight
- new heatmap height in pixelsvoid onRightOfTimelineLeft(int rightOfTimelineLeft)
rightOfTimelineLeft
- new x coordinate of timeline in pixelsvoid onRightOfTimelineWidth(int rightOfTimelineWidth)
rightOfTimelineWidth
- new width of the area to the right of timelinevoid dispose()
ScreenSpaceCanvas
).