KickJava   Java API By Example, From Geeks To Geeks.

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


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  * Classes that implement this interface will be notified before and after the
14  * expandable control's expansion state changes.
15  *
16  * @since 3.0
17  */

18 public interface IExpansionListener {
19     /**
20      * Notifies the listener that the expandable control is about to change its
21      * expansion state. The state provided by the event is the new state.
22      *
23      * @param e
24      * the expansion event
25      */

26     void expansionStateChanging(ExpansionEvent e);
27     /**
28      * Notifies the listener after the expandable control has changed its
29      * expansion state. The state provided by the event is the new state.
30      *
31      * @param e
32      * the expansion event
33      */

34     void expansionStateChanged(ExpansionEvent e);
35 }
36
Popular Tags