Treehopper Java API
io.treehopper.libraries.displays.LedDriver Class Referenceabstract

Base ILedDriver implementation. More...

Inheritance diagram for io.treehopper.libraries.displays.LedDriver:
io.treehopper.libraries.displays.ILedDriver io.treehopper.libraries.IFlushable io.treehopper.libraries.IFlushable io.treehopper.libraries.displays.Is31fl3218 io.treehopper.libraries.displays.Tm1650

Public Member Functions

 LedDriver (int numLeds, boolean HasGlobalBrightnessControl, boolean HasIndividualBrightnessControl)
 
List< LedgetLeds ()
 
boolean isAutoFlushEnabled ()
 
void setAutoFlushEnabled (boolean autoFlush)
 
abstract boolean hasGlobalBrightnessControl ()
 
abstract boolean hasIndividualBrightnessControl ()
 
double getBrightness ()
 
void setBrightness (double brightness)
 
abstract void ledStateChanged (Led led)
 
abstract void ledBrightnessChanged (Led led)
 
void clear ()
 
abstract void flush (boolean force)
 

Protected Member Functions

abstract void _setBrightness (double brightness)
 

Detailed Description

Base ILedDriver implementation.

Constructor & Destructor Documentation

◆ LedDriver()

io.treehopper.libraries.displays.LedDriver.LedDriver ( int  numLeds,
boolean  HasGlobalBrightnessControl,
boolean  HasIndividualBrightnessControl 
)

Member Function Documentation

◆ _setBrightness()

abstract void io.treehopper.libraries.displays.LedDriver._setBrightness ( double  brightness)
abstractprotected

◆ clear()

void io.treehopper.libraries.displays.LedDriver.clear ( )

◆ flush()

abstract void io.treehopper.libraries.displays.LedDriver.flush ( boolean  force)
abstract

◆ getBrightness()

double io.treehopper.libraries.displays.LedDriver.getBrightness ( )

◆ getLeds()

List<Led> io.treehopper.libraries.displays.LedDriver.getLeds ( )

◆ hasGlobalBrightnessControl()

abstract boolean io.treehopper.libraries.displays.LedDriver.hasGlobalBrightnessControl ( )
abstract

◆ hasIndividualBrightnessControl()

abstract boolean io.treehopper.libraries.displays.LedDriver.hasIndividualBrightnessControl ( )
abstract

◆ isAutoFlushEnabled()

boolean io.treehopper.libraries.displays.LedDriver.isAutoFlushEnabled ( )

◆ ledBrightnessChanged()

abstract void io.treehopper.libraries.displays.LedDriver.ledBrightnessChanged ( Led  led)
abstract

◆ ledStateChanged()

abstract void io.treehopper.libraries.displays.LedDriver.ledStateChanged ( Led  led)
abstract

◆ setAutoFlushEnabled()

void io.treehopper.libraries.displays.LedDriver.setAutoFlushEnabled ( boolean  autoFlush)

◆ setBrightness()

void io.treehopper.libraries.displays.LedDriver.setBrightness ( double  brightness)

The documentation for this class was generated from the following file: