|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object sk.baka.ambient.views.gesturelist.KeypadController
final class KeypadController
Controls the GesturesListView
component via the keypad.
Constructor Summary | |
---|---|
KeypadController(GesturesListView ownerView)
Creates new controller instance. |
Method Summary | |
---|---|
(package private) void |
cancelWork()
Invoked by gestures list view if this controller should cancel all its work immediately as other controller is about to do something. |
void |
copy(Interval i)
Copies given interval into the clipboard. |
List<TrackMetadataBean> |
getClipboard()
Returns the contents of the clipboard as a list of tracks. |
boolean |
onKeyDown(int keyCode,
KeyEvent event)
|
boolean |
onKeyMultiple(int keyCode,
int arg1,
KeyEvent event)
|
boolean |
onKeyUp(int keyCode,
KeyEvent event)
|
(package private) void |
selectionChanged()
Invoked when the selection is changed. |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
KeypadController(GesturesListView ownerView)
ownerView
- the owning view.Method Detail |
---|
public boolean onKeyUp(int keyCode, KeyEvent event)
onKeyUp
in interface KeyEvent.Callback
public boolean onKeyDown(int keyCode, KeyEvent event)
onKeyDown
in interface KeyEvent.Callback
public boolean onKeyMultiple(int keyCode, int arg1, KeyEvent event)
onKeyMultiple
in interface KeyEvent.Callback
void selectionChanged()
void cancelWork()
public void copy(Interval i)
i
- the interval to copy.public List<TrackMetadataBean> getClipboard()
null
, may be empty.
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |