org.apache.ecs
Interface FocusEvents

All Known Implementing Classes:
Option, TextArea, Select, Map, OptGroup, Area, A, Button, Input, a, option, area, map, optgroup, button, input

public interface FocusEvents

This interface is intended to be implemented by elements that require javascript page event attributes.

Version:
$Id: FocusEvents.java,v 1.4 2003/04/27 09:43:57 rdonkin 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.
 

Method Detail

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.


Copyright © 1999-2003 Apache Software Foundation. All Rights Reserved.