This appendix contains the complete Java [Java] bindings for the Level 3 Document Object Model Events.
The Java files are also available as http://www.w3.org/TR/2000/WD-DOM-Level-3-Events-20000901/java-binding.zip
package org.w3c.dom.events; import org.w3c.dom.views.AbstractView; import org.w3c.dom.UIEvent; public interface KeyEvent extends UIEvent { // VirtualKeyCode public static final int DOM_VK_UNDEFINED = 0x0; public static final int DOM_VK_RIGHT_ALT = 0x12; public static final int DOM_VK_LEFT_ALT = 0x12; public static final int DOM_VK_LEFT_CONTROL = 0x11; public static final int DOM_VK_RIGHT_CONTROL = 0x11; public static final int DOM_VK_LEFT_SHIFT = 0x10; public static final int DOM_VK_RIGHT_SHIFT = 0x10; public static final int DOM_VK_META = 0x9D; public static final int DOM_VK_BACK_SPACE = 0x08; public static final int DOM_VK_CAPS_LOCK = 0x14; public static final int DOM_VK_DELETE = 0x7F; public static final int DOM_VK_END = 0x23; public static final int DOM_VK_ENTER = 0x0D; public static final int DOM_VK_ESCAPE = 0x1B; public static final int DOM_VK_HOME = 0x24; public static final int DOM_VK_NUM_LOCK = 0x90; public static final int DOM_VK_PAUSE = 0x13; public static final int DOM_VK_PRINTSCREEN = 0x9A; public static final int DOM_VK_SCROLL_LOCK = 0x91; public static final int DOM_VK_SPACE = 0x20; public static final int DOM_VK_TAB = 0x09; public static final int DOM_VK_LEFT = 0x25; public static final int DOM_VK_RIGHT = 0x27; public static final int DOM_VK_UP = 0x26; public static final int DOM_VK_DOWN = 0x28; public static final int DOM_VK_PAGE_DOWN = 0x22; public static final int DOM_VK_PAGE_UP = 0x21; public static final int DOM_VK_F1 = 0x70; public static final int DOM_VK_F2 = 0x71; public static final int DOM_VK_F3 = 0x72; public static final int DOM_VK_F4 = 0x73; public static final int DOM_VK_F5 = 0x74; public static final int DOM_VK_F6 = 0x75; public static final int DOM_VK_F7 = 0x76; public static final int DOM_VK_F8 = 0x77; public static final int DOM_VK_F9 = 0x78; public static final int DOM_VK_F10 = 0x79; public static final int DOM_VK_F11 = 0x7A; public static final int DOM_VK_F12 = 0x7B; public static final int DOM_VK_F13 = 0xF000; public static final int DOM_VK_F14 = 0xF001; public static final int DOM_VK_F15 = 0xF002; public static final int DOM_VK_F16 = 0xF003; public static final int DOM_VK_F17 = 0xF004; public static final int DOM_VK_F18 = 0xF005; public static final int DOM_VK_F19 = 0xF006; public static final int DOM_VK_F20 = 0xF007; public static final int DOM_VK_F21 = 0xF008; public static final int DOM_VK_F22 = 0xF009; public static final int DOM_VK_F23 = 0xF00A; public static final int DOM_VK_F24 = 0xF00B; public String getOutputString(); public void setOutputString(String outputString); public int getKeyVal(); public void setKeyVal(int keyVal); public int getVirtKeyVal(); public void setVirtKeyVal(int virtKeyVal); public boolean getInputGenerated(); public void setInputGenerated(boolean inputGenerated); public boolean getNumPad(); public void setNumPad(boolean numPad); public boolean GetModifier(int modifer); public void initKeyEvent(String typeArg, boolean canBubbleArg, boolean cancelableArg, AbstractView viewArg, short detailArg, String outputStringArg, int keyValArg, int virtKeyValArg, boolean inputGeneratedArg, boolean numPadArg); }
package org.w3c.dom.events; public interface EventGroup { }
package org.w3c.dom.events; import org.w3c.dom.EventListener; public interface EventTargetGroup { public void addEventListener(String type, EventListener listener, boolean useCapture, EventGroup eventGroup); public void removeEventListener(String type, EventListener listener, boolean useCapture, EventGroup eventGroup); }
package org.w3c.dom.events; public interface EventGrouped { public void stopPropagation(EventGroup eventGroup); }
package org.w3c.dom.events; public interface DocumentEventGroup { public EventGroup createEventGroup(); }