Please wait. This can take some minutes ...
Many resources are needed to download a project. Please understand that we have to compensate our server costs. Thank you in advance.
Project price only 1 $
You can buy this project and download/modify it how often you want.
io.guise.framework.input.Key Maven / Gradle / Ivy
/*
* Copyright © 2005-2008 GlobalMentor, Inc.
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS,
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
* See the License for the specific language governing permissions and
* limitations under the License.
*/
package io.guise.framework.input;
/**
* A key on a keyboard. The Unicode code point to which a particular key corresponds vary according to keyboard layout. Some keys, such as control keys, do not
* respond to any Unicode code point at all.
* @author Garret Wilson
* @see java.awt.event.KeyEvent
*/
public enum Key {
ALT_LEFT, ALT_RIGHT, BACKSPACE, CANCEL, CAPS_LOCK, CLEAR, CONTEXT_MENU, CONTROL_LEFT, CONTROL_RIGHT, DELETE, DOWN, END, ENTER, ESCAPE, F1, F2, F3, F4, F5, F6, F7, F8, F9, F10, F11, F12,
//TODO add F13-F24 for IBM 3270 keyboard
HOME, INSERT, LEFT, MULTIPLY, NUMPAD_0, NUMPAD_1, NUMPAD_2, NUMPAD_3, NUMPAD_4, NUMPAD_5, NUMPAD_6, NUMPAD_7, NUMPAD_8, NUMPAD_9, NUMPAD_ADD, NUMPAD_DECIMAL, NUMPAD_DIVIDE, NUMPAD_ENTER, NUMPAD_NUM_LOCK, NUMPAD_SCROLL_LOCK, NUMPAD_SUBTRACT, PAGE_DOWN, PAGE_UP, PAUSE, PRINT_SCREEN, RIGHT, SHIFT_LEFT, SHIFT_RIGHT, SPACE, TAB, UP, WINDOWS;
}