TextFieldPanel Cu

- ڎ -


?????????T?????????v - Abstract

?????????????????????????????鯉ソ????????????????C?????????u???????????????????????????????????? gui.TextFieldPanel ???????????阪??UI???????????????????????????i????????????繧托ス????????????????縲?????????e?????????L?????????X?????????g?????????t?????????B?????????[???????????????????????????h???????????????????????????????????????????????斐ヱ?????????l?????????????????? ?????????\?????????\ ?????????e?????????L?????????X?????????g?????????t?????????B?????????[???????????????????????????h?????????p?????????l?????????????????? ?????????\?????????\ ?????????????????????萓帙q�????????????????懊q�??????????????B

VCSSL???????????梧?呻????????????????????????????????????????????C?????????u?????????????????????????????????????????????u GUI ?????????v????????????縺?縲?UI???????????????????????????i??????????????????int?????????^??????????????????ID????????????闌ィ???????????????????????????????????懊q�????????????????????????????????A?????????????????????????????鯉ソ????????????????W???????????????????????????[???????????????????????????????蝉セ帙q�????????????????????????????????GUI???????????????????????????i???????????阪??TextFieldPanel ?????????\?????????????????????????????後?繧托ス????????????????闌ィ???????????????????????????????????懊q�??????????????B

TextFieldPanel ?????????\?????????????????????????????後�?縲???????????????????????????????????????????????会ソ????????????????\?????????[?????????X??????????????????ID????????????????????????????????????????????????????????????????????????????繧托ス???????????????懊q�????????????????????????????????A
?????????????????????????????????????????????E?????????j?????????????????????????????後q�????????????????溘�?髢?謦?????????????????????????????????????萓帙q�???????????????????????鬩搾?????????????溘�?????????????????????????????梧慣???????????????g??????????????????????????????????????画э雜???????????????????????????????????????????K?????????v???????????阪?�?????????????????????????懊q�???????????????????????i ???????????槭?�?????????????????繝。???????????????????????????o???????????悶??謚オ?????????????????夂噪???????????医?????????N?????????Z?????????X???????????肴腸??????????????????????????????????????????????????????????????懊q�??????????????????????? ?????????j?????????B
????????????????????檎噪???????????峨??縲? newTextFieldPanel ???????????匁???????????????????謦????????????????????????????????????????????????????A deleteComponent ???????????匁???????????????????遐エ???????????????????????????????????????????????懊q�??????????????B

???????????懊q�??????????????????????????????????鯉ソ????????????????W???????????????????????????[??????????????????????????????縺?縲ゝextFieldPanel ?????????\?????????????????????????????後q�?????W?????????????????????????????????????????????C?????????u?????????????????????????????????????????????u GUI ?????????v????????????縺?縺?髮????????????????l???????????悟・????????????????o????????????繧托ス???????????????後∪縺?闌ィ??????????????????????????????????????????隰費?????????????峨??????????W??????????????????GUI???????????????????????????C?????????u???????????????????????????????????????????????匁??????????????????後が?????????[?????????o?????????[???????????????????????????[?????????h??????????????????????????????萓帙q�?????????????????????????懊q�??????????????B
?????????逞ー??????????????弱?? mountComponent ???????????匁?????????????????????????AsetComponentSize ???????????匁????????????????A setComponentLocation ???????????匁??????????????????医←繧托ス????????????????萓帙q�?????????????????????????懊q�??????????????B


???????????夊カ??????? - Index

struct TextFieldPanel
?????????e?????????L?????????X?????????g?????????t?????????B?????????[???????????????????????????h?????????p?????????l?????????????????????????????梧?具????????????????????????????後?繧托ス?????????????B
TextFieldPanel newTextFieldPanel(int x, int y, int width, int height, string labelText[ ], string defaultText[ ])
?????????e?????????L?????????X?????????g?????????t?????????B?????????[???????????????????????????h?????????p?????????l??????????????????????????????逕滓????????????????????????????????????懊q�??????????????B
void deleteComponent(TextFieldPanel &panelInstance)
?????????e?????????L?????????X?????????g?????????t?????????B?????????[???????????????????????????h?????????p?????????l????????????????????????????????????j???????????????????????????????????????????????懊q�??????????????B
void paintComponent(TextFieldPanel &panelInstance)
?????????e?????????L?????????X?????????g?????????t?????????B?????????[???????????????????????????h?????????p?????????l?????????????????????????????????????????????????擾????????隰費?????????????懊q�??????????????B
void mountComponent(TextFieldPanel &panelInstance, int componentID)
?????????e?????????L?????????X?????????g?????????t?????????B?????????[???????????????????????????h?????????p?????????l?????????????????????????????????????????????A???????????翫?�?????GUI?????????R???????????????????????????|?????????[?????????l???????????????????????????g????????????????????蛾?搾????????u?????????????????????????????懊q�??????????????B
void demountComponent(TextFieldPanel &panelInstance, int componentID)
?????????e?????????L?????????X?????????g?????????p?????????l?????????????????????????????????????????????A???????????翫?�?????GUI?????????R???????????????????????????|?????????[?????????l???????????????????????????g????????????????????????????????????z?????????u?????????????????????????????????????????????????????????????????懊q�??????????????B
void setLabelWidth(TextFieldPanel &panelInstance, int labelWidth)
?????????i?????????????????????????????碁未謦??????????????????堺?貞・??????????????????夂噪????????????繧??????????|?????????[?????????g???????????????????????????????????????繧托ス???????????????懊q�??????????????BgetTextLabelWidth ???????????????????????????g?????????p??????????????????????????????莨夲??????????????????????????????????????????????????B?????????j???????????????????????????x?????????????????????????????????????????????????????????????????悟??????????????????????????晏ョ壹?????????????懊q�??????????????B
void setTextLabelWidth(TextFieldPanel &panelInstance, int labelWidth)
???????????????????????????x?????????????????????????????????????????????????????????????????悟??????????????????????????晏ョ壹?????????????懊q�??????????????B
int getPanel(TextFieldPanel &panelInstance)
?????????p?????????l?????????????????????????????後さ???????????????????????????|?????????[?????????l???????????????????????????gID????????????????????斐q�????????????????懊q�??????????????B
int getTextField(TextFieldPanel &panelInstance, string labelText)
?????????w?????????髢?????????????鮟キ??????????????????????????????x?????????????????????????????牙ッ?莨夲?????????????????????????????????????????e?????????L?????????X?????????g?????????t?????????B?????????[???????????????????????????h???????????????????????????隰?????????????????????????????????懊q�??????????????B
int getTextField(TextFieldPanel &panelInstance, int index)
?????????w?????????髢?????????????鮟キ????????????C???????????????????????????f?????????b?????????N?????????X???????????後ユ?????????L?????????X?????????g?????????t?????????B?????????[???????????????????????????h???????????????????????????隰?????????????????????????????????懊q�??????????????B
int[ ] getComponentSize(TextFieldPanel &panelInstance)
?????????p?????????l?????????????????????????????後し?????????C?????????Y????????????????????斐q�????????????????懊q�??????????????B
void setComponentSize(TextFieldPanel &panelInstance, int width, int height)
?????????p?????????l?????????????????????????????後し?????????C?????????Y????????????????????晏ョ壹?????????????懊q�??????????????B
void setComponentSize(TextFieldPanel &panelInstance)
?????????p?????????l??????????????????????????????会ス???????????????昴??繧??????????C?????????Y???????????画誓�?????????????????縺幢???????????縲?????????????????????????????????????????????R???????????????????????????|?????????[?????????l???????????????????????????g???????????後し?????????C?????????Y?????????????????????????????????????????????????????????????????晏ョ壹?????????????懊q�??????????????B?????????p?????????l?????????????????????????????後し?????????C?????????Y???????????????????????????O????????????????????????????????????????????????????????乗峩???????????????????????????????????????????????帙?菴??????????p?????????????????????????????懊q�??????????????B
int[ ] getComponentLocation(TextFieldPanel &panelInstance)
?????????p?????????l?????????????????????????????御?咲??????????????????????斐q�????????????????懊q�??????????????B
void setComponentLocation(TextFieldPanel &panelInstance, int x, int y)
?????????p?????????l?????????????????????????????御?咲??????????????????????晏ョ壹?????????????懊q�??????????????B

?????????\???????????????????????????????????? - Structs

?????????鬪????
- Declaration
struct TextFieldPanel
???????????壽誓�?????
- Description
?????????e?????????L?????????X?????????g?????????t?????????B?????????[???????????????????????????h?????????p?????????l?????????????????????????????梧?具????????????????????????????後?繧托ス?????????????B

???????????乗??????? - Variables


???????????匁??????? - Functions

?????????鬪????
- Declaration
TextFieldPanel newTextFieldPanel(int x, int y, int width, int height, string labelText[ ], string defaultText[ ])
???????????壽誓�?????
- Description
?????????e?????????L?????????X?????????g?????????t?????????B?????????[???????????????????????????h?????????p?????????l??????????????????????????????逕滓????????????????????????????????????懊q�??????????????B
????????????????????????????????????
- Arguments
x : ?????????p?????????l????????????????????????????????????X???????????????????????????W
y : ?????????p?????????l????????????????????????????????????Y???????????????????????????W
width : ?????????p?????????l?????????????????????????????悟??????
height : ?????????p?????????l?????????????????????????????梧誓�???????????????????????
labelText : ???????????????????????????x??????????????????????????????????????????????????????????????????????????????????????????i?????????[????????????????????????????????????z??????????????????
labelWidth : ???????????????????????????x?????????????????????????????????????????????????????????????????悟??????
defaultText : ?????????e?????????L?????????X?????????g?????????t?????????B?????????[???????????????????????????h???????????梧得�????????????????????????????????l????????????????????????????????????????????????????????????????????????i?????????[????????????????????????????????????z??????????????????
???????????溘q�?????l
- Return
?????????????????????????????????????????????????????????????????????????????????e?????????L?????????X?????????g?????????t?????????B?????????[???????????????????????????h?????????p?????????l???????????????????????????\????????????????????????????????????
?????????鬪????
- Declaration
void deleteComponent(TextFieldPanel &panelInstance)
???????????壽誓�?????
- Description
?????????e?????????L?????????X?????????g?????????t?????????B?????????[???????????????????????????h?????????p?????????l????????????????????????????????????j???????????????????????????????????????????????懊q�??????????????B
????????????????????????????????????
- Arguments
panelInstance : ?????????j??????????????????????????????????????????????????????e?????????L?????????X?????????g?????????t?????????B?????????[???????????????????????????h?????????p?????????l??????????????????
?????????鬪????
- Declaration
void paintComponent(TextFieldPanel &panelInstance)
???????????壽誓�?????
- Description
?????????e?????????L?????????X?????????g?????????t?????????B?????????[???????????????????????????h?????????p?????????l?????????????????????????????????????????????????擾????????隰費?????????????懊q�??????????????B
????????????????????????????????????
- Arguments
panelInstance : ?????????????擾????????隰費????????????????????e?????????L?????????X?????????g?????????t?????????B?????????[???????????????????????????h?????????p?????????l??????????????????
?????????鬪????
- Declaration
void mountComponent(TextFieldPanel &panelInstance, int componentID)
???????????壽誓�?????
- Description
?????????e?????????L?????????X?????????g?????????t?????????B?????????[???????????????????????????h?????????p?????????l?????????????????????????????????????????????A???????????翫?�?????GUI?????????R???????????????????????????|?????????[?????????l???????????????????????????g????????????????????蛾?搾????????u?????????????????????????????懊q�??????????????B
????????????????????????????????????
- Arguments
panelInstance : ?????????z?????????u????????????????????????????????????e?????????L?????????X?????????g?????????t?????????B?????????[???????????????????????????h?????????p?????????l??????????????????
componentID : ?????????z?????????u??????????????????GUI?????????R???????????????????????????|?????????[?????????l???????????????????????????gID
?????????鬪????
- Declaration
void demountComponent(TextFieldPanel &panelInstance, int componentID)
???????????壽誓�?????
- Description
?????????e?????????L?????????X?????????g?????????p?????????l?????????????????????????????????????????????A???????????翫?�?????GUI?????????R???????????????????????????|?????????[?????????l???????????????????????????g????????????????????????????????????z?????????u?????????????????????????????????????????????????????????????????懊q�??????????????B
????????????????????????????????????
- Arguments
panelInstance : ?????????z?????????u????????????????????????????????????????????????????????????????????????e?????????L?????????X?????????g?????????t?????????B?????????[???????????????????????????h?????????p?????????l??????????????????
componentID : ?????????z?????????u??????????????????GUI?????????R???????????????????????????|?????????[?????????l???????????????????????????gID
?????????鬪????
- Declaration
void setLabelWidth(TextFieldPanel &panelInstance, int labelWidth)
???????????壽誓�?????
- Description
?????????i?????????????????????????????碁未謦??????????????????堺?貞・??????????????????夂噪????????????繧??????????|?????????[?????????g???????????????????????????????????????繧托ス???????????????懊q�??????????????BgetTextLabelWidth ???????????????????????????g?????????p??????????????????????????????莨夲??????????????????????????????????????????????????B?????????j???????????????????????????x?????????????????????????????????????????????????????????????????悟??????????????????????????晏ョ壹?????????????懊q�??????????????B
????????????????????????????????????
- Arguments
panelInstance : ?????????隰???????????????手ア?縺?繝�?????????L?????????X?????????g?????????t?????????B?????????[???????????????????????????h?????????p?????????l??????????????????
labelWidth : ???????????????????????????x?????????????????????????????????????????????????????????????????悟??????
?????????鬪????
- Declaration
void setTextLabelWidth(TextFieldPanel &panelInstance, int labelWidth)
???????????壽誓�?????
- Description
???????????????????????????x?????????????????????????????????????????????????????????????????悟??????????????????????????晏ョ壹?????????????懊q�??????????????B
????????????????????????????????????
- Arguments
panelInstance : ?????????隰???????????????手ア?縺?繝�?????????L?????????X?????????g?????????t?????????B?????????[???????????????????????????h?????????p?????????l??????????????????
labelWidth : ???????????????????????????x?????????????????????????????????????????????????????????????????悟??????
?????????鬪????
- Declaration
int getPanel(TextFieldPanel &panelInstance)
???????????壽誓�?????
- Description
?????????p?????????l?????????????????????????????後さ???????????????????????????|?????????[?????????l???????????????????????????gID????????????????????斐q�????????????????懊q�??????????????B
????????????????????????????????????
- Arguments
panelInstance : ?????????隰???????????????手ア?縺?繝�?????????L?????????X?????????g?????????t?????????B?????????[???????????????????????????h?????????p?????????l??????????????????
???????????溘q�?????l
- Return
?????????p?????????l????????????????????????????????????GUI?????????R???????????????????????????|?????????[?????????l???????????????????????????gID
?????????鬪????
- Declaration
int getTextField(TextFieldPanel &panelInstance, string labelText)
???????????壽誓�?????
- Description
?????????w?????????髢?????????????鮟キ??????????????????????????????x?????????????????????????????牙ッ?莨夲?????????????????????????????????????????e?????????L?????????X?????????g?????????t?????????B?????????[???????????????????????????h???????????????????????????隰?????????????????????????????????懊q�??????????????B
????????????????????????????????????
- Arguments
panelInstance : ???????????手ア?縺?繝�?????????L?????????X?????????g?????????t?????????B?????????[???????????????????????????h?????????p?????????l??????????????????
labelText : ?????????隰???????????????手ア?縺?繝�?????????L?????????X?????????g?????????t?????????B?????????[???????????????????????????h???????????牙ッ?莨夲????????????????????????????????鬩帑シ夲?????x????????????????????????????????????????????????????????????????????????
???????????溘q�?????l
- Return
?????????e?????????L?????????X?????????g?????????t?????????B?????????[???????????????????????????h??????????????????GUI?????????R???????????????????????????|?????????[?????????l???????????????????????????gID
?????????鬪????
- Declaration
int getTextField(TextFieldPanel &panelInstance, int index)
???????????壽誓�?????
- Description
?????????w?????????髢?????????????鮟キ????????????C???????????????????????????f?????????b?????????N?????????X???????????後ユ?????????L?????????X?????????g?????????t?????????B?????????[???????????????????????????h???????????????????????????隰?????????????????????????????????懊q�??????????????B
????????????????????????????????????
- Arguments
panelInstance : ???????????手ア?縺?繝�?????????L?????????X?????????g?????????t?????????B?????????[???????????????????????????h?????????p?????????l??????????????????
index : ?????????e?????????L?????????X?????????g?????????t?????????B?????????[???????????????????????????h???????????後う???????????????????????????f?????????b?????????N?????????X
???????????溘q�?????l
- Return
?????????e?????????L?????????X?????????g?????????t?????????B?????????[???????????????????????????h??????????????????GUI?????????R???????????????????????????|?????????[?????????l???????????????????????????gID
?????????鬪????
- Declaration
int[ ] getComponentSize(TextFieldPanel &panelInstance)
???????????壽誓�?????
- Description
?????????p?????????l?????????????????????????????後し?????????C?????????Y????????????????????斐q�????????????????懊q�??????????????B
????????????????????????????????????
- Arguments
panelInstance : ???????????手ア?縺?繝�?????????L?????????X?????????g?????????t?????????B?????????[???????????????????????????h?????????p?????????l??????????????????
???????????溘q�?????l
- Return
?????????p?????????l?????????????????????????????後し?????????C?????????Y???????????????????????????i?????????[????????????????????????????????????z??????????????????
?????????鬪????
- Declaration
void setComponentSize(TextFieldPanel &panelInstance, int width, int height)
???????????壽誓�?????
- Description
?????????p?????????l?????????????????????????????後し?????????C?????????Y????????????????????晏ョ壹?????????????懊q�??????????????B
????????????????????????????????????
- Arguments
panelInstance : ???????????手ア?縺?繝�?????????L?????????X?????????g?????????t?????????B?????????[???????????????????????????h?????????p?????????l??????????????????
width : ?????????p?????????l?????????????????????????????悟??????
height : ?????????p?????????l?????????????????????????????梧誓�???????????????????????
?????????鬪????
- Declaration
void setComponentSize(TextFieldPanel &panelInstance)
???????????壽誓�?????
- Description
?????????p?????????l??????????????????????????????会ス???????????????昴??繧??????????C?????????Y???????????画誓�?????????????????縺幢???????????縲?????????????????????????????????????????????R???????????????????????????|?????????[?????????l???????????????????????????g???????????後し?????????C?????????Y?????????????????????????????????????????????????????????????????晏ョ壹?????????????懊q�??????????????B?????????p?????????l?????????????????????????????後し?????????C?????????Y???????????????????????????O????????????????????????????????????????????????????????乗峩???????????????????????????????????????????????帙?菴??????????p?????????????????????????????懊q�??????????????B
????????????????????????????????????
- Arguments
panelInstance : ???????????手ア?縺?繝�?????????L?????????X?????????g?????????t?????????B?????????[???????????????????????????h?????????p?????????l??????????????????
?????????鬪????
- Declaration
int[ ] getComponentLocation(TextFieldPanel &panelInstance)
???????????壽誓�?????
- Description
?????????p?????????l?????????????????????????????御?咲??????????????????????斐q�????????????????懊q�??????????????B
????????????????????????????????????
- Arguments
panelInstance : ???????????手ア?縺?繝�?????????L?????????X?????????g?????????t?????????B?????????[???????????????????????????h?????????p?????????l??????????????????
???????????溘q�?????l
- Return
?????????p?????????l?????????????????????????????御?咲?????????????????????????????i?????????[????????????????????????????????????z??????????????????
?????????鬪????
- Declaration
void setComponentLocation(TextFieldPanel &panelInstance, int x, int y)
???????????壽誓�?????
- Description
?????????p?????????l?????????????????????????????御?咲??????????????????????晏ョ壹?????????????懊q�??????????????B
????????????????????????????????????
- Arguments
panelInstance : ???????????手ア?縺?繧????????????????????????????C?????????_?????????[?????????p?????????l??????????????????
x : ?????????E?????????B???????????????????????????h?????????E??????????????????X???????????????????????????W
y : ?????????E?????????B???????????????????????????h?????????E??????????????????Y???????????????????????????W