01: /*
02: * $Id: IAjaxLink.java 459996 2006-03-25 19:42:10Z ivaynberg $ $Revision: 459996 $
03: * $Date: 2006-03-25 20:42:10 +0100 (Sat, 25 Mar 2006) $
04: *
05: * ==============================================================================
06: * Licensed under the Apache License, Version 2.0 (the "License"); you may not
07: * use this file except in compliance with the License. You may obtain a copy of
08: * the License at
09: *
10: * http://www.apache.org/licenses/LICENSE-2.0
11: *
12: * Unless required by applicable law or agreed to in writing, software
13: * distributed under the License is distributed on an "AS IS" BASIS, WITHOUT
14: * WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the
15: * License for the specific language governing permissions and limitations under
16: * the License.
17: */
18: package wicket.ajax.markup.html;
19:
20: import wicket.ajax.AjaxRequestTarget;
21:
22: /**
23: * Interface for Ajax callback links.
24: *
25: * @since 1.2
26: *
27: * @author Igor Vaynberg (ivaynberg)
28: * @author Martijn Dashorst
29: */
30: public interface IAjaxLink {
31: /**
32: * Listener method invoked on the ajax request generated when the user
33: * clicks the link
34: *
35: * @param target
36: * the request target.
37: */
38: void onClick(final AjaxRequestTarget target);
39: }
|