-bottom

mmpp.media
Class BackLight

java.lang.Object
  |
  +--mmpp.media.BackLight

public final class BackLight
extends java.lang.Object

BackLight를 제어하기 위한 class


Method Summary
static int getColor()
          현재 Backlight 색상 값을 읽어온다.
static int numColors()
          사용가능한 색상의 수를 얻는다.
static void off()
          BackLight를 끈다.
static void on(int timeout)
          BackLight를 지정된 시간동안 켠다.
static void setColor(int RGB)
          Backlight 색상을 지정한다.
 
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Method Detail

on

public static void on(int timeout)
BackLight를 지정된 시간동안 켠다.
Parameters:
timeout - BackLight가 동작할 시간이며 단위는 milliseconds. 만일 0이면 항상 켜져있게된다.

off

public static void off()
BackLight를 끈다.

numColors

public static int numColors()
사용가능한 색상의 수를 얻는다.
Returns:
사용 가능한 Backlight 색상 수

setColor

public static void setColor(int RGB)
Backlight 색상을 지정한다.
Parameters:
RGB - RGB 색상 값

getColor

public static int getColor()
현재 Backlight 색상 값을 읽어온다.
Returns:
현재 backlight 색상

-bottom