KickJava   Java API By Example, From Geeks To Geeks.

Java > Open Source Codes > com > tonbeller > wcf > tree > TreeBounding


1 /*
2  * Copyright (c) 1971-2003 TONBELLER AG, Bensheim.
3  * All rights reserved.
4  */

5 package com.tonbeller.wcf.tree;
6
7 /**
8  * reduces the number of children that are visible initially. When the user
9  * presses the "refresh" button, all children become visible.
10  *
11  * @author av
12  * @since May 2, 2006
13  */

14 public interface TreeBounding {
15   /**
16    * if true, instead of (+) or (-) a refresh symbol (o)
17    * is displayed to allow the user to refresh the children of
18    * the parent node.
19    */

20   boolean isBounded(Object JavaDoc parent);
21   
22   /**
23    * called when the user presses the refresh symbol.
24    */

25   void unbound(Object JavaDoc parent);
26
27 }
28
Popular Tags