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
35 this.t初期化(str項目名, n最小値, n最大値, n初期値, str説明文jp);
\r
37 public CItemInteger(string str項目名, int n最小値, int n最大値, int n初期値, string str説明文jp, string str説明文en)
\r
39 this.t初期化(str項目名, n最小値, n最大値, n初期値, str説明文jp, str説明文en);
\r
43 public CItemInteger( string str項目名, int n最小値, int n最大値, int n初期値, CItemBase.Eパネル種別 eパネル種別 )
\r
46 this.t初期化( str項目名, n最小値, n最大値, n初期値, eパネル種別 );
\r
48 public CItemInteger(string str項目名, int n最小値, int n最大値, int n初期値, CItemBase.Eパネル種別 eパネル種別, string str説明文jp)
\r
50 this.t初期化(str項目名, n最小値, n最大値, n初期値, eパネル種別, str説明文jp);
\r
52 public CItemInteger(string str項目名, int n最小値, int n最大値, int n初期値, CItemBase.Eパネル種別 eパネル種別, string str説明文jp, string str説明文en)
\r
54 this.t初期化(str項目名, n最小値, n最大値, n初期値, eパネル種別, str説明文jp, str説明文en);
\r
60 public override void tEnter押下()
\r
62 this.b値がフォーカスされている = !this.b値がフォーカスされている;
\r
64 public override void t項目値を次へ移動()
\r
66 if( ++this.n現在の値 > this.n最大値 )
\r
68 this.n現在の値 = this.n最大値;
\r
71 public override void t項目値を前へ移動()
\r
73 if( --this.n現在の値 < this.n最小値 )
\r
75 this.n現在の値 = this.n最小値;
\r
78 public void t初期化( string str項目名, int n最小値, int n最大値, int n初期値 )
\r
80 this.t初期化( str項目名, n最小値, n最大値, n初期値, CItemBase.Eパネル種別.通常, "", "" );
\r
82 public void t初期化(string str項目名, int n最小値, int n最大値, int n初期値, string str説明文jp) {
\r
83 this.t初期化(str項目名, n最小値, n最大値, n初期値, CItemBase.Eパネル種別.通常, str説明文jp, str説明文jp);
\r
85 public void t初期化(string str項目名, int n最小値, int n最大値, int n初期値, string str説明文jp, string str説明文en) {
\r
86 this.t初期化(str項目名, n最小値, n最大値, n初期値, CItemBase.Eパネル種別.通常, str説明文jp, str説明文en);
\r
90 public void t初期化( string str項目名, int n最小値, int n最大値, int n初期値, CItemBase.Eパネル種別 eパネル種別 )
\r
92 this.t初期化( str項目名, n最小値, n最大値, n初期値, eパネル種別, "", "" );
\r
94 public void t初期化(string str項目名, int n最小値, int n最大値, int n初期値, CItemBase.Eパネル種別 eパネル種別, string str説明文jp) {
\r
95 this.t初期化(str項目名, n最小値, n最大値, n初期値, eパネル種別, str説明文jp, str説明文jp);
\r
97 public void t初期化(string str項目名, int n最小値, int n最大値, int n初期値, CItemBase.Eパネル種別 eパネル種別, string str説明文jp, string str説明文en) {
\r
98 base.t初期化(str項目名, eパネル種別, str説明文jp, str説明文en);
\r
102 this.b値がフォーカスされている = false;
\r
104 public override object obj現在値()
\r
108 public override int GetIndex()
\r
112 public override void SetValue( int index, object value )
\r
114 this.n現在の値 = (int) value;
\r
118 #region [ private ]
\r
119 //-----------------
\r
122 //-----------------
\r