KickJava   Java API By Example, From Geeks To Geeks.

Java > Open Source Codes > org > apache > beehive > netui > tags > IHtmlEvents


1 /*
2  * Copyright 2004 The Apache Software Foundation.
3  *
4  * Licensed under the Apache License, Version 2.0 (the "License");
5  * you may not use this file except in compliance with the License.
6  * You may obtain a copy of the License at
7  *
8  * http://www.apache.org/licenses/LICENSE-2.0
9  *
10  * Unless required by applicable law or agreed to in writing, software
11  * distributed under the License is distributed on an "AS IS" BASIS,
12  * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
13  * See the License for the specific language governing permissions and
14  * limitations under the License.
15  *
16  * $Header:$
17  */

18 package org.apache.beehive.netui.tags;
19
20 public interface IHtmlEvents
21 {
22
23     /**
24      * Gets the onClick javascript event.
25      * @return the onClick event.
26      */

27     //String getOnClick();
28

29
30     /**
31      * Sets the onClick javascript event.
32      * @param onclick - the onClick event.
33      */

34     void setOnClick(String JavaDoc onclick);
35
36     /**
37      * Gets the onDblClick javascript event.
38      * @return the onDblClick event.
39      */

40     //String getOnDblClick();
41

42     /**
43      * Sets the onDblClick javascript event.
44      * @param ondblclick - the onDblClick event.
45      */

46     void setOnDblClick(String JavaDoc ondblclick);
47
48     /**
49      * Gets the onKeyDown javascript event.
50      * @return the onKeyDown event.
51      */

52     //String getOnKeyDown();
53

54     /**
55      * Sets the onKeyDown javascript event.
56      * @param onkeydown - the onKeyDown event.
57      */

58     void setOnKeyDown(String JavaDoc onkeydown);
59
60     /**
61      * Gets the onKeyPress javascript event.
62      * @return the onKeyPress event.
63      */

64     //String getOnKeyPress();
65

66     /**
67      * Sets the onKeyPress javascript event.
68      * @param onkeypress - the onKeyPress event.
69      */

70     void setOnKeyPress(String JavaDoc onkeypress);
71
72     /**
73      * Gets the onKeyUp javascript event.
74      * @return the onKeyUp event.
75      */

76     //String getOnKeyUp();
77

78     /**
79      * Sets the onKeyUp javascript event.
80      * @param onkeyup - the onKeyUp event.
81      */

82     void setOnKeyUp(String JavaDoc onkeyup);
83
84     /**
85      * Gets the onMouseDown javascript event.
86      * @return the onMouseDown event.
87      */

88     //String getOnMouseDown();
89

90     /**
91      * Sets the onMouseDown javascript event.
92      * @param onmousedown - the onMouseDown event.
93      */

94     void setOnMouseDown(String JavaDoc onmousedown);
95
96     /**
97      * Gets the onMouseMove javascript event.
98      * @return the onMouseMove event.
99      */

100     //String getOnMouseMove();
101

102     /**
103      * Sets the onMouseMove javascript event.
104      * @param onmousemove - the onMouseMove event.
105      */

106     void setOnMouseMove(String JavaDoc onmousemove);
107
108     /**
109      * Gets the onMouseOut javascript event.
110      * @return the onMouseOut event.
111      */

112     //String getOnMouseOut();
113

114     /**
115      * Sets the onMouseOut javascript event.
116      * @param onmouseout - the onMouseOut event.
117      */

118     void setOnMouseOut(String JavaDoc onmouseout);
119
120     /**
121      * Gets the onMouseOver javascript event.
122      * @return the onMouseOver event.
123      */

124     //String getOnMouseOver();
125

126     /**
127      * Sets the onMouseOver javascript event.
128      * @param onmouseover - the onMouseOver event.
129      */

130     void setOnMouseOver(String JavaDoc onmouseover);
131
132     /**
133      * Gets the onMouseUp javascript event.
134      * @return the onMouseUp event.
135      */

136     //String getOnMouseUp();
137

138     /**
139      * Sets the onMouseUp javascript event.
140      * @param onmouseup - the onMouseUp event.
141      */

142     void setOnMouseUp(String JavaDoc onmouseup);
143 }
144
Popular Tags