Skip to main content

WidgetDisplayInfo

Package: velox.api.layer1.messages.indicators

Type: Class

Inheritance: java.lang.Object รขโ€ โ€™ WidgetDisplayInfo

Descriptionโ€‹

Defines the way widget is displaying values.

By default widgets fills counter clockwise (if circle) or up (if bar). Another way is for widget to be symmetric, with specified value as center.

Nested Classesโ€‹

  • WidgetDisplayInfo.Type (enum)

Fieldsโ€‹

typeโ€‹

public final WidgetDisplayInfo.Type type

centerValueโ€‹

public final double centerValue

Constructorsโ€‹

WidgetDisplayInfoโ€‹

public WidgetDisplayInfo(WidgetDisplayInfo.Type type, double centerValue)

Parameters:

  • type -
  • centerValue - Value of center point if type is SYMMETRIC, any value otherwise