View Javadoc

1   /*
2    * Copyright 2004-2008 the Seasar Foundation and the Others.
3    *
4    * Licensed under the Apache License, Version 2.0 (the "License");
5    * you may not use this file except in compliance with the License.
6    * You may obtain a copy of the License at
7    *
8    *     http://www.apache.org/licenses/LICENSE-2.0
9    *
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, 
13   * either express or implied. See the License for the specific language
14   * governing permissions and limitations under the License.
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.TargetType;
23  import org.seasar.uruma.component.base.AbstractUIElement;
24  
25  /**
26   * テーブルセルを表すコンポーネントです。<br />
27   * 
28   * @author bskuroneko
29   */
30  @ComponentElement
31  public class TableCellComponent extends AbstractUIElement {
32  
33      @RenderingPolicy(targetType = TargetType.NONE)
34      @ComponentAttribute
35      @FieldDescription("背景色")
36      public String background;
37  
38      @RenderingPolicy(targetType = TargetType.NONE)
39      @ComponentAttribute
40      @FieldDescription("フォント高さ")
41      public String fontHeight;
42  
43      @RenderingPolicy(targetType = TargetType.NONE)
44      @ComponentAttribute
45      @FieldDescription("フォント名称")
46      public String fontName;
47  
48      @RenderingPolicy(targetType = TargetType.NONE)
49      @ComponentAttribute
50      @FieldDescription("フォントスタイル")
51      public String fontStyle;
52  
53      @RenderingPolicy(targetType = TargetType.NONE)
54      @ComponentAttribute
55      @FieldDescription("前景色")
56      public String foreground;
57  
58      @RenderingPolicy(targetType = TargetType.NONE)
59      @ComponentAttribute
60      @FieldDescription("イメージパス")
61      public String image;
62  
63      @RenderingPolicy(targetType = TargetType.NONE)
64      @ComponentAttribute
65      @FieldDescription("テキスト")
66      public String text;
67  }