Example usage for java.awt Event END

List of usage examples for java.awt Event END

Introduction

In this page you can find the example usage for java.awt Event END.

Prototype

int END

To view the source code for java.awt Event END.

Click Source Link

Document

The End key, a non-ASCII action key.

Usage

From source file:EventTester.java

private String function_key_name(int key) {
    switch (key) {
    case Event.HOME:
        return "Home";
    case Event.END:
        return "End";
    case Event.PGUP:
        return "Page Up";
    case Event.PGDN:
        return "Page Down";
    case Event.UP:
        return "Up";
    case Event.DOWN:
        return "Down";
    case Event.LEFT:
        return "Left";
    case Event.RIGHT:
        return "Right";
    case Event.F1:
        return "F1";
    case Event.F2:
        return "F2";
    case Event.F3:
        return "F3";
    case Event.F4:
        return "F4";
    case Event.F5:
        return "F5";
    case Event.F6:
        return "F6";
    case Event.F7:
        return "F7";
    case Event.F8:
        return "F8";
    case Event.F9:
        return "F9";
    case Event.F10:
        return "F10";
    case Event.F11:
        return "F11";
    case Event.F12:
        return "F12";
    }/*  w  ww.  ja  v  a2 s  . co m*/
    return "Unknown Function Key";
}