Revision 306 org.gvsig.tools/library/trunk/org.gvsig.tools/org.gvsig.tools.swing/org.gvsig.tools.swing.api/src/main/java/org/gvsig/tools/swing/api/dynobject/DynObjectSwingManager.java
DynObjectSwingManager.java | ||
---|---|---|
72 | 72 |
/** |
73 | 73 |
* Creates a {@link JDynFieldComponent} to render a {@link DynObject} field. |
74 | 74 |
* |
75 |
* @param writable |
|
76 |
* |
|
75 | 77 |
* @param field |
76 | 78 |
* to render |
77 | 79 |
* @param dynObject |
... | ... | |
83 | 85 |
throws ServiceException; |
84 | 86 |
|
85 | 87 |
/** |
88 |
* Creates a {@link JDynFieldComponent} to render a {@link DynObject} field. |
|
89 |
* |
|
90 |
* @param writable |
|
91 |
* |
|
92 |
* @param field |
|
93 |
* to render |
|
94 |
* @param dynObject |
|
95 |
* with the value to render |
|
96 |
* @return the component |
|
97 |
* @throws ServiceException |
|
98 |
*/ |
|
99 |
public JDynFieldComponent createJDynFieldComponent(ValueField valueItem, |
|
100 |
boolean writable) throws ServiceException; |
|
101 |
|
|
102 |
/** |
|
86 | 103 |
* Creates a {@link JDynObjectComponent} for a {@link DynObject} in the |
87 |
* default mode. |
|
104 |
* default view mode, in read only mode.
|
|
88 | 105 |
* |
89 | 106 |
* @param dynObject |
90 | 107 |
* to create the component for |
... | ... | |
95 | 112 |
throws ServiceException; |
96 | 113 |
|
97 | 114 |
/** |
98 |
* Creates a {@link JDynObjectComponent} for a {@link DynObject}. |
|
115 |
* Creates a {@link JDynObjectComponent} for a {@link DynObject} in the |
|
116 |
* default mode. |
|
99 | 117 |
* |
100 | 118 |
* @param dynObject |
101 | 119 |
* to create the component for |
102 |
* @param mode |
|
120 |
* @param writable |
|
121 |
* if the component will be used to edit the DynObject or as |
|
122 |
* readonly |
|
103 | 123 |
* @return a {@link JDynObjectComponent} |
104 | 124 |
* @throws ServiceException |
105 | 125 |
*/ |
106 | 126 |
public JDynObjectComponent createJDynObjectComponent(DynObject dynObject, |
127 |
boolean writable) throws ServiceException; |
|
128 |
|
|
129 |
/** |
|
130 |
* Creates a {@link JDynObjectComponent} for a {@link DynObject} in read |
|
131 |
* only mode. |
|
132 |
* |
|
133 |
* @param dynObject |
|
134 |
* to create the component for |
|
135 |
* @param model |
|
136 |
* for the user interface of the DynObject |
|
137 |
* @return a {@link JDynObjectComponent} |
|
138 |
* @throws ServiceException |
|
139 |
*/ |
|
140 |
public JDynObjectComponent createJDynObjectComponent(DynObject dynObject, |
|
107 | 141 |
DynObjectModel model) throws ServiceException; |
108 | 142 |
|
109 | 143 |
/** |
... | ... | |
111 | 145 |
* |
112 | 146 |
* @param dynObject |
113 | 147 |
* to create the component for |
148 |
* @param model |
|
149 |
* for the user interface of the DynObject |
|
150 |
* @param writable |
|
151 |
* if the component will be used to edit the DynObject or as |
|
152 |
* readonly |
|
153 |
* @return a {@link JDynObjectComponent} |
|
154 |
* @throws ServiceException |
|
155 |
*/ |
|
156 |
public JDynObjectComponent createJDynObjectComponent(DynObject dynObject, |
|
157 |
DynObjectModel model, boolean writable) throws ServiceException; |
|
158 |
|
|
159 |
/** |
|
160 |
* Creates a {@link JDynObjectComponent} for a {@link DynObject}. |
|
161 |
* |
|
162 |
* @param dynObject |
|
163 |
* to create the component for |
|
114 | 164 |
* @param mode |
165 |
* the mode to view the DynObject (default ones: |
|
166 |
* {@link DynObjectSwingManager#MODE_FORM} and |
|
167 |
* {@link DynObjectSwingManager#MODE_LIST}) |
|
115 | 168 |
* @return a {@link JDynObjectComponent} |
116 | 169 |
* @throws ServiceException |
117 | 170 |
*/ |
... | ... | |
123 | 176 |
* |
124 | 177 |
* @param dynObject |
125 | 178 |
* to create the component for |
179 |
* @param model |
|
180 |
* for the user interface of the DynObject |
|
126 | 181 |
* @param mode |
182 |
* the mode to view the DynObject (default ones: |
|
183 |
* {@link DynObjectSwingManager#MODE_FORM} and |
|
184 |
* {@link DynObjectSwingManager#MODE_LIST}) |
|
185 |
* @param writable |
|
186 |
* if the component will be used to edit the DynObject or as |
|
187 |
* readonly |
|
127 | 188 |
* @return a {@link JDynObjectComponent} |
128 | 189 |
* @throws ServiceException |
129 | 190 |
*/ |
130 | 191 |
public JDynObjectComponent createJDynObjectComponent(DynObject dynObject, |
192 |
DynObjectModel model, String mode, boolean writable) |
|
193 |
throws ServiceException; |
|
194 |
|
|
195 |
/** |
|
196 |
* Creates a {@link JDynObjectComponent} for a {@link DynObject} in read |
|
197 |
* only mode. |
|
198 |
* |
|
199 |
* @param dynObject |
|
200 |
* to create the component for |
|
201 |
* @param mode |
|
202 |
* the mode to view the DynObject (default ones: |
|
203 |
* {@link DynObjectSwingManager#MODE_FORM} and |
|
204 |
* {@link DynObjectSwingManager#MODE_LIST}) |
|
205 |
* @return a {@link JDynObjectComponent} |
|
206 |
* @throws ServiceException |
|
207 |
*/ |
|
208 |
public JDynObjectComponent createJDynObjectComponent(DynObject dynObject, |
|
131 | 209 |
String mode) throws ServiceException; |
132 | 210 |
|
133 | 211 |
/** |
212 |
* Creates a {@link JDynObjectComponent} for a {@link DynObject}. |
|
213 |
* |
|
214 |
* @param dynObject |
|
215 |
* to create the component for |
|
216 |
* @param mode |
|
217 |
* the mode to view the DynObject (default ones: |
|
218 |
* {@link DynObjectSwingManager#MODE_FORM} and |
|
219 |
* {@link DynObjectSwingManager#MODE_LIST}) |
|
220 |
* @param writable |
|
221 |
* if the component will be used to edit the DynObject or as |
|
222 |
* readonly |
|
223 |
* @return a {@link JDynObjectComponent} |
|
224 |
* @throws ServiceException |
|
225 |
*/ |
|
226 |
public JDynObjectComponent createJDynObjectComponent(DynObject dynObject, |
|
227 |
String mode, boolean writable) throws ServiceException; |
|
228 |
|
|
229 |
/** |
|
134 | 230 |
* Creates a {@link JDynObjectSetComponent} to render a {@link DynObjectSet} |
135 |
* . |
|
231 |
* in read only mode.
|
|
136 | 232 |
* |
137 | 233 |
* @param dynObjectSet |
138 | 234 |
* to create the component for |
... | ... | |
143 | 239 |
public JDynObjectSetComponent createJDynObjectSetComponent( |
144 | 240 |
DynObjectSet dynObjectSet) throws BaseException; |
145 | 241 |
|
242 |
/** |
|
243 |
* Creates a {@link JDynObjectSetComponent} to render a {@link DynObjectSet} |
|
244 |
* . |
|
245 |
* |
|
246 |
* @param dynObjectSet |
|
247 |
* to create the component for |
|
248 |
* @param writable |
|
249 |
* if the component will be used to edit the {@link DynObjectSet} |
|
250 |
* or not |
|
251 |
* @return a {@link JDynObjectSetComponent} |
|
252 |
* @throws BaseException |
|
253 |
* if there is an error creating the component |
|
254 |
*/ |
|
255 |
public JDynObjectSetComponent createJDynObjectSetComponent( |
|
256 |
DynObjectSet dynObjectSet, boolean writable) throws BaseException; |
|
257 |
|
|
146 | 258 |
} |
Also available in: Unified diff