|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectjcontrol.io.Backlight
Control backlight brightness of JControl devices
equipped with lcd-backlight (PLUI, PCWatch).
Wrapper for class PWM
.
lib (PLUI, SmartDisplay) |
Field Summary | |
(package private) static int |
brightness
Current backlight brightness |
static int |
MAX_BRIGHTNESS
maximum backlight brightness |
static int |
MIN_BRIGHTNESS
minimum backlight brightness |
static byte |
PWM_CHANNEL
PWM channel for backlight control |
Constructor Summary | |
Backlight()
|
Method Summary | |
static int |
getBrightness()
Get current backlight brightness. |
static void |
setBrightness(int value)
Set backlight's brightness |
Methods inherited from class java.lang.Object |
clone, equals, finalize, notifyAll, wait |
Field Detail |
static int brightness
public static final int MAX_BRIGHTNESS
public static final int MIN_BRIGHTNESS
public static final byte PWM_CHANNEL
Constructor Detail |
public Backlight()
Method Detail |
public static int getBrightness()
public static void setBrightness(int value)
value
- value between 0 (backlight off) and 256 (very bright)
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |