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 HTMLFrameSetComponent extends SContainer {
22: public HTMLFrameSetComponent(SComponent component) {
23: this .component = component;
24: }
25:
26: /**
27: * No UI
28: */
29: public SComponentUI getUI() {
30: return null;
31: }
32:
33: // SCRIPTS ///////////////////////////////////////////////////////////////////
34:
35: /**
36: * Get script count.
37: */
38: public int getScriptCount() {
39: return component.getScriptCount();
40: }
41:
42: /**
43: * Get the script.
44: */
45: public Enumeration getScripts() {
46: return component.getScripts();
47: }
48:
49: /**
50: * Add the script. This will add one script.
51: */
52: public SComponent addScript(SScript script) {
53: component.addScript(script);
54: return this ;
55: }
56:
57: /**
58: * Remove the script. This will remove one script.
59: */
60: public SComponent removeScript(SScript script) {
61: component.removeScript(script);
62:
63: return this ;
64: }
65:
66: private SComponent component;
67: }
|