LPEX
4.4.0

com.ibm.lpex.core
Interface LpexKeyListener

All Superinterfaces:
EventListener

public interface LpexKeyListener
extends EventListener

Key listener on the Eclipse Platform, able to consume LPEX's keys. Key-pressed notifications are received from LPEX through keyPressed(Event event) calls. If the listener changes event.doit to false on exit, LPEX will not process this key.

See Also:
LpexView.addLpexKeyListener(com.ibm.lpex.core.LpexKeyListener), LpexView.removeLpexKeyListener(com.ibm.lpex.core.LpexKeyListener)

Method Summary
 void keyPressed(Event event)
          Notification of a key-pressed event in LPEX.
 

Method Detail

keyPressed

void keyPressed(Event event)
Notification of a key-pressed event in LPEX. The event received by the listener contains the following fields:


LPEX
4.4.0

Copyright � 2016 IBM Corp. All Rights Reserved.

Note: This documentation is for part of an interim API that is still under development and expected to change significantly before reaching stability. It is being made available at this early stage to solicit feedback from pioneering adopters on the understanding that any code that uses this API will almost certainly be broken (repeatedly) as the API evolves.