Up: BLOX.BEventTarget [Index]
Add to the receiver the event handlers implemented by an instance of aBEventSetSubclass. Answer the new instance of aBEventSetSublass.
When an ASCII key is pressed and the receiver has the focus, send the 1-argument message identified by aSelector to anObject, passing to it a Character.
When the receiver is destroyed, send the unary message identified by aSelector to anObject.
When the focus enters the receiver, send the unary message identified by aSelector to anObject.
When the focus leaves the receiver, send the unary message identified by aSelector to anObject.
When the given key is pressed and the receiver has the focus, send the unary message identified by aSelector to anObject. Examples for key are: ’Ctrl-1’, ’Alt-X’, ’Meta-plus’, ’enter’. The last two cases include example of special key identifiers; these include: ’backslash’, ’exclam’, ’quotedbl’, ’dollar’, ’asterisk’, ’less’, ’greater’, ’asciicircum’ (caret), ’question’, ’equal’, ’parenleft’, ’parenright’, ’colon’, ’semicolon’, ’bar’ (pipe sign), ’underscore’, ’percent’, ’minus’, ’plus’, ’BackSpace’, ’Delete’, ’Insert’, ’Return’, ’End’, ’Home’, ’Prior’ (Pgup), ’Next’ (Pgdn), ’F1’..’F24’, ’Caps_Lock’, ’Num_Lock’, ’Tab’, ’Left’, ’Right’, ’Up’, ’Down’. There are in addition four special identifiers which map to platform-specific keys: ’<Cut>’, ’<Copy>’, ’<Paste>’, ’<Clear>’ (all with the angular brackets!).
When a key is pressed and the receiver has the focus, send the 1-argument message identified by aSelector to anObject. The pressed key will be passed as a String parameter; some of the keys will send special key identifiers such as those explained in the documentation for #onKeyEvent:send:to: Look at the #eventTest test program in the BloxTestSuite to find out the parameters passed to such an event procedure
When a key has been released and the receiver has the focus, send the 1-argument message identified by aSelector to anObject. The released key will be passed as a String parameter; some of the keys will send special key identifiers such as those explained in the documentation for #onKeyEvent:send:to: Look at the #eventTest test program in the BloxTestSuite to find out the parameters passed to such an event procedure
When the given button is double-clicked on the mouse, send the 1-argument message identified by aSelector to anObject. The mouse position will be passed as a Point.
When a button is double-clicked on the mouse, send the 2-argument message identified by aSelector to anObject. The mouse position will be passed as a Point in the first parameter, the button number will be passed as an Integer in the second parameter.
When the given button is pressed on the mouse, send the 1-argument message identified by aSelector to anObject. The mouse position will be passed as a Point.
When a button is pressed on the mouse, send the 2-argument message identified by aSelector to anObject. The mouse position will be passed as a Point in the first parameter, the button number will be passed as an Integer in the second parameter.
When the mouse enters the widget, send the unary message identified by aSelector to anObject.
When the mouse leaves the widget, send the unary message identified by aSelector to anObject.
When the mouse is moved while the given button is pressed on the mouse, send the 1-argument message identified by aSelector to anObject. The mouse position will be passed as a Point.
When the mouse is moved, send the 1-argument message identified by aSelector to anObject. The mouse position will be passed as a Point.
When the given button is triple-clicked on the mouse, send the 1-argument message identified by aSelector to anObject. The mouse position will be passed as a Point.
When a button is triple-clicked on the mouse, send the 2-argument message identified by aSelector to anObject. The mouse position will be passed as a Point in the first parameter, the button number will be passed as an Integer in the second parameter.
When the given button is released on the mouse, send the 1-argument message identified by aSelector to anObject. The mouse position will be passed as a Point.
When a button is released on the mouse, send the 2-argument message identified by aSelector to anObject. The mouse position will be passed as a Point in the first parameter, the button number will be passed as an Integer in the second parameter.
When the receiver is resized, send the 1-argument message identified by aSelector to anObject. The new size will be passed as a Point.
Up: BLOX.BEventTarget [Index]