Package velox.api.layer1.layers.strategies.interfaces
package velox.api.layer1.layers.strategies.interfaces
-
ClassDescriptionInterface used to provide calculated values to bottom chart modelUse
ScreenSpaceCanvas.addContextMenuProvider(CanvasContextMenuProvider)to add menu items into the context menu generated by Bookmap.Describes aScreenSpaceCanvasrelated mouse event.Use it inCanvasMouseEvent.getX(velox.api.layer1.layers.strategies.interfaces.ScreenSpaceCanvas.HorizontalCoordinate, velox.api.layer1.layers.strategies.interfaces.CanvasMouseEvent.CoordinateRequestType)andCanvasMouseEvent.getY(velox.api.layer1.layers.strategies.interfaces.ScreenSpaceCanvas.VerticalCoordinate, velox.api.layer1.layers.strategies.interfaces.CanvasMouseEvent.CoordinateRequestType)to get the result in pixels or data (time in nanos for X, price in pips for Y coordinates).UseScreenSpaceCanvas.addMouseListener(CanvasMouseListener)to add a mouse listener to a canvas.Describes rules of aggregation of custom eventsAll events created by custom event generators should implement this interfaceIf you want to intercept this message, use instanceof instead of '==' operatorClears all previous returned values, and provides new data, equal to response for newOnlineCalculatable.calculateValuesInRange(String, String, long, long, int, CalculatedResultListener)without actually callingInvalidateInterface.invalidate()
Indicator line will be painted completely with new valuesInterface used to invalidate online indicator at any timeImplement this interface if you want to manually calculate price axis ranges for your indicatorsRange of values for this indicator [minValue, maxValue]Line will not be drawn in this pixel.Strategy implementing this interfaces should support 2 types of requests.Marker bound to data coordinates.If passed as value it will cause marker to be drawn at that place.Receives updates, can generate new value for given strategy in responseHorizontal coordinate described in universal way.Vertical coordinate described in universal way.Wrapper for an image.Horizontal coordinate offset certain number of data levels pointVertical coordinate offset certain number of data levels from base pointHorizontal coordinate offset in a certain way relative to base pointHorizontal coordinate offset certain number of pixels from base pointVertical coordinate offset certain number of pixels from base pointVertical coordinate offset in a certain way relative to base pointArea that canvas corresponds toProvides information regarding where user is looking at.A vertical line that is drawn on chart