org.apache.ecs
Interface  KeyEvents
- All Known Implementing Classes: 
 - Option, Address, Dfn, Samp, Form, Small, DD, H5, Strike, Q, TextArea, Center, H6, NoScript, Select, Em, TD, Cite, Abbr, UL, Table, DL, Map, TBody, OptGroup, Sub, Big, S, Label, Kbd, OL, Caption, H1, LI, TR, TFoot, Link, HR, FieldSet, BlockQuote, Sup, Area, A, DT, H2, Legend, Ins, Body, Div, IMG, TT, Strong, NoFrames, Button, U, B, H3, Input, Acronym, THead, PRE, Del, I, Var, Span, TH, ObjectElement, H4, P, Code, var, noscript, caption, dfn, abbr, cite, hr, h2, dt, pre, a, small, u, tt, option, link, h3, i, b, area, strike, th, acronym, body, textarea, p, table, object, kbd, h4, map, tbody, select, sub, span, center, label, big, optgroup, q, fieldset, blockquote, noframes, address, tfoot, h5, dd, sup, code, td, ins, h6, div, samp, form, em, ul, s, ol, dl, li, thead, tr, strong, button, del, h1, legend, img, input
 
- public interface KeyEvents
 
This interface is intended to be implemented by elements that require
javascript key event attributes.
- Version: 
 - $Id: KeyEvents.java,v 1.4 2003/04/27 09:45:34 rdonkin Exp $
 
- Author: 
 - Stephan Nagy, Jon S. Stevens
 
| 
Method Summary | 
 void | 
setOnKeyDown(java.lang.String script)
 
          make sure implementing classes have a setOnKeyDown method. | 
 void | 
setOnKeyPress(java.lang.String script)
 
          make sure implementing classes have a setOnKeyPress method. | 
 void | 
setOnKeyUp(java.lang.String script)
 
          make sure implementing classes have a setOnKeyUp method. | 
 
setOnKeyPress
public void setOnKeyPress(java.lang.String script)
- make sure implementing classes have a setOnKeyPress method.
The onkeypress event occurs when a key is pressed and released over an
element. This attribute may be used with most elements.
 
setOnKeyDown
public void setOnKeyDown(java.lang.String script)
- make sure implementing classes have a setOnKeyDown method.
The onkeydown event occurs when a key is pressed down over an element.
This attribute may be used with most elements.
 
setOnKeyUp
public void setOnKeyUp(java.lang.String script)
- make sure implementing classes have a setOnKeyUp method.
The onkeyup event occurs when a key is released over an element. This
attribute may be used with most elements.
 
Copyright © 1999-2003 Apache Software Foundation. All Rights Reserved.