public class

DimmingSequencePoint

extends Object
java.lang.Object
   ↳ com.datalogic.extension.selfshopping.led.DimmingSequencePoint

Class Overview

A point in the dimming sequence, characterized by a time value (in milliseconds) and a brightness value (in percentage).

Summary

Public Constructors
DimmingSequencePoint(int time, int brightness)
Constructor taking time and brightness values as parameters.
Public Methods
int getBrightness()
Returns the point's brightness.
int getTime()
Returns the point's time.
[Expand]
Inherited Methods
From class java.lang.Object

Public Constructors

public DimmingSequencePoint (int time, int brightness)

Added in revision 2

Constructor taking time and brightness values as parameters.

Parameters
time The number of milliseconds at which the specified brightness will be set on the LED.
brightness The brightness level (in percentage) to set at a given moment in time.
Throws
IllegalArgumentException

Public Methods

public int getBrightness ()

Added in revision 2

Returns the point's brightness.

Returns
  • int The sequence point's brightness in percentage.

public int getTime ()

Added in revision 2

Returns the point's time.

Returns
  • int The sequence point's time in milliseconds.