01: /*
02: * Jacareto Copyright (c) 2002-2005
03: * Applied Computer Science Research Group, Darmstadt University of
04: * Technology, Institute of Mathematics & Computer Science,
05: * Ludwigsburg University of Education, and Computer Based
06: * Learning Research Group, Aachen University. All rights reserved.
07: *
08: * Jacareto is free software; you can redistribute it and/or
09: * modify it under the terms of the GNU General Public
10: * License as published by the Free Software Foundation; either
11: * version 2 of the License, or (at your option) any later version.
12: *
13: * Jacareto is distributed in the hope that it will be useful,
14: * but WITHOUT ANY WARRANTY; without even the implied warranty of
15: * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
16: * General Public License for more details.
17: *
18: * You should have received a copy of the GNU General Public
19: * License along with Jacareto; if not, write to the Free
20: * Software Foundation, Inc., 675 Mass Ave, Cambridge, MA 02139, USA.
21: *
22: */
23:
24: package jacareto.struct;
25:
26: import jacareto.system.Environment;
27:
28: /**
29: * The root element of a structure which belongs to a record of actions on a browser component.
30: *
31: * @author <a href="mailto:cspannagel@web.de">Christian Spannagel</a>
32: * @version 1.0
33: */
34: public class BrowserRootElement extends RootElement {
35: /**
36: * Creates a new Browser root structure element.
37: *
38: * @param env the environment
39: * @param children the child structure elements
40: */
41: public BrowserRootElement(Environment env,
42: StructureElement[] children) {
43: super (env, children);
44: }
45:
46: /**
47: * Clones the element.
48: *
49: * @return DOCUMENT ME!
50: */
51: public Object clone() {
52: StructureElement[] clonedChildren = getClonedChildren();
53:
54: return new BrowserRootElement(env, clonedChildren);
55: }
56: }
|