01: /*
02: * $Id: ICompoundModel.java 459581 2006-03-02 08:46:15Z ehillenius $
03: * $Revision: 459581 $
04: * $Date: 2006-03-02 09:46:15 +0100 (Thu, 02 Mar 2006) $
05: *
06: * ==============================================================================
07: * Licensed under the Apache License, Version 2.0 (the "License"); you may not
08: * use this file except in compliance with the License. You may obtain a copy of
09: * the License at
10: *
11: * http://www.apache.org/licenses/LICENSE-2.0
12: *
13: * Unless required by applicable law or agreed to in writing, software
14: * distributed under the License is distributed on an "AS IS" BASIS, WITHOUT
15: * WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the
16: * License for the specific language governing permissions and limitations under
17: * the License.
18: */
19: package wicket.model;
20:
21: /**
22: * This is a marker interface for models that can be used as a shared/compound
23: * model for multiply components.
24: *
25: * If a model implements this interface then you can give the parent container
26: * this model and all the child components will also get and then set that model
27: * as there own.
28: *
29: * <pre>
30: * Form form = new Form("form", new ModelImplementingICompoundModel());
31: * form.add(new TextField("textfield"));
32: * </pre>
33: *
34: * @author jcompagner
35: */
36: public interface ICompoundModel extends IModel {
37: }
|