public class OwKeyEvent extends Object implements OwEventDescription
OwKeyEvent.
Alfresco Workdesk
Copyright (c) Alfresco Software, Inc.
All rights reserved.
For licensing information read the license.txt file or
go to: http://wiki.alfresco.com
| Constructor and Description |
|---|
OwKeyEvent(int iKeyCode_p,
int iCtrlKey_p,
String strEventURL_p,
String strFormName_p,
String description_p)
create key event
|
| Modifier and Type | Method and Description |
|---|---|
boolean |
equals(Object obj_p) |
static String |
getCtrlDescription(Locale locale_p,
int iCtrlCode_p)
Deprecated.
since 4.1.1.0 use
OwKeyboardDescription |
int |
getCtrlKeyCode() |
String |
getDescription() |
String |
getDescription(Locale locale,
OwOSFamily userAgentFamily) |
String |
getEventString(Locale locale,
OwOSFamily userAgentFamily) |
String |
getEventURL() |
String |
getFormName() |
int |
getKeyCode() |
String |
getKeyDescription(Locale locale_p)
Deprecated.
since 4.1.1.0 use
getKeyDescription(Locale, OwOSFamily) |
String |
getKeyDescription(Locale locale,
OwOSFamily userAgentFamily) |
int |
getMaskedCode()
compute a code from keycode and CTRL code
|
int |
hashCode() |
public OwKeyEvent(int iKeyCode_p,
int iCtrlKey_p,
String strEventURL_p,
String strFormName_p,
String description_p)
iKeyCode_p - int code of the keyboard key as returned by the JavaScript method event.keyCodeiCtrlKey_p - int any combination of the KEYBOARD_CTRLKEY_... definitions, can be 0strEventURL_p - String URL to be requested upon key pressstrFormName_p - String form namedescription_p - String description of the eventpublic int getKeyCode()
public int getCtrlKeyCode()
public String getEventURL()
public String getFormName()
public String getDescription()
public static String getCtrlDescription(Locale locale_p, int iCtrlCode_p)
OwKeyboardDescriptionlocale_p - public String getKeyDescription(Locale locale, OwOSFamily userAgentFamily)
locale - userAgentFamily - public String getEventString(Locale locale, OwOSFamily userAgentFamily)
getEventString in interface OwEventDescriptionpublic String getKeyDescription(Locale locale_p)
getKeyDescription(Locale, OwOSFamily)locale_p - public int getMaskedCode()
public String getDescription(Locale locale, OwOSFamily userAgentFamily)
getDescription in interface OwEventDescriptionCopyright © 2014 Alfresco Business Solutions. All Rights Reserved.