|
||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectcom.rngtng.launchpad.LButton
public class LButton
The Button class to handle the different Button types, acces thier MIDI codes and transform code <-> numer conversions
Field Summary | |
---|---|
static int |
DOWN
|
static int |
LEFT
|
static int |
MIXER
|
static int |
RIGHT
|
static int |
SCENE_OFFSET
|
static int |
SCENE1
|
static int |
SCENE2
|
static int |
SCENE3
|
static int |
SCENE4
|
static int |
SCENE5
|
static int |
SCENE6
|
static int |
SCENE7
|
static int |
SCENE8
|
static int |
SESSION
|
static int |
UP
|
static int |
USER1
|
static int |
USER2
|
Constructor Summary | |
---|---|
LButton()
|
Method Summary | |
---|---|
static int |
buttonCode(int button)
return button number for button code |
static int |
buttonNumber(int button)
return button code for button number |
static boolean |
isButtonCode(int buttonCode)
checks for valid button code |
static boolean |
isSceneButtonCode(int buttonCode)
checks for valid scene button code |
static int |
sceneButtonCode(int button)
return scene button number for scene button code |
static int |
sceneButtonNumber(int button)
return scene button Code for scene button number |
Methods inherited from class java.lang.Object |
---|
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Field Detail |
---|
public static final int UP
public static final int DOWN
public static final int LEFT
public static final int RIGHT
public static final int SESSION
public static final int USER1
public static final int USER2
public static final int MIXER
public static final int SCENE_OFFSET
public static final int SCENE1
public static final int SCENE2
public static final int SCENE3
public static final int SCENE4
public static final int SCENE5
public static final int SCENE6
public static final int SCENE7
public static final int SCENE8
Constructor Detail |
---|
public LButton()
Method Detail |
---|
public static boolean isButtonCode(int buttonCode)
buttonCode
- code of the button
public static boolean isSceneButtonCode(int buttonCode)
buttonCode
- code of the button
public static int buttonNumber(int button)
button
- button value
public static int buttonCode(int button)
button
- button value
public static int sceneButtonNumber(int button)
button
- button value
public static int sceneButtonCode(int button)
button
- button value
|
||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |