01: /*******************************************************************************
02: * Copyright (c) 2000, 2005 IBM Corporation and others.
03: * All rights reserved. This program and the accompanying materials
04: * are made available under the terms of the Eclipse Public License v1.0
05: * which accompanies this distribution, and is available at
06: * http://www.eclipse.org/legal/epl-v10.html
07: *
08: * Contributors:
09: * IBM Corporation - initial API and implementation
10: *******************************************************************************/package org.eclipse.ui.forms.events;
11:
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: /**
35: * Sent when the link is exited. The default behaviour is to do nothing.
36: *
37: * @param e
38: * the event
39: */
40: public void linkExited(HyperlinkEvent e) {
41: }
42:
43: /**
44: * Sent when the link is activated. The default behaviour is to do nothing.
45: *
46: * @param e
47: * the event
48: */
49: public void linkActivated(HyperlinkEvent e) {
50: }
51: }
|