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 javax.faces.component.html; 20 21 import org.apache.myfaces.buildtools.maven2.plugin.builder.annotation.JSFProperty; 22 23 interface _EventProperties 24 { 25 26 /** 27 * HTML: Script to be invoked when the element is clicked. 28 * 29 */ 30 @JSFProperty 31 public String getOnclick(); 32 33 /** 34 * HTML: Script to be invoked when the element is double-clicked. 35 * 36 */ 37 @JSFProperty 38 public String getOndblclick(); 39 40 /** 41 * HTML: Script to be invoked when a key is pressed down over this element. 42 * 43 */ 44 @JSFProperty 45 public String getOnkeydown(); 46 47 /** 48 * HTML: Script to be invoked when a key is pressed over this element. 49 * 50 */ 51 @JSFProperty 52 public String getOnkeypress(); 53 54 /** 55 * HTML: Script to be invoked when a key is released over this element. 56 * 57 */ 58 @JSFProperty 59 public String getOnkeyup(); 60 61 /** 62 * HTML: Script to be invoked when the pointing device is pressed over this element. 63 * 64 */ 65 @JSFProperty 66 public String getOnmousedown(); 67 68 /** 69 * HTML: Script to be invoked when the pointing device is moved while it is in this element. 70 * 71 */ 72 @JSFProperty 73 public String getOnmousemove(); 74 75 /** 76 * HTML: Script to be invoked when the pointing device is moves out of this element. 77 * 78 */ 79 @JSFProperty 80 public String getOnmouseout(); 81 82 /** 83 * HTML: Script to be invoked when the pointing device is moved into this element. 84 * 85 */ 86 @JSFProperty 87 public String getOnmouseover(); 88 89 /** 90 * HTML: Script to be invoked when the pointing device is released over this element. 91 * 92 */ 93 @JSFProperty 94 public String getOnmouseup(); 95 96 }