Enum Class MouseModuleScore
- All Implemented Interfaces:
Serializable,Comparable<MouseModuleScore>,Constable
Helper scores for values returned from
CanvasMouseListener.getEventScore(velox.api.layer1.layers.strategies.interfaces.CanvasMouseEvent)
and CanvasContextMenuProvider.getRightClickEventScore(velox.api.layer1.layers.strategies.interfaces.CanvasMouseEvent). These scores allow
your module to have higher priority than a certain part of Bookmap.- See Also:
-
Nested Class Summary
Nested classes/interfaces inherited from class java.lang.Enum
Enum.EnumDesc<E extends Enum<E>> -
Enum Constant Summary
Enum ConstantsEnum ConstantDescriptionMax score for entering the drag modeMax score for Bookmap-rendered layers on chart, such as trade circles, candlesticks, indicator lines, icons, BBO, vwapMax possible score for 3-rd party modulesRespond with this score if you are not interested in this eventMax score for click in trading area (right of timeline) -
Field Summary
Fields -
Method Summary
Modifier and TypeMethodDescriptionstatic MouseModuleScoreReturns the enum constant of this class with the specified name.static MouseModuleScore[]values()Returns an array containing the constants of this enum class, in the order they are declared.
-
Enum Constant Details
-
MAX
Max possible score for 3-rd party modules -
TRADING_CLICK
Max score for click in trading area (right of timeline) -
GRAPH_LAYERS_MODULES_MAX
Max score for Bookmap-rendered layers on chart, such as trade circles, candlesticks, indicator lines, icons, BBO, vwap -
GRAPH_LAYERS_MODULES_MIN
-
CHART_DRAG
Max score for entering the drag mode -
MIN
-
NONE
Respond with this score if you are not interested in this event
-
-
Field Details
-
score
public final int score
-
-
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
-