static void createDefineTouchField(int fieldIdx, int key)
Throws:
_INSERT_METHOD_SIGNATURE_HERE_
Description:
Parameter | Range | Description |
---|---|---|
fieldIdx | 0 ... 63 (-1 = next free touch field index) | index of the touch field |
key | 0 ... 255 | value reported in case of touch event |
Creates or redefines the touch field with index fieldIdx with the current values and properties previously set (e.g. Touch.setTouchFieldWidth(int), etc.). The value key can be set in the range 0 till 255.
Note
Example
Touch.createDefineTouchField(-1, 0);
This will create a touch field with the next free index (fieldIdx). If the new created touch field is pressed the index (fieldIdx) of the touch field, the event type, the event coorinates, and the point ID (optional) will be set.
See also:
Touch
TouchEvent
Touch.removeTouchField(int)
enableDisableTouchFieldReporting(boolean)
Touch.setCurrentTouchFieldIndex(int)
Touch.drawTouchFieldTextMessage(int)
Copyright © demmel products gmbh. All rights reserved.