KickJava   Java API By Example, From Geeks To Geeks.

Java > Open Source Codes > com > raptus > owxv3 > api > components > ComponentContainer


1 /*
2  * eAdmin/OWX
3  * Copyright (C) 1996-2003 OWX-Project Team <owx-team@gmx.net>
4  */

5
6 package com.raptus.owxv3.api.components;
7
8 import java.util.Hashtable JavaDoc;
9
10 /**
11  *
12  * <hr>
13  * <table width="100%" border="0">
14  * <tr>
15  * <td width="24%"><b>Filename</b></td><td width="76%">ComponentContainer.java</td>
16  * </tr>
17  * <tr>
18  * <td width="24%"><b>Author</b></td><td width="76%">Guy Zürcher (gzuercher@raptus.com)</td>
19  * </tr>
20  * <tr>
21  * <td width="24%"><b>Date</b></td><td width="76%">28th of June 2001</td>
22  * </tr>
23  * </table>
24  * <hr>
25  * <table width="100%" border="0">
26  * <tr>
27  * <td width="24%"><b>Date / Author</b></td><td width="76%"><b>Changes</b></td>
28  * </tr>
29  * </table>
30  * <hr>
31  */

32 public interface ComponentContainer
33 {
34     /**
35      *
36      */

37     public int getDataID();
38
39     /**
40      *
41      */

42     public void setDataID(int id);
43
44     /**
45      *
46      */

47     public boolean getOpenMultiple();
48
49     /**
50      *
51      */

52     public void setOpenMultiple(boolean omc);
53     
54     /**
55      *
56      */

57     public boolean getLeftComponentOpen();
58
59     /**
60      *
61      */

62     public void setLeftComponentOpen(boolean lco);
63
64     /**
65      *
66      */

67     public String JavaDoc getURI();
68
69     /**
70      *
71      */

72     public void setURI(String JavaDoc uri);
73
74     /**
75      *
76      */

77     public Hashtable JavaDoc getComponents();
78
79     /**
80      *
81      */

82     public boolean addComponent(String JavaDoc id);
83
84     /**
85      *
86      */

87     public ComponentBean getComponent(String JavaDoc id);
88
89     /**
90      *
91      */

92     public void closeAllComponents();
93
94
95     /**
96      *WE need to remove all components to add other compnonents
97      *of different vmodule
98      */

99     public void removeAllComponents();
100
101     /**
102      *
103      */

104     public String JavaDoc getVModule();
105
106
107     /**
108      *The component container is initialized
109      *by one vmodule (ex. news) but other virtual modules
110      *has other setting (links) they need to reinitiazlize
111      *the container
112      */

113     public String JavaDoc getInitVModule();
114
115     /**
116      *
117      */

118     public void setInitVmodule(String JavaDoc vmid);
119
120 }
121
122 /* end interface ComponentContainer */
123
Popular Tags