29 lines
820 B
Java
29 lines
820 B
Java
package org.w3c.dom.events;
|
|
|
|
import org.w3c.dom.views.AbstractView;
|
|
|
|
public interface KeyboardEvent extends UIEvent {
|
|
public static final int DOM_KEY_LOCATION_LEFT = 1;
|
|
public static final int DOM_KEY_LOCATION_NUMPAD = 3;
|
|
public static final int DOM_KEY_LOCATION_RIGHT = 2;
|
|
public static final int DOM_KEY_LOCATION_STANDARD = 0;
|
|
|
|
boolean getAltKey();
|
|
|
|
boolean getCtrlKey();
|
|
|
|
String getKeyIdentifier();
|
|
|
|
int getKeyLocation();
|
|
|
|
boolean getMetaKey();
|
|
|
|
boolean getModifierState(String str);
|
|
|
|
boolean getShiftKey();
|
|
|
|
void initKeyboardEvent(String str, boolean z, boolean z2, AbstractView abstractView, String str2, int i, String str3);
|
|
|
|
void initKeyboardEventNS(String str, String str2, boolean z, boolean z2, AbstractView abstractView, String str3, int i, String str4);
|
|
}
|