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