001: /*
002: * Licensed to the Apache Software Foundation (ASF) under one or more
003: * contributor license agreements. See the NOTICE file distributed with
004: * this work for additional information regarding copyright ownership.
005: * The ASF licenses this file to You under the Apache License, Version 2.0
006: * (the "License"); you may not use this file except in compliance with
007: * the License. You may obtain a copy of the License at
008: *
009: * http://www.apache.org/licenses/LICENSE-2.0
010: *
011: * Unless required by applicable law or agreed to in writing, software
012: * distributed under the License is distributed on an "AS IS" BASIS,
013: * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
014: * See the License for the specific language governing permissions and
015: * limitations under the License.
016: *
017: * $Header:$
018: */
019: package org.apache.beehive.netui.tags;
020:
021: public interface IHtmlEvents {
022:
023: /**
024: * Gets the onClick javascript event.
025: * @return the onClick event.
026: */
027: //String getOnClick();
028:
029: /**
030: * Sets the onClick javascript event.
031: * @param onclick - the onClick event.
032: */
033: void setOnClick(String onclick);
034:
035: /**
036: * Gets the onDblClick javascript event.
037: * @return the onDblClick event.
038: */
039: //String getOnDblClick();
040: /**
041: * Sets the onDblClick javascript event.
042: * @param ondblclick - the onDblClick event.
043: */
044: void setOnDblClick(String ondblclick);
045:
046: /**
047: * Gets the onKeyDown javascript event.
048: * @return the onKeyDown event.
049: */
050: //String getOnKeyDown();
051: /**
052: * Sets the onKeyDown javascript event.
053: * @param onkeydown - the onKeyDown event.
054: */
055: void setOnKeyDown(String onkeydown);
056:
057: /**
058: * Gets the onKeyPress javascript event.
059: * @return the onKeyPress event.
060: */
061: //String getOnKeyPress();
062: /**
063: * Sets the onKeyPress javascript event.
064: * @param onkeypress - the onKeyPress event.
065: */
066: void setOnKeyPress(String onkeypress);
067:
068: /**
069: * Gets the onKeyUp javascript event.
070: * @return the onKeyUp event.
071: */
072: //String getOnKeyUp();
073: /**
074: * Sets the onKeyUp javascript event.
075: * @param onkeyup - the onKeyUp event.
076: */
077: void setOnKeyUp(String onkeyup);
078:
079: /**
080: * Gets the onMouseDown javascript event.
081: * @return the onMouseDown event.
082: */
083: //String getOnMouseDown();
084: /**
085: * Sets the onMouseDown javascript event.
086: * @param onmousedown - the onMouseDown event.
087: */
088: void setOnMouseDown(String onmousedown);
089:
090: /**
091: * Gets the onMouseMove javascript event.
092: * @return the onMouseMove event.
093: */
094: //String getOnMouseMove();
095: /**
096: * Sets the onMouseMove javascript event.
097: * @param onmousemove - the onMouseMove event.
098: */
099: void setOnMouseMove(String onmousemove);
100:
101: /**
102: * Gets the onMouseOut javascript event.
103: * @return the onMouseOut event.
104: */
105: //String getOnMouseOut();
106: /**
107: * Sets the onMouseOut javascript event.
108: * @param onmouseout - the onMouseOut event.
109: */
110: void setOnMouseOut(String onmouseout);
111:
112: /**
113: * Gets the onMouseOver javascript event.
114: * @return the onMouseOver event.
115: */
116: //String getOnMouseOver();
117: /**
118: * Sets the onMouseOver javascript event.
119: * @param onmouseover - the onMouseOver event.
120: */
121: void setOnMouseOver(String onmouseover);
122:
123: /**
124: * Gets the onMouseUp javascript event.
125: * @return the onMouseUp event.
126: */
127: //String getOnMouseUp();
128: /**
129: * Sets the onMouseUp javascript event.
130: * @param onmouseup - the onMouseUp event.
131: */
132: void setOnMouseUp(String onmouseup);
133: }
|