KickJava   Java API By Example, From Geeks To Geeks.

Java > Open Source Codes > org > eclipse > swt > events > ExpandAdapter


1 /*******************************************************************************
2  * Copyright (c) 2000, 2006 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.swt.events;
12
13
14 /**
15  * This adapter class provides default implementations for the
16  * methods described by the <code>ExpandListener</code> interface.
17  * <p>
18  * Classes that wish to deal with <code>ExpandEvent</code>s can
19  * extend this class and override only the methods which they are
20  * interested in.
21  * </p>
22  *
23  * @see ExpandListener
24  * @see ExpandEvent
25  *
26  * @since 3.2
27  */

28 public abstract class ExpandAdapter implements ExpandListener {
29
30 /**
31  * Sent when an item is collapsed.
32  * The default behavior is to do nothing.
33  *
34  * @param e an event containing information about the operation
35  */

36 public void itemCollapsed(ExpandEvent e) {
37 }
38
39 /**
40  * Sent when an item is expanded.
41  * The default behavior is to do nothing.
42  *
43  * @param e an event containing information about the operation
44  */

45 public void itemExpanded(ExpandEvent e) {
46 }
47 }
48
Popular Tags