org.apache.ecs
Interface KeyEvents
- All Known Implementing Classes:
- Sup, H4, Ins, S, Div, IMG, Input, THead, FieldSet, Acronym, Link, Body, DD, H5, Area, PRE, A, Legend, Del, Small, Address, NoFrames, TD, Button, Strong, Var, H6, U, Em, B, UL, Span, OL, Dfn, DL, I, TR, Code, H1, Samp, LI, P, Option, Table, HR, BlockQuote, TBody, Caption, Form, Strike, DT, Label, H2, TextArea, Q, Map, Center, ObjectElement, TT, Sub, TFoot, Big, NoScript, Kbd, Select, H3, TH, Abbr, Cite, OptGroup, h6, samp, label, fieldset, td, ul, a, caption, tbody, dl, em, form, h1, ol, u, b, li, tfoot, map, tr, cite, abbr, hr, sub, legend, big, i, kbd, h2, dt, strong, button, p, thead, tt, link, sup, noscript, h3, input, ins, acronym, area, div, q, body, h4, th, option, small, blockquote, del, textarea, object, address, strike, var, dfn, h5, dd, center, span, optgroup, s, img, select, pre, noframes, table, code
- public interface KeyEvents
This interface is intended to be implemented by elements that require
javascript key event attributes.
- Version:
- $Id: KeyEvents.java,v 1.3 1999/10/15 03:40:15 stephan 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-2000 Apache Software Foundation. All Rights Reserved.