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