org.apache.ecs
Interface FocusEvents
- All Known Implementing Classes:
- Option, Input, A, OptGroup, Button, Area, Map
- public interface FocusEvents
This interface is intended to be implemented by elements that require
javascript page event attributes.
- Version:
- $Id: FocusEvents.java,v 1.3 1999/10/15 03:40:14 stephan Exp $
- Author:
- Stephan Nagy, Jon S. Stevens
Method Summary |
void |
setOnBlur(java.lang.String script)
make sure implementing classes have a setOnBlur method. |
void |
setOnFocus(java.lang.String script)
make sure implementing classes have a setOnFocus method. |
setOnFocus
public void setOnFocus(java.lang.String script)
- make sure implementing classes have a setOnFocus method.
The onfocus event occurs when an element receives focus either by the
pointing device or by tabbing navigation. This attribute may be used
with the following elements: LABEL, INPUT, SELECT, TEXTAREA, and
BUTTON.
setOnBlur
public void setOnBlur(java.lang.String script)
- make sure implementing classes have a setOnBlur method.
The onblur event occurs when an element loses focus either by the
pointing device or by tabbing navigation. It may be used with the same
elements as onfocus.