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;
17  
18  /**
19   * 一括指定のための属性を保持するためのコンポーネントです。<br />
20   * 
21   * @author y-komori
22   */
23  public interface CommonAttributes extends UIElement {
24  
25      /**
26       * 背景色を取得します。<br />
27       * 
28       * @return 背景色
29       */
30      public String getBackGround();
31  
32      /**
33       * 背景色を設定します。<br />
34       * 
35       * @param backGround
36       *            背景色
37       */
38      public void setBackGround(String backGround);
39  
40      /**
41       * フォントの高さを取得します。<br />
42       * 
43       * @return フォントの高さ
44       */
45      public String getFontHeight();
46  
47      /**
48       * フォントの高さを設定します。<br />
49       * 
50       * @param fontHeight
51       *            フォントの高さ
52       */
53      public void setFontHeight(String fontHeight);
54  
55      /**
56       * フォント名称を取得します。<br />
57       * 
58       * @return フォント名称
59       */
60      public String getFontName();
61  
62      /**
63       * フォント名称を設定します。<br />
64       * 
65       * @param fontName
66       *            フォント名称
67       */
68      public void setFontName(String fontName);
69  
70      /**
71       * フォントスタイルを取得します。<br />
72       * 
73       * @return フォントスタイル
74       */
75      public String getFontStyle();
76  
77      /**
78       * フォントスタイルを設定します。<br />
79       * 
80       * @param fontStyle
81       *            フォントスタイル
82       */
83      public void setFontStyle(String fontStyle);
84  
85      /**
86       * 前景色を取得します。<br />
87       * 
88       * @return 前景色
89       */
90      public String getForeGround();
91  
92      /**
93       * 前景色を設定します。<br />
94       * 
95       * @param foreGround
96       *            前景色
97       */
98      public void setForeGround(String foreGround);
99  
100     /**
101      * コンポーネントの高さを取得します。<br />
102      * 
103      * @return コンポーネントの高さ
104      */
105     public String getHeight();
106 
107     /**
108      * コンポーネントの高さを設定します。<br />
109      * 
110      * @param height
111      *            コンポーネントの高さ
112      */
113     public void setHeight(String height);
114 
115     /**
116      * コンポーネントの幅を取得します。<br />
117      * 
118      * @return コンポーネントの幅
119      */
120     public String getWidth();
121 
122     /**
123      * コンポーネントの幅を設定します。<br />
124      * 
125      * @param width
126      *            コンポーネントの幅
127      */
128     public void setWidth(String width);
129 
130 }