2 using System.Collections.Generic;
\r
10 internal class CItemInteger : CItemBase
\r
15 public bool b値がフォーカスされている;
\r
20 public CItemInteger()
\r
22 base.e種別 = CItemBase.E種別.整数;
\r
26 this.b値がフォーカスされている = false;
\r
28 public CItemInteger(string str項目名, int n最小値, int n最大値, int n初期値)
\r
31 this.t初期化(str項目名, n最小値, n最大値, n初期値);
\r
33 public CItemInteger(string str項目名, int n最小値, int n最大値, int n初期値, string str説明文jp)
\r
36 this.t初期化(str項目名, n最小値, n最大値, n初期値, str説明文jp);
\r
38 public CItemInteger(string str項目名, int n最小値, int n最大値, int n初期値, string str説明文jp, string str説明文en)
\r
41 this.t初期化(str項目名, n最小値, n最大値, n初期値, str説明文jp, str説明文en);
\r
45 public CItemInteger(string str項目名, int n最小値, int n最大値, int n初期値, CItemBase.Eパネル種別 eパネル種別)
\r
48 this.t初期化(str項目名, n最小値, n最大値, n初期値, eパネル種別);
\r
50 public CItemInteger(string str項目名, int n最小値, int n最大値, int n初期値, CItemBase.Eパネル種別 eパネル種別, string str説明文jp)
\r
53 this.t初期化(str項目名, n最小値, n最大値, n初期値, eパネル種別, str説明文jp);
\r
55 public CItemInteger(string str項目名, int n最小値, int n最大値, int n初期値, CItemBase.Eパネル種別 eパネル種別, string str説明文jp, string str説明文en)
\r
58 this.t初期化(str項目名, n最小値, n最大値, n初期値, eパネル種別, str説明文jp, str説明文en);
\r
64 public override void tEnter押下()
\r
66 this.b値がフォーカスされている = !this.b値がフォーカスされている;
\r
68 public override void t項目値を次へ移動()
\r
70 if (++this.n現在の値 > this.n最大値)
\r
72 this.n現在の値 = this.n最大値;
\r
75 public override void t項目値を前へ移動()
\r
77 if (--this.n現在の値 < this.n最小値)
\r
79 this.n現在の値 = this.n最小値;
\r
82 public void t初期化(string str項目名, int n最小値, int n最大値, int n初期値)
\r
84 this.t初期化(str項目名, n最小値, n最大値, n初期値, CItemBase.Eパネル種別.通常, "", "");
\r
86 public void t初期化(string str項目名, int n最小値, int n最大値, int n初期値, string str説明文jp)
\r
88 this.t初期化(str項目名, n最小値, n最大値, n初期値, CItemBase.Eパネル種別.通常, str説明文jp, str説明文jp);
\r
90 public void t初期化(string str項目名, int n最小値, int n最大値, int n初期値, string str説明文jp, string str説明文en)
\r
92 this.t初期化(str項目名, n最小値, n最大値, n初期値, CItemBase.Eパネル種別.通常, str説明文jp, str説明文en);
\r
96 public void t初期化(string str項目名, int n最小値, int n最大値, int n初期値, CItemBase.Eパネル種別 eパネル種別)
\r
98 this.t初期化(str項目名, n最小値, n最大値, n初期値, eパネル種別, "", "");
\r
100 public void t初期化(string str項目名, int n最小値, int n最大値, int n初期値, CItemBase.Eパネル種別 eパネル種別, string str説明文jp)
\r
102 this.t初期化(str項目名, n最小値, n最大値, n初期値, eパネル種別, str説明文jp, str説明文jp);
\r
104 public void t初期化(string str項目名, int n最小値, int n最大値, int n初期値, CItemBase.Eパネル種別 eパネル種別, string str説明文jp, string str説明文en)
\r
106 base.t初期化(str項目名, eパネル種別, str説明文jp, str説明文en);
\r
110 this.b値がフォーカスされている = false;
\r
112 public override object obj現在値()
\r
116 public override int GetIndex()
\r
120 public override void SetIndex(int index)
\r
122 this.n現在の値 = index;
\r
126 #region [ private ]
\r
127 //-----------------
\r
130 //-----------------
\r