KickJava   Java API By Example, From Geeks To Geeks.

Java > Open Source Codes > org > eclipse > ui > forms > events > HyperlinkAdapter


1 /*******************************************************************************
2  * Copyright (c) 2000, 2005 IBM Corporation and others.
3  * All rights reserved. This program and the accompanying materials
4  * are made available under the terms of the Eclipse Public License v1.0
5  * which accompanies this distribution, and is available at
6  * http://www.eclipse.org/legal/epl-v10.html
7  *
8  * Contributors:
9  * IBM Corporation - initial API and implementation
10  *******************************************************************************/

11 package org.eclipse.ui.forms.events;
12 /**
13  * This adapter class provides default implementations for the methods
14  * described by the <code>HyperlinkListener</code> interface.
15  * <p>
16  * Classes that wish to deal with <code>HyperlinkEvent</code> s can extend
17  * this class and override only the methods which they are interested in.
18  * </p>
19  *
20  * @see IHyperlinkListener
21  * @see HyperlinkEvent
22  * @since 3.0
23  */

24 public class HyperlinkAdapter implements IHyperlinkListener {
25     /**
26      * Sent when the link is entered. The default behaviour is to do nothing.
27      *
28      * @param e
29      * the event
30      */

31     public void linkEntered(HyperlinkEvent e) {
32     }
33     /**
34      * Sent when the link is exited. The default behaviour is to do nothing.
35      *
36      * @param e
37      * the event
38      */

39     public void linkExited(HyperlinkEvent e) {
40     }
41     /**
42      * Sent when the link is activated. The default behaviour is to do nothing.
43      *
44      * @param e
45      * the event
46      */

47     public void linkActivated(HyperlinkEvent e) {
48     }
49 }
50
Popular Tags