Tizen 2.1 base
[sdk/emulator/qemu.git] / tizen / src / skin / client / src / org / tizen / emulator / skin / layout / HWKey.java
1 /**
2  *
3  *
4  * Copyright (C) 2011 - 2012 Samsung Electronics Co., Ltd. All rights reserved.
5  *
6  * Contact:
7  * GiWoong Kim <giwoong.kim@samsung.com>
8  * YeongKyoon Lee <yeongkyoon.lee@samsung.com>
9  *
10  * This program is free software; you can redistribute it and/or
11  * modify it under the terms of the GNU General Public License
12  * as published by the Free Software Foundation; either version 2
13  * of the License, or (at your option) any later version.
14  *
15  * This program is distributed in the hope that it will be useful,
16  * but WITHOUT ANY WARRANTY; without even the implied warranty of
17  * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
18  * GNU General Public License for more details.
19  *
20  * You should have received a copy of the GNU General Public License
21  * along with this program; if not, write to the Free Software
22  * Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA  02110-1301, USA.
23  *
24  * Contributors:
25  * - S-Core Co., Ltd
26  *
27  */
28
29 package org.tizen.emulator.skin.layout;
30
31 import org.tizen.emulator.skin.util.SkinRegion;
32 import org.tizen.emulator.skin.util.SkinUtil;
33
34 public class HWKey {
35         private int keyCode;
36         private SkinRegion region;
37         private String tooltip;
38
39         public HWKey() {
40                 this.keyCode = SkinUtil.UNKNOWN_KEYCODE;
41         }
42
43         /* keycode */
44         public int getKeyCode() {
45                 return keyCode;
46         }
47
48         public void setKeyCode(int keyCode) {
49                 this.keyCode = keyCode;
50         }
51
52         /* region */
53         public SkinRegion getRegion() {
54                 return region;
55         }
56
57         public void setRegion(SkinRegion region) {
58                 this.region = region;
59         }
60
61         /* tooltip */
62         public String getTooltip() {
63                 return tooltip;
64         }
65
66         public void setTooltip(String tooltip) {
67                 this.tooltip = tooltip;
68         }
69 }