org.apache.ecs
Interface KeyEvents
- All Known Implementing Classes:
- A, Abbr, Acronym, Address, Area, B, Big, BlockQuote, Body, Button, Caption, Center, Cite, Code, DD, Del, Dfn, Div, DL, DT, Em, FieldSet, Form, H1, H2, H3, H4, H5, H6, HR, I, IMG, Input, Ins, Kbd, Label, Legend, LI, Link, Map, NoFrames, NoScript, ObjectElement, OL, OptGroup, Option, P, PRE, Q, S, Samp, Select, Small, Span, Strike, Strong, Sub, Sup, Table, TBody, TD, TextArea, TFoot, TH, THead, TR, TT, U, UL, 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.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 © 2000 Apache Software Foundation. All Rights Reserved.