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

The Yoix® Scripting Language

Home | What's New | Grammar | Documentation | Download | License | YChart | YDAT | YWAIT | Byzgraf | FAQs
invocationEditImport (InvocationEvent event) yoix.event
 
The invocationEditImport event handler is a special user-defined Function that can be added to a JTable when it is created and that will be called automatically with a single InvocationEvent argument whenever the cell that is being edited changes because data was imported from a Clipboard, like the system clipboard, or by a DnD operation. An invocationEditImport event handler can only be added via addEventHandler after a component is created, but an existing invocationEditImport event handler can be assigned new values. Assigning NULL to invocationEditImport disables its functionality until a non-NULL value is assigned to it.

The InvocationEvent received by this handler will have the following fields:
id An Object that must be an int or String, that identifies the type of this event. A value that is a String must be the name of an event handler that can process this event. A value that is an int must be a number that the yoix.event.HandlerID dictionary associates with an event handler that can process this event.

In practice, id is only used when you build an event that gets handed to postEvent, and in that case the value assigned to id is almost always a String.

text A String representation of the value currently stored in the cell that imported the data.
transferable An Object, usually a String, that represents the data that was imported by the cell.
valuesColumn An int that is the column location of the cell that imported the data in terms of the column's position in the values matrix.
valuesRow An int that is the row location of the cell that imported the data in terms of the row's position in the values matrix.
viewColumn An int that is the column location of the cell that imported the data in terms of the column's position in the view matrix.
viewRow An int that is the row location of the cell that imported the data in terms of the row's position in the view matrix.
 
 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, InvocationEvent, invocationRun, invocationSelection, itemStateChanged, keyPressed, 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 Inc.