KickJava   Java API By Example, From Geeks To Geeks.

Java > Open Source Codes > org > gjt > jclasslib > browser > config > window > BrowserPath


1 /*
2     This library is free software; you can redistribute it and/or
3     modify it under the terms of the GNU General Public
4     License as published by the Free Software Foundation; either
5     version 2 of the license, or (at your option) any later version.
6 */

7
8 package org.gjt.jclasslib.browser.config.window;
9
10 import java.util.LinkedList JavaDoc;
11
12 /**
13     Description of the selected path in the tree of a <tt>BrowserComponent</tt>.
14
15     @author <a HREF="mailto:jclasslib@ej-technologies.com">Ingo Kegel</a>
16     @version $Revision: 1.1 $ $Date: 2003/08/18 08:10:15 $
17 */

18 public class BrowserPath {
19
20     private LinkedList JavaDoc pathComponents = new LinkedList JavaDoc();
21
22     /**
23      * Get the list of browser path components.
24      * @return the list.
25      */

26     public LinkedList JavaDoc getPathComponents() {
27         return pathComponents;
28     }
29
30     /**
31      * Set the list of browser path components.
32      * @param pathComponents the list.
33      */

34     public void setPathComponents(LinkedList JavaDoc pathComponents) {
35         this.pathComponents = pathComponents;
36     }
37
38     /**
39      * Add a single browser path component to this browser path.
40      * @param pathComponent the new component.
41      */

42     public void addPathComponent(PathComponent pathComponent) {
43         pathComponents.add(pathComponent);
44     }
45
46 }
47
Popular Tags