KickJava   Java API By Example, From Geeks To Geeks.

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


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>ExpansionListener</code> interface.
15  * <p>
16  * Classes that wish to deal with <code>ExpansionEvent</code>s can extend
17  * this class and override only the methods which they are interested in.
18  * </p>
19  *
20  * @see IExpansionListener
21  * @see ExpansionEvent
22  * @since 3.0
23  */

24 public class ExpansionAdapter implements IExpansionListener {
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 expansionStateChanging(ExpansionEvent 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 expansionStateChanged(ExpansionEvent e) {
40     }
41 }
42
Popular Tags