Package: com.multiversesocial.hyperview
Class: com.multiversesocial.hyperview.KeyboardConstants
Source: src/com/multiversesocial/hyperview/KeyboardConstants.java

KeyboardConstants

HyperView V3.2 — interface
version V3.2 interface

Summary

Covered by the Tony simle licence fmt. For Flags public static final int NOTIFY_HYPERVIEW = 0x00000080;

Source file: KeyboardConstants.java

Hierarchy

Extends: none

Implements: none

Referenced HyperView classes

Media files used

Declaration & members

public abstract interface KeyboardConstants

Declared in src/com/multiversesocial/hyperview/KeyboardConstants.java, lines 6–57. 26 field(s), 0 constructor(s), 1 method(s). Every member has an anchor you can link to (e.g. KeyboardConstants.html#<id>).

Fields (26)

DeclarationValue / initializerDescriptionSource
public static final int ECHO= 8 (constant)No comment in source; not referenced by name in this type’s methods.line 16
public static final int[] ECHO_MODES= {KB_DISABLE, KB_ENABLE, REMOTE_ENA | REMOTE_ECHO, REMOTE_ENA, (KB_ENA | ECHO), KB_ENA}No comment in source; not referenced by name in this type’s methods.line 48
public static final int EXIT= 2 (constant)No comment in source; name appears in 1 other source file(s): MouseHandlerConstants.line 12
public static final int KB_DISABLE= -61 (constant)
source: ~(KB_ENA | REMOTE_ENA | ECHO | REMOTE_ECHO)
Enable All Keyboard IO This will control the Keyboard channelline 45
public static final int KB_ENA= 4 (constant)No comment in source; not referenced by name in this type’s methods.line 13
public static final int KB_ENABLE= 60 (constant)
source: (KB_ENA | REMOTE_ENA | ECHO | REMOTE_ECHO)
No comment in source; not referenced by name in this type’s methods.line 46
public static final int KEY_LISTENER_LOADED= 1 (constant)Deprecated with AWT interfaceline 11
public static final int MAX_KEYS= 512 (constant)No comment in source; name appears in 11 other source file(s): AWTEventManager, Asteroids, GetString, HyperEditBuffer ….line 10
public static final byte PRESSED= 1 (constant)HyperKeyEvent flag bitsline 22
public static final byte RELEASED= 2 (constant)No comment in source; name appears in 5 other source file(s): AWTEventManager, Asteroids, HyperFrame, HyperSelectItem ….line 23
public static final int REMOTE_ECHO= 16 (constant)No comment in source; not referenced by name in this type’s methods.line 17
public static final int REMOTE_ENA= 32 (constant)No comment in source; not referenced by name in this type’s methods.line 18
public static final byte TYPED= 4 (constant)No comment in source; not referenced by name in this type’s methods.line 24
public static final int VK_ALT= 18 (constant)
source: KeyEvent.VK_ALT
No comment in source; not referenced by name in this type’s methods.line 29
public static final int VK_CAPS_LOCK= 20 (constant)
source: KeyEvent.VK_CAPS_LOCK
No comment in source; not referenced by name in this type’s methods.line 31
public static final int VK_CONTROL= 17 (constant)
source: KeyEvent.VK_CONTROL
No comment in source; not referenced by name in this type’s methods.line 28
public static final int VK_END= 35 (constant)
source: KeyEvent.VK_END
No comment in source; not referenced by name in this type’s methods.line 36
public static final int VK_ESCAPE= 27 (constant)
source: KeyEvent.VK_ESCAPE
No comment in source; not referenced by name in this type’s methods.line 32
public static final int VK_HOME= 36 (constant)
source: KeyEvent.VK_HOME
No comment in source; not referenced by name in this type’s methods.line 37
public static final int VK_INSERT= 155 (constant)
source: KeyEvent.VK_INSERT
No comment in source; not referenced by name in this type’s methods.line 39
public static final int VK_PAGE_DOWN= 34 (constant)
source: KeyEvent.VK_PAGE_DOWN
No comment in source; not referenced by name in this type’s methods.line 35
public static final int VK_PAGE_UP= 33 (constant)
source: KeyEvent.VK_PAGE_UP
No comment in source; not referenced by name in this type’s methods.line 34
public static final int VK_PAUSE= 19 (constant)
source: KeyEvent.VK_PAUSE
No comment in source; not referenced by name in this type’s methods.line 30
public static final int VK_PRINTSCREEN= 154 (constant)
source: KeyEvent.VK_PRINTSCREEN
No comment in source; not referenced by name in this type’s methods.line 38
public static final int VK_SHIFT= 16 (constant)
source: KeyEvent.VK_SHIFT
No comment in source; name appears in 1 other source file(s): HyperSelectItem.line 27
public static final int VK_SPACE= 32 (constant)
source: KeyEvent.VK_SPACE
No comment in source; name appears in 2 other source file(s): Asteroids, HyperKeyboard.line 33

Constructors (0)

None (interface).

Methods (1)

SignatureDescriptionSource
static { … }Implicit default constructor generated by the compiler (not written in the source).implicit

Examples

Real usage taken from elsewhere in the HyperView 3.2 source (file and line shown; source path src/com/multiversesocial/hyperview/).

constant — AWTEventManager.java, line 156

  156  keyMsg[keyboard.intBufferIndex].flags = KeyboardConstants.PRESSED;

constant — Asteroids.java, line 894

  893  // PLUS: we have the keyboard monitor.
  894  if((keyboard.keyMsg[index].flags & KeyboardConstants.PRESSED) != 0)
  895  {
Hits--