Enum Class CanvasMouseEvent.CoordinateRequestType
java.lang.Object
java.lang.Enum<CanvasMouseEvent.CoordinateRequestType>
velox.api.layer1.layers.strategies.interfaces.CanvasMouseEvent.CoordinateRequestType
- All Implemented Interfaces:
Serializable,Comparable<CanvasMouseEvent.CoordinateRequestType>,Constable
- Enclosing class:
- CanvasMouseEvent
public static enum CanvasMouseEvent.CoordinateRequestType
extends Enum<CanvasMouseEvent.CoordinateRequestType>
Use it in
CanvasMouseEvent.getX(velox.api.layer1.layers.strategies.interfaces.ScreenSpaceCanvas.HorizontalCoordinate, velox.api.layer1.layers.strategies.interfaces.CanvasMouseEvent.CoordinateRequestType) and CanvasMouseEvent.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).-
Nested Class Summary
Nested classes/interfaces inherited from class java.lang.Enum
Enum.EnumDesc<E extends Enum<E>> -
Enum Constant Summary
Enum Constants -
Method Summary
Modifier and TypeMethodDescriptionReturns the enum constant of this class with the specified name.values()Returns an array containing the constants of this enum class, in the order they are declared.
-
Enum Constant Details
-
DATA
-
PIXELS
-
-
Method Details
-
values
Returns an array containing the constants of this enum class, in the order they are declared.- Returns:
- an array containing the constants of this enum class, in the order they are declared
-
valueOf
Returns the enum constant of this class with the specified name. The string must match exactly an identifier used to declare an enum constant in this class. (Extraneous whitespace characters are not permitted.)- Parameters:
name- the name of the enum constant to be returned.- Returns:
- the enum constant with the specified name
- Throws:
IllegalArgumentException- if this enum class has no constant with the specified nameNullPointerException- if the argument is null
-