01: /*
02: * Copyright Javelin Software, All rights reserved.
03: */
04:
05: package com.javelin.swinglets.plaf.html;
06:
07: import java.awt.*;
08: import java.util.*;
09: import java.io.*;
10:
11: import com.javelin.swinglets.*;
12: import com.javelin.swinglets.tabbed.*;
13: import com.javelin.swinglets.plaf.*;
14:
15: /**
16: * HTMLFrameSetComponent
17: *
18: * @author Robin Sharp
19: */
20:
21: public class HTMLFrameSetFrame extends SFrame {
22: public HTMLFrameSetFrame(SFrame frame) {
23: super (frame);
24: this .frame = frame;
25: }
26:
27: // SCRIPTS ///////////////////////////////////////////////////////////////////
28:
29: /**
30: * Get script count.
31: */
32: public int getScriptCount() {
33: return frame.getScriptCount();
34: }
35:
36: /**
37: * Get the script.
38: */
39: public Enumeration getScripts() {
40: return frame.getScripts();
41: }
42:
43: /**
44: * Add the script. This will add one script.
45: */
46: public SComponent addScript(SScript script) {
47: frame.addScript(script);
48: return this ;
49: }
50:
51: /**
52: * Remove the script. This will remove one script.
53: */
54: public SComponent removeScript(SScript script) {
55: frame.removeScript(script);
56:
57: return this ;
58: }
59:
60: private SFrame frame;
61: }
|