org.apache.ecs
Interface MouseEvents
- All Known Implementing Classes:
- Option, Address, Dfn, Samp, Form, Small, DD, H5, Strike, Q, TextArea, Center, H6, NoScript, Select, Em, TD, Cite, Abbr, UL, Table, DL, Map, TBody, OptGroup, Sub, Big, S, Label, Kbd, OL, Caption, H1, LI, TR, TFoot, Link, HR, FieldSet, BlockQuote, Sup, Area, A, DT, H2, Legend, Ins, Body, Div, IMG, TT, Strong, NoFrames, Button, U, B, H3, Input, Acronym, THead, PRE, Del, I, Var, Span, TH, ObjectElement, H4, P, Code, var, noscript, caption, dfn, abbr, cite, hr, h2, dt, pre, a, small, u, tt, option, link, h3, i, b, area, strike, th, acronym, body, textarea, p, table, object, kbd, h4, map, tbody, select, sub, span, center, label, big, optgroup, q, fieldset, blockquote, noframes, address, tfoot, h5, dd, sup, code, td, ins, h6, div, samp, form, em, ul, s, ol, dl, li, thead, tr, strong, button, del, h1, legend, img, input
- public interface MouseEvents
This interface is intended to be implemented by elements that require
javascript mouse event attributes.
- Version:
- $Id: MouseEvents.java,v 1.4 2003/04/27 09:42:53 rdonkin Exp $
- Author:
- Stephan Nagy, Jon S. Stevens
Method Summary |
void |
setOnClick(java.lang.String script)
make sure implementing classes have a setOnClick method. |
void |
setOnDblClick(java.lang.String script)
make sure implementing classes have a setOnDblClick method. |
void |
setOnMouseDown(java.lang.String script)
make sure implementing classes have a setOnMouseDown method. |
void |
setOnMouseMove(java.lang.String script)
make sure implementing classes have a setOnMouseMove method. |
void |
setOnMouseOut(java.lang.String script)
make sure implementing classes have a setOnMouseOut method. |
void |
setOnMouseOver(java.lang.String script)
make sure implementing classes have a setOnMouseOver method. |
void |
setOnMouseUp(java.lang.String script)
make sure implementing classes have a setOnMouseUp method. |
setOnClick
public void setOnClick(java.lang.String script)
- make sure implementing classes have a setOnClick method.
The onclick event occurs when the pointing device button is clicked
over an element. This attribute may be used with most elements.
setOnDblClick
public void setOnDblClick(java.lang.String script)
- make sure implementing classes have a setOnDblClick method.
The ondblclick event occurs when the pointing device button is double
clicked over an element. This attribute may be used with most elements.
setOnMouseDown
public void setOnMouseDown(java.lang.String script)
- make sure implementing classes have a setOnMouseDown method.
The onmousedown event occurs when the pointing device button is pressed
over an element. This attribute may be used with most elements.
setOnMouseUp
public void setOnMouseUp(java.lang.String script)
- make sure implementing classes have a setOnMouseUp method.
The onmouseup event occurs when the pointing device button is released
over an element. This attribute may be used with most elements.
setOnMouseOver
public void setOnMouseOver(java.lang.String script)
- make sure implementing classes have a setOnMouseOver method.
The onmouseover event occurs when the pointing device is moved onto an
element. This attribute may be used with most elements.
setOnMouseMove
public void setOnMouseMove(java.lang.String script)
- make sure implementing classes have a setOnMouseMove method.
The onmousemove event occurs when the pointing device is moved while it
is over an element. This attribute may be used with most elements.
setOnMouseOut
public void setOnMouseOut(java.lang.String script)
- make sure implementing classes have a setOnMouseOut method.
The onmouseout event occurs when the pointing device is moved away from
an element. This attribute may be used with most elements.
Copyright © 1999-2003 Apache Software Foundation. All Rights Reserved.