01: /*
02: * Copyright 2006 Luca Garulli (luca.garulli@assetdata.it)
03: *
04: * Licensed under the Apache License, Version 2.0 (the "License");
05: * you may not use this file except in compliance with the License.
06: * You may obtain a copy of the License at
07: *
08: * http://www.apache.org/licenses/LICENSE-2.0
09: *
10: * Unless required by applicable law or agreed to in writing, software
11: * distributed under the License is distributed on an "AS IS" BASIS,
12: * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
13: * See the License for the specific language governing permissions and
14: * limitations under the License.
15: */
16:
17: package org.romaframework.aspect.view.echo2.form.field;
18:
19: import nextapp.echo2.app.Component;
20: import nextapp.echo2.app.Grid;
21: import nextapp.echo2.app.Style;
22: import echopointng.ContainerEx;
23:
24: public abstract class FieldContainer extends ContainerEx {
25: protected static final long serialVersionUID = 1L;
26:
27: public abstract void init(int columns);
28:
29: public abstract Grid getGrid();
30:
31: @Override
32: public abstract void setStyle(Style iStyle);
33:
34: public abstract void addComponent(Component iComponent);
35:
36: @Override
37: public abstract void clear();
38:
39: public int getColumns() {
40: return columns;
41: }
42:
43: protected int columns;
44: }
|