public interface ScreenSpacePainterAdapter extends ScreenSpacePainter
Modifier and Type | Method and 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.
|
default void onMoveStart()
ScreenSpacePainter
onMoveStart
in interface ScreenSpacePainter
default void onMoveEnd()
ScreenSpacePainter
onMoveEnd
in interface ScreenSpacePainter
default void onHeatmapTimeLeft(long heatmapTimeLeft)
ScreenSpacePainter
onHeatmapTimeLeft
in interface ScreenSpacePainter
heatmapTimeLeft
- new time in nanosecondsdefault void onHeatmapActiveTimeWidth(long heatmapActiveTimeWidth)
ScreenSpacePainter
onHeatmapActiveTimeWidth
in interface ScreenSpacePainter
heatmapActiveTimeWidth
- new width in nanosecondsdefault void onHeatmapFullTimeWidth(long heatmapFullTimeWidth)
ScreenSpacePainter
onHeatmapFullTimeWidth
in interface ScreenSpacePainter
default void onHeatmapPriceBottom(long heatmapPriceBottom)
ScreenSpacePainter
onHeatmapPriceBottom
in interface ScreenSpacePainter
heatmapPriceBottom
- new lowest price as a number of level (multiply by
InstrumentInfo.pips
to get human-readable
price).default void onHeatmapPriceHeight(long heatmapPriceHeight)
ScreenSpacePainter
onHeatmapPriceHeight
in interface ScreenSpacePainter
heatmapPriceHeight
- new number of levelsdefault void onHeatmapPixelsLeft(int heatmapPixelsLeft)
ScreenSpacePainter
onHeatmapPixelsLeft
in interface ScreenSpacePainter
heatmapPixelsLeft
- new x coordinate in pixelsdefault void onHeatmapActivePixelsWidth(int heatmapActivePixelsWidth)
ScreenSpacePainter
onHeatmapActivePixelsWidth
in interface ScreenSpacePainter
default void onHeatmapFullPixelsWidth(int heatmapFullPixelsWidth)
ScreenSpacePainter
onHeatmapFullPixelsWidth
in interface ScreenSpacePainter
heatmapFullPixelsWidth
- new width in pixelsdefault void onHeatmapPixelsBottom(int heatmapPixelsBottom)
ScreenSpacePainter
onHeatmapPixelsBottom
in interface ScreenSpacePainter
heatmapPixelsBottom
- new y coordinate in pixels.default void onHeatmapPixelsHeight(int heatmapPixelsHeight)
ScreenSpacePainter
onHeatmapPixelsHeight
in interface ScreenSpacePainter
heatmapPixelsHeight
- new heatmap height in pixelsdefault void onRightOfTimelineLeft(int rightOfTimelineLeft)
ScreenSpacePainter
onRightOfTimelineLeft
in interface ScreenSpacePainter
rightOfTimelineLeft
- new x coordinate of timeline in pixelsdefault void onRightOfTimelineWidth(int rightOfTimelineWidth)
ScreenSpacePainter
onRightOfTimelineWidth
in interface ScreenSpacePainter
rightOfTimelineWidth
- new width of the area to the right of timelinedefault void dispose()
ScreenSpacePainter
ScreenSpaceCanvas
).dispose
in interface ScreenSpacePainter