View Javadoc

1   /*
2    * Licensed to the Apache Software Foundation (ASF) under one
3    * or more contributor license agreements.  See the NOTICE file
4    * distributed with this work for additional information
5    * regarding copyright ownership.  The ASF licenses this file
6    * to you under the Apache License, Version 2.0 (the
7    * "License"); you may not use this file except in compliance
8    * with the License.  You may obtain a copy of the License at
9    *
10   *   http://www.apache.org/licenses/LICENSE-2.0
11   *
12   * Unless required by applicable law or agreed to in writing,
13   * software distributed under the License is distributed on an
14   * "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
15   * KIND, either express or implied.  See the License for the
16   * specific language governing permissions and limitations
17   * under the License.
18   */
19  package org.apache.myfaces.component;
20  
21  /**
22   * 
23   * @since 1.1.7
24   * @author Leonardo Uribe (latest modification by $Author: lu4242 $)
25   * @version $Revision: 691856 $ $Date: 2008-09-03 21:40:30 -0500 (Wed, 03 Sep 2008) $
26   */
27  public interface EventAware
28  {
29      
30      /**
31       * HTML: Script to be invoked when the element is clicked.
32       * 
33       * @JSFProperty
34       */
35      public String getOnclick();
36  
37      /**
38       * HTML: Script to be invoked when the element is double-clicked.
39       * 
40       * @JSFProperty
41       */
42      public String getOndblclick();
43  
44      /**
45       * HTML: Script to be invoked when a key is pressed down over this element.
46       * 
47       * @JSFProperty
48       */
49      public String getOnkeydown();
50  
51      /**
52       * HTML: Script to be invoked when a key is pressed over this element.
53       * 
54       * @JSFProperty
55       */
56      public String getOnkeypress();
57  
58      /**
59       * HTML: Script to be invoked when a key is released over this element.
60       * 
61       * @JSFProperty
62       */
63      public String getOnkeyup();
64  
65      /**
66       * HTML: Script to be invoked when the pointing device is pressed over this element.
67       * 
68       * @JSFProperty
69       */
70      public String getOnmousedown();
71  
72      /**
73       * HTML: Script to be invoked when the pointing device is moved while it is in this element.
74       * 
75       * @JSFProperty
76       */
77      public String getOnmousemove();
78  
79      /**
80       * HTML: Script to be invoked when the pointing device is moves out of this element.
81       * 
82       * @JSFProperty
83       */
84      public String getOnmouseout();
85  
86      /**
87       * HTML: Script to be invoked when the pointing device is moved into this element.
88       * 
89       * @JSFProperty
90       */
91      public String getOnmouseover();
92  
93      /**
94       * HTML: Script to be invoked when the pointing device is released over this element.
95       * 
96       * @JSFProperty
97       */
98      public String getOnmouseup();
99  
100 }