AT&T Home | AT&T Labs | Research
AT&T Labs, Inc. - Research

The Yoix® Scripting Language

Home | What's New | Grammar | Documentation | Download | License | YDAT | YWAIT | Byzgraf | FAQs
keyPressed (KeyEvent event) yoix.event
 
The keyPressed event handler is a special user-defined Function that can be added to a component when it is created and that will be called automatically with a single KeyEvent argument whenever a key press occurs while the component has the keyboard focus. A keyPressed event handler can only be added via addEventHandler after a component is created, but an existing keyPressed event handler can be assigned new values. Assigning NULL to keyPressed disables its functionality until a non-NULL value is assigned to it.
 
 Return:   none
 
 See Also:   actionPerformed, addEventHandler, adjustmentValueChanged, caretUpdate, componentHidden, componentMoved, componentResized, componentShown, dragDropEnd, dragEnter, dragExit, dragGestureRecognized, dragMouseMoved, dragOver, drop, dropActionChanged, Event, focusGained, focusLost, hyperlinkActivated, hyperlinkEntered, hyperlinkExited, invocationAction, invocationBrowse, invocationChange, invocationEdit, invocationEditKey, invocationRun, invocationSelection, itemStateChanged, KeyEvent, keyReleased, keyTyped, mouseClicked, mouseDragged, mouseEntered, mouseExited, mouseMoved, mousePressed, mouseReleased, mouseWheelMoved, removeEventHandler, stateChanged, textValueChanged, valueChanged, windowActivated, windowClosed, windowClosing, windowDeactivated, windowDeiconified, windowIconified, windowOpened

 

Yoix is a registered trademark of AT&T Intellectual Property.