1 | |
|
2 | |
|
3 | |
|
4 | |
|
5 | |
|
6 | |
|
7 | |
|
8 | |
|
9 | |
|
10 | |
|
11 | |
|
12 | |
|
13 | |
|
14 | |
|
15 | |
|
16 | |
package org.seasar.uruma.component.jface; |
17 | |
|
18 | |
import org.seasar.uruma.annotation.ComponentAttribute; |
19 | |
import org.seasar.uruma.annotation.ComponentElement; |
20 | |
import org.seasar.uruma.annotation.FieldDescription; |
21 | |
import org.seasar.uruma.annotation.RenderingPolicy; |
22 | |
import org.seasar.uruma.annotation.RenderingPolicy.ConversionType; |
23 | |
import org.seasar.uruma.annotation.RenderingPolicy.TargetType; |
24 | |
import org.seasar.uruma.component.LayoutDataInfo; |
25 | |
import org.seasar.uruma.component.LayoutInfo; |
26 | |
import org.seasar.uruma.component.base.AbstractUIElement; |
27 | |
|
28 | |
|
29 | |
|
30 | |
|
31 | |
|
32 | |
|
33 | |
@ComponentElement |
34 | 112 | public class FillLayoutInfo extends AbstractUIElement implements |
35 | |
LayoutInfo<LayoutDataInfo> { |
36 | |
@RenderingPolicy(targetType = TargetType.FIELD, conversionType = ConversionType.INT) |
37 | |
@ComponentAttribute |
38 | |
@FieldDescription("縦方向マージン") |
39 | |
public String marginHeight; |
40 | |
|
41 | |
@RenderingPolicy(targetType = TargetType.FIELD, conversionType = ConversionType.INT) |
42 | |
@ComponentAttribute |
43 | |
@FieldDescription("横方向マージン") |
44 | |
public String marginWidth; |
45 | |
|
46 | |
@RenderingPolicy(targetType = TargetType.FIELD, conversionType = ConversionType.INT) |
47 | |
@ComponentAttribute |
48 | |
@FieldDescription("スペーシング") |
49 | |
public String spacing; |
50 | |
|
51 | |
@RenderingPolicy(targetType = TargetType.FIELD, conversionType = ConversionType.SWT_CONST) |
52 | |
@ComponentAttribute |
53 | |
@FieldDescription("種別") |
54 | |
public String type; |
55 | |
|
56 | |
|
57 | |
|
58 | |
|
59 | |
public LayoutDataInfo getCommonLayoutDataInfo() { |
60 | 220 | return null; |
61 | |
} |
62 | |
|
63 | |
|
64 | |
|
65 | |
|
66 | |
public void setCommonLayoutDataInfo(final LayoutDataInfo layoutDataInfo) { |
67 | |
|
68 | 0 | } |
69 | |
} |