]> ruin.nu Git - moosique.git/blob - To Do.txt
no message
[moosique.git] / To Do.txt
1 * Inställningar
2         - MIDI-enhet     Öppna en dialogruta med innehållet i getMidiDeviceInfo() och låt användaren välja.
3
4 * Referenser eller objekt?!?
5         tracks.get(tracks.indexOf(noteOffEvent) ???
6
7 * Hur lägga till MooNote och NoteOff?
8         Internt vid skapandet - Då behövs track
9         Externt         new MooNote(...);
10                         ...add(MooNote);
11                         ...add(MooNote.getNoteOffEvent());
12
13 * Kanalinställning
14         Hur sparas i spår?
15
16 * Global KeyListener
17         Görs uppenbarligen så här:
18
19                 JFrame someFrame = new JFrame();
20                 
21                 JComponent rootPane = someFrame.getRootPane();
22                 ActionMap am = rootPane.getActionMap();
23                 
24                 Action helpAction = new AbstractAction() {
25                      public void actionPerformed(ActionEvent ae) {
26                          showHelpWindow();
27                      }};
28                 am.put("help", helpAction);
29                 
30                 InputMap im = rootPane.getInputMap(JComponent.WHEN_ANCESTOR_OF_FOCUSED_COMPONENT);
31                 KeyStroke helpKey = KeyStroke.getKeyStroke(KeyEvent.VK_F1, 0);
32                 im.put(helpKey, "help");
33
34 * Oktavförändring i MooKeyboard
35         Mappa F9-F12 till MooKeyboard.setOctave(n) där n = {2, 4, 6, 8}