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.component.CommonAttributes;
19 import org.seasar.uruma.component.base.AbstractUIElement;
20
21 /**
22 * {@link CommonAttributes} の実装クラスです。<br />
23 *
24 * @author y-komori
25 */
26 public class CommonAttriburtesImpl extends AbstractUIElement implements
27 CommonAttributes {
28 private String foreGround;
29
30 private String backGround;
31
32 private String width;
33
34 private String height;
35
36 private String fontName;
37
38 private String fontHeight;
39
40 private String fontStyle;
41
42 /*
43 * @see org.seasar.uruma.component.CommonAttributes#getBackGround()
44 */
45 public String getBackGround() {
46 return this.backGround;
47 }
48
49 /*
50 * @see org.seasar.uruma.component.CommonAttributes#setBackGround(java.lang.String)
51 */
52 public void setBackGround(final String backGround) {
53 this.backGround = backGround;
54 }
55
56 /*
57 * @see org.seasar.uruma.component.CommonAttributes#getFontHeight()
58 */
59 public String getFontHeight() {
60 return this.fontHeight;
61 }
62
63 /*
64 * @see org.seasar.uruma.component.CommonAttributes#setFontHeight(java.lang.String)
65 */
66 public void setFontHeight(final String fontHeight) {
67 this.fontHeight = fontHeight;
68 }
69
70 /*
71 * @see org.seasar.uruma.component.CommonAttributes#getFontName()
72 */
73 public String getFontName() {
74 return this.fontName;
75 }
76
77 /*
78 * @see org.seasar.uruma.component.CommonAttributes#setFontName(java.lang.String)
79 */
80 public void setFontName(final String fontName) {
81 this.fontName = fontName;
82 }
83
84 /*
85 * @see org.seasar.uruma.component.CommonAttributes#getFontStyle()
86 */
87 public String getFontStyle() {
88 return this.fontStyle;
89 }
90
91 /*
92 * @see org.seasar.uruma.component.CommonAttributes#setFontStyle(java.lang.String)
93 */
94 public void setFontStyle(final String fontStyle) {
95 this.fontStyle = fontStyle;
96 }
97
98 /*
99 * @see org.seasar.uruma.component.CommonAttributes#getForeGround()
100 */
101 public String getForeGround() {
102 return this.foreGround;
103 }
104
105 /*
106 * @see org.seasar.uruma.component.CommonAttributes#setForeGround(java.lang.String)
107 */
108 public void setForeGround(final String foreGround) {
109 this.foreGround = foreGround;
110 }
111
112 /*
113 * @see org.seasar.uruma.component.CommonAttributes#getHeight()
114 */
115 public String getHeight() {
116 return this.height;
117 }
118
119 /*
120 * @see org.seasar.uruma.component.CommonAttributes#setHeight(java.lang.String)
121 */
122 public void setHeight(final String height) {
123 this.height = height;
124 }
125
126 /*
127 * @see org.seasar.uruma.component.CommonAttributes#getWidth()
128 */
129 public String getWidth() {
130 return this.width;
131 }
132
133 /*
134 * @see org.seasar.uruma.component.CommonAttributes#setWidth(java.lang.String)
135 */
136 public void setWidth(final String width) {
137 this.width = width;
138 }
139 }