%line | %branch | |||||||||
---|---|---|---|---|---|---|---|---|---|---|
tsukuba_bunko.peko.canvas.select.SelectItem |
|
|
1 | /* |
|
2 | * "Peko" Visual Novel System |
|
3 | * |
|
4 | * All Rights Reserved. |
|
5 | * Copyright (c) 1999-2003 Tsukuba Bunko. |
|
6 | * |
|
7 | * $Id: SelectItem.java,v 1.1 2005/07/11 12:49:18 ppoi Exp $ |
|
8 | */ |
|
9 | package tsukuba_bunko.peko.canvas.select; |
|
10 | ||
11 | ||
12 | /** |
|
13 | * 選択肢です。 |
|
14 | * @author $Author: ppoi $ |
|
15 | * @version $Revision: 1.1 $ |
|
16 | */ |
|
17 | public class SelectItem { |
|
18 | ||
19 | /** |
|
20 | * 選択肢 ID |
|
21 | */ |
|
22 | 0 | private String _id = null; |
23 | ||
24 | /** |
|
25 | * 表示するテキスト |
|
26 | */ |
|
27 | 0 | private String _text = null; |
28 | ||
29 | ||
30 | /** |
|
31 | * <code>SelectItem</code> のインスタンスを作成します。 |
|
32 | */ |
|
33 | public SelectItem() |
|
34 | { |
|
35 | 0 | super(); |
36 | 0 | } |
37 | ||
38 | ||
39 | /** |
|
40 | * 選択肢 ID を設定します。 |
|
41 | * @param id 選択肢 ID |
|
42 | */ |
|
43 | public void setID( String id ) |
|
44 | { |
|
45 | 0 | _id = id; |
46 | 0 | } |
47 | ||
48 | /** |
|
49 | * 選択肢 ID を取得します。 |
|
50 | * @return 選択肢 ID |
|
51 | */ |
|
52 | public String getID() |
|
53 | { |
|
54 | 0 | return _id; |
55 | } |
|
56 | ||
57 | /** |
|
58 | * 表示する文字列を設定します。 |
|
59 | * @param text 文字列 |
|
60 | */ |
|
61 | public void setText( String text ) |
|
62 | { |
|
63 | 0 | _text = text; |
64 | 0 | } |
65 | ||
66 | /** |
|
67 | * 表示する文字列を取得します。 |
|
68 | * @return 文字列 |
|
69 | */ |
|
70 | public String getText() |
|
71 | { |
|
72 | 0 | return _text; |
73 | } |
|
74 | } |
This report is generated by jcoverage, Maven and Maven JCoverage Plugin. |