public class LED
extends ej.fp.Widget
implements ej.microui.led.LLUILedImpl
LLUILedImpl interface. An implementation of this interface is
required to be able to use a MicroUI Led in a MicroEJ application.| Constructor and Description |
|---|
LED() |
| Modifier and Type | Method and Description |
|---|---|
void |
dispose() |
void |
finalizeConfiguration() |
int |
getIntensity() |
void |
setIntensity(int intensity) |
void |
setLedOff(ej.fp.Image ledOff)
Sets the image which represents the LED off.
|
void |
setLedOn(ej.fp.Image ledOn)
Sets the image which represents the LED on.
|
void |
showYourself(boolean appearSwitchedOn) |
public void setLedOff(ej.fp.Image ledOff)
This method should only be called by front panel parser.
ledOff - the LED off image.public void setLedOn(ej.fp.Image ledOn)
This method should only be called by front panel parser.
ledOn - the LED on image.public void finalizeConfiguration()
finalizeConfiguration in class ej.fp.Widgetpublic void showYourself(boolean appearSwitchedOn)
showYourself in class ej.fp.Widgetpublic void dispose()
dispose in class ej.fp.Widgetpublic void setIntensity(int intensity)
setIntensity in interface ej.microui.led.LLUILedImplpublic int getIntensity()
getIntensity in interface ej.microui.led.LLUILedImpl