My favorites | Sign in
Project Home Downloads Wiki Issues Source
READ-ONLY: This project has been archived. For more information see this post.
Search
for
KeyCode  
KeyCode overview.
Updated Dec 30, 2010 by gal.dol...@gmail.com

Introduction

Another event binder extension is the @KeyCode annotation. It is only valid for: KeyPressEvent, KeyDownEvent, KeyUpEvent.

It filters the KeyCode of the event.

Example:

    @ViewHandler
    @KeyCode({KeyCodes.KEY_ENTER})
    public void login$username$password$keyDown() {
    ...
    }
Powered by Google Project Hosting