01: /*
02: This library is free software; you can redistribute it and/or
03: modify it under the terms of the GNU General Public
04: License as published by the Free Software Foundation; either
05: version 2 of the license, or (at your option) any later version.
06: */
07:
08: package org.gjt.jclasslib.browser.config.window;
09:
10: import java.util.LinkedList;
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 pathComponents = new LinkedList();
21:
22: /**
23: * Get the list of browser path components.
24: * @return the list.
25: */
26: public LinkedList 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 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: }
|