KickJava   Java API By Example, From Geeks To Geeks.

Java > Open Source Codes > org > wings > SDelayedEventModel


1 /*
2  * $Id: SDelayedEventModel.java,v 1.4 2004/12/01 07:54:07 hengels Exp $
3  * Copyright 2000,2005 wingS development team.
4  *
5  * This file is part of wingS (http://www.j-wings.org).
6  *
7  * wingS is free software; you can redistribute it and/or modify
8  * it under the terms of the GNU Lesser General Public License
9  * as published by the Free Software Foundation; either version 2.1
10  * of the License, or (at your option) any later version.
11  *
12  * Please see COPYING for the complete licence.
13  */

14 package org.wings;
15
16 /**
17  * @author <a HREF="mailto:haaf@mercatis.de">Armin Haaf</a>
18  * @version $Revision: 1.4 $
19  */

20 public interface SDelayedEventModel {
21     /**
22      * if this is set to true, events are not fired immediately. They are
23      * collected and fired after setting this to false...
24      */

25     void setDelayEvents(boolean b);
26
27
28     boolean getDelayEvents();
29
30     /**
31      * fire delayed events which describes a "in progress"
32      * state change, like TreeWillExpand, or ListSelectionEvent with
33      * getIsAdjusting() true, ...
34      */

35     void fireDelayedIntermediateEvents();
36
37     /**
38      * fire remaining delayed events. In this level all events, which
39      * are important to an application should be fired. All listeners, which are
40      * notified in this level can assume that the components are in a consistent
41      * (considering user interaction) state.
42      */

43     void fireDelayedFinalEvents();
44 }
45
46
47
Popular Tags