Jürg Lehni
|
78a9f9afe9
|
Let Keyboard handlers know which view should receive keyboard focus.
|
2011-05-16 00:17:37 +01:00 |
|
Jürg Lehni
|
e79d890432
|
Add #toString() to Event#modifiers.
|
2011-05-08 15:50:17 +01:00 |
|
Jürg Lehni
|
af8fd22ae2
|
Remove hyphen from event types, to go with the naming of the browser world more.
|
2011-05-08 15:35:10 +01:00 |
|
Jürg Lehni
|
04ff593adc
|
Have Events print modifiers correctly in #toString().
|
2011-05-08 15:33:00 +01:00 |
|
Jürg Lehni
|
5a9dc3dece
|
Have Event#modifiers exposed as a bean.
|
2011-05-08 15:28:56 +01:00 |
|
Jürg Lehni
|
6593c07127
|
Fix more key handling bugs and make Key.isDown() work again.
|
2011-05-08 15:28:35 +01:00 |
|
Jürg Lehni
|
450fadfcbf
|
Fix issues with keys that fire both keydown and keypress events, such as space.
|
2011-05-08 15:23:32 +01:00 |
|
Jürg Lehni
|
742c9da822
|
More work on key handling and rename KeyEvent#keyCode -> KeyEvent#key.
|
2011-05-08 15:16:41 +01:00 |
|
Jürg Lehni
|
37f982e53f
|
Remove unused lookup table.
|
2011-05-08 13:46:31 +01:00 |
|
Jürg Lehni
|
b26caee702
|
Improve key event handling, work in progress.
|
2011-05-08 13:43:52 +01:00 |
|
Jürg Lehni
|
4e6e855461
|
Change '// TODO: Port' comments to '// PORT:'.
|
2011-05-07 14:18:27 +01:00 |
|
Jonathan Puckey
|
41120cf4d9
|
Various small code cleanups.
|
2011-05-02 12:23:42 +02:00 |
|
Jürg Lehni
|
4d999d57e2
|
Replace all type converting string compares with ===, !==.
|
2011-04-28 13:23:17 +01:00 |
|
Jürg Lehni
|
6468732d96
|
Some changes to Key code, rename alt to option to go with Scriptographer, and check for paper.toolt to exist since it caused errors when reloading a page.
|
2011-04-28 08:49:56 +01:00 |
|
Jürg Lehni
|
ccbdb2abe3
|
Make preventDefault() work on IE too.
|
2011-04-27 12:41:52 +01:00 |
|
Jürg Lehni
|
77ad25ffba
|
Clean up port comments.
|
2011-04-26 17:47:30 +01:00 |
|
Jonathan Puckey
|
e52ed9ae36
|
Key handlers: allow the user to prevent the default behaviour of key events.
|
2011-04-25 18:11:01 +02:00 |
|
Jonathan Puckey
|
1efb69e46f
|
Key: small change to a todo comment.
|
2011-04-25 17:42:37 +02:00 |
|
Jonathan Puckey
|
778997ec18
|
Simplify Key further and fix ToolEvent#getModifiers.
|
2011-04-25 17:38:40 +02:00 |
|
Jonathan Puckey
|
404bbac3a5
|
Key: remove logging statement.
|
2011-04-25 17:30:24 +02:00 |
|
Jonathan Puckey
|
5d15c3dfef
|
Simplify ToolEvent#getModifiers() & small cleanup in Key.
|
2011-04-25 17:26:58 +02:00 |
|
Jonathan Puckey
|
a96bb326f4
|
Some more simplifications in Key.
|
2011-04-25 17:16:45 +02:00 |
|
Jonathan Puckey
|
95bfebf64b
|
Simplify Key a bit.
|
2011-04-25 17:08:08 +02:00 |
|
Jonathan Puckey
|
2e43fb0997
|
Key: add type to the key event.
|
2011-04-25 14:57:06 +02:00 |
|
Jonathan Puckey
|
05a138bc7b
|
Implement onKeyDown / onKeyUp & Key#isDown(key).
|
2011-04-25 14:52:45 +02:00 |
|
Jonathan Puckey
|
1e4ae9afb4
|
Simplify ToolEvent#modifiers.
|
2011-04-25 12:05:18 +02:00 |
|
Jonathan Puckey
|
22bc08501e
|
Implement ToolEvent#modifiers.
|
2011-04-25 11:52:52 +02:00 |
|