ButtonPanel Cu

- ڎ -


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

?????????????????????????????鯉ソ????????????????C?????????u???????????????????????????????????? gui.ButtonPanel ???????????阪??UI???????????????????????????i????????????繧托ス????????????????縲?????????{?????????^?????????????????????????????????????????????????????????????????斐ヱ?????????l?????????????????? ?????????\?????????\ ?????????{?????????^???????????????????????????p?????????l?????????????????? ?????????\?????????\ ?????????????????????萓帙q�????????????????懊q�??????????????B

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

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

???????????懊q�??????????????????????????????????鯉ソ????????????????W???????????????????????????[??????????????????????????????縺?縲。uttonPanel ?????????\?????????????????????????????後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 ButtonPanel
?????????{?????????^???????????????????????????p?????????l?????????????????????????????梧?具????????????????????????????後?繧托ス?????????????B
ButtonPanel newButtonPanel(int x, int y, int width, int height, string labelText[ ])
?????????{?????????^???????????????????????????p?????????l??????????????????????????????逕滓????????????????????????????????????懊q�??????????????B
void deleteComponent(ButtonPanel &panelInstance)
?????????{?????????^???????????????????????????p?????????l????????????????????????????????????j???????????????????????????????????????????????懊q�??????????????B
void paintComponent(ButtonPanel &panelInstance)
?????????{?????????^???????????????????????????p?????????l?????????????????????????????????????????????????擾????????隰費?????????????懊q�??????????????B
void mountComponent(ButtonPanel &panelInstance, int componentID)
?????????{?????????^???????????????????????????p?????????l?????????????????????????????????????????????A???????????翫?�?????GUI?????????R???????????????????????????|?????????[?????????l???????????????????????????g????????????????????蛾?搾????????u?????????????????????????????懊q�??????????????B
void demountComponent(ButtonPanel &panelInstance, int componentID)
?????????{?????????^???????????????????????????p?????????l?????????????????????????????????????????????A???????????翫?�?????GUI?????????R???????????????????????????|?????????[?????????l???????????????????????????g????????????????????????????????????z?????????u?????????????????????????????????????????????????????????????????懊q�??????????????B
int getPanel(ButtonPanel &panelInstance)
?????????p?????????l?????????????????????????????後さ???????????????????????????|?????????[?????????l???????????????????????????gID????????????????????斐q�????????????????懊q�??????????????B
int getButton(ButtonPanel &panelInstance, string labelText)
?????????w?????????髢?????????????鮟キ??????????????????????????????x?????????????????????????????牙ッ?莨夲?????????????????????????????????????????{?????????^?????????????????????????????????????????????隰?????????????????????????????????懊q�??????????????B
int getButton(ButtonPanel &panelInstance, int index)
?????????w?????????髢?????????????鮟キ????????????C???????????????????????????f?????????b?????????N?????????X???????????後�懶????????^?????????????????????????????????????????????隰?????????????????????????????????懊q�??????????????B
int[ ] getComponentSize(ButtonPanel &panelInstance)
?????????p?????????l?????????????????????????????後し?????????C?????????Y????????????????????斐q�????????????????懊q�??????????????B
void setComponentSize(ButtonPanel &panelInstance, int width, int height)
?????????p?????????l?????????????????????????????後し?????????C?????????Y????????????????????晏ョ壹?????????????懊q�??????????????B
void setComponentSize(ButtonPanel &panelInstance)
?????????p?????????l??????????????????????????????会ス???????????????昴??繧??????????C?????????Y???????????画誓�?????????????????縺幢???????????縲?????????????????????????????????????????????R???????????????????????????|?????????[?????????l???????????????????????????g???????????後し?????????C?????????Y?????????????????????????????????????????????????????????????????晏ョ壹?????????????懊q�??????????????B?????????p?????????l?????????????????????????????後し?????????C?????????Y???????????????????????????O????????????????????????????????????????????????????????乗峩???????????????????????????????????????????????帙?菴??????????p?????????????????????????????懊q�??????????????B
int[ ] getComponentLocation(ButtonPanel &panelInstance)
?????????p?????????l?????????????????????????????御?咲??????????????????????斐q�????????????????懊q�??????????????B
void setComponentLocation(ButtonPanel &panelInstance, int x, int y)
?????????p?????????l?????????????????????????????御?咲??????????????????????晏ョ壹?????????????懊q�??????????????B

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

?????????鬪????
- Declaration
struct ButtonPanel
???????????壽誓�?????
- Description
?????????{?????????^???????????????????????????p?????????l?????????????????????????????梧?具????????????????????????????後?繧托ス?????????????B

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


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

?????????鬪????
- Declaration
ButtonPanel newButtonPanel(int x, int y, int width, int height, string labelText[ ])
???????????壽誓�?????
- Description
?????????{?????????^???????????????????????????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??????????????????
buttonWidth : ?????????{?????????^?????????????????????????????悟??????
buttonText : ?????????{?????????^?????????????????????????????悟????????????????????????????????????????????????????????????i?????????[????????????????????????????????????z??????????????????
???????????溘q�?????l
- Return
?????????????????????????????????????????????????????????????????????????????????{?????????^???????????????????????????p?????????l???????????????????????????\????????????????????????????????????
?????????鬪????
- Declaration
void deleteComponent(ButtonPanel &panelInstance)
???????????壽誓�?????
- Description
?????????{?????????^???????????????????????????p?????????l????????????????????????????????????j???????????????????????????????????????????????懊q�??????????????B
????????????????????????????????????
- Arguments
panelInstance : ?????????j??????????????????????????????????????????????????????{?????????^???????????????????????????p?????????l??????????????????
?????????鬪????
- Declaration
void paintComponent(ButtonPanel &panelInstance)
???????????壽誓�?????
- Description
?????????{?????????^???????????????????????????p?????????l?????????????????????????????????????????????????擾????????隰費?????????????懊q�??????????????B
????????????????????????????????????
- Arguments
panelInstance : ?????????????擾????????隰費????????????????????{?????????^???????????????????????????p?????????l??????????????????
?????????鬪????
- Declaration
void mountComponent(ButtonPanel &panelInstance, int componentID)
???????????壽誓�?????
- Description
?????????{?????????^???????????????????????????p?????????l?????????????????????????????????????????????A???????????翫?�?????GUI?????????R???????????????????????????|?????????[?????????l???????????????????????????g????????????????????蛾?搾????????u?????????????????????????????懊q�??????????????B
????????????????????????????????????
- Arguments
panelInstance : ?????????z?????????u????????????????????????????????????{?????????^???????????????????????????p?????????l??????????????????
componentID : ?????????z?????????u??????????????????GUI?????????R???????????????????????????|?????????[?????????l???????????????????????????gID
?????????鬪????
- Declaration
void demountComponent(ButtonPanel &panelInstance, int componentID)
???????????壽誓�?????
- Description
?????????{?????????^???????????????????????????p?????????l?????????????????????????????????????????????A???????????翫?�?????GUI?????????R???????????????????????????|?????????[?????????l???????????????????????????g????????????????????????????????????z?????????u?????????????????????????????????????????????????????????????????懊q�??????????????B
????????????????????????????????????
- Arguments
panelInstance : ?????????z?????????u????????????????????????????????????????????????????????????????????????{?????????^???????????????????????????p?????????l??????????????????
componentID : ?????????z?????????u??????????????????GUI?????????R???????????????????????????|?????????[?????????l???????????????????????????gID
?????????鬪????
- Declaration
int getPanel(ButtonPanel &panelInstance)
???????????壽誓�?????
- Description
?????????p?????????l?????????????????????????????後さ???????????????????????????|?????????[?????????l???????????????????????????gID????????????????????斐q�????????????????懊q�??????????????B
????????????????????????????????????
- Arguments
panelInstance : ?????????隰???????????????手ア?縺?繝?????????^???????????????????????????p?????????l??????????????????
???????????溘q�?????l
- Return
?????????p?????????l????????????????????????????????????GUI?????????R???????????????????????????|?????????[?????????l???????????????????????????gID
?????????鬪????
- Declaration
int getButton(ButtonPanel &panelInstance, string labelText)
???????????壽誓�?????
- Description
?????????w?????????髢?????????????鮟キ??????????????????????????????x?????????????????????????????牙ッ?莨夲?????????????????????????????????????????{?????????^?????????????????????????????????????????????隰?????????????????????????????????懊q�??????????????B
????????????????????????????????????
- Arguments
panelInstance : ???????????手ア?縺?繝?????????^???????????????????????????p?????????l??????????????????
labelText : ?????????隰???????????????手ア?縺?繝?????????^?????????????????????????????牙ッ?莨夲????????????????????????????????鬩帑シ夲?????x????????????????????????????????????????????????????????????????????????
???????????溘q�?????l
- Return
?????????{?????????^????????????????????????????????????GUI?????????R???????????????????????????|?????????[?????????l???????????????????????????gID
?????????鬪????
- Declaration
int getButton(ButtonPanel &panelInstance, int index)
???????????壽誓�?????
- Description
?????????w?????????髢?????????????鮟キ????????????C???????????????????????????f?????????b?????????N?????????X???????????後�懶????????^?????????????????????????????????????????????隰?????????????????????????????????懊q�??????????????B
????????????????????????????????????
- Arguments
panelInstance : ???????????手ア?縺?繝?????????^???????????????????????????p?????????l??????????????????
index : ?????????{?????????^?????????????????????????????後う???????????????????????????f?????????b?????????N?????????X
???????????溘q�?????l
- Return
?????????{?????????^????????????????????????????????????GUI?????????R???????????????????????????|?????????[?????????l???????????????????????????gID
?????????鬪????
- Declaration
int[ ] getComponentSize(ButtonPanel &panelInstance)
???????????壽誓�?????
- Description
?????????p?????????l?????????????????????????????後し?????????C?????????Y????????????????????斐q�????????????????懊q�??????????????B
????????????????????????????????????
- Arguments
panelInstance : ???????????手ア?縺?繝?????????^???????????????????????????p?????????l??????????????????
???????????溘q�?????l
- Return
?????????p?????????l?????????????????????????????後し?????????C?????????Y???????????????????????????i?????????[????????????????????????????????????z??????????????????
?????????鬪????
- Declaration
void setComponentSize(ButtonPanel &panelInstance, int width, int height)
???????????壽誓�?????
- Description
?????????p?????????l?????????????????????????????後し?????????C?????????Y????????????????????晏ョ壹?????????????懊q�??????????????B
????????????????????????????????????
- Arguments
panelInstance : ???????????手ア?縺?繝?????????^???????????????????????????p?????????l??????????????????
width : ?????????p?????????l?????????????????????????????悟??????
height : ?????????p?????????l?????????????????????????????梧誓�???????????????????????
?????????鬪????
- Declaration
void setComponentSize(ButtonPanel &panelInstance)
???????????壽誓�?????
- Description
?????????p?????????l??????????????????????????????会ス???????????????昴??繧??????????C?????????Y???????????画誓�?????????????????縺幢???????????縲?????????????????????????????????????????????R???????????????????????????|?????????[?????????l???????????????????????????g???????????後し?????????C?????????Y?????????????????????????????????????????????????????????????????晏ョ壹?????????????懊q�??????????????B?????????p?????????l?????????????????????????????後し?????????C?????????Y???????????????????????????O????????????????????????????????????????????????????????乗峩???????????????????????????????????????????????帙?菴??????????p?????????????????????????????懊q�??????????????B
????????????????????????????????????
- Arguments
panelInstance : ???????????手ア?縺?繝?????????^???????????????????????????p?????????l??????????????????
?????????鬪????
- Declaration
int[ ] getComponentLocation(ButtonPanel &panelInstance)
???????????壽誓�?????
- Description
?????????p?????????l?????????????????????????????御?咲??????????????????????斐q�????????????????懊q�??????????????B
????????????????????????????????????
- Arguments
panelInstance : ???????????手ア?縺?繝?????????^???????????????????????????p?????????l??????????????????
???????????溘q�?????l
- Return
?????????p?????????l?????????????????????????????御?咲?????????????????????????????i?????????[????????????????????????????????????z??????????????????
?????????鬪????
- Declaration
void setComponentLocation(ButtonPanel &panelInstance, int x, int y)
???????????壽誓�?????
- Description
?????????p?????????l?????????????????????????????御?咲??????????????????????晏ョ壹?????????????懊q�??????????????B
????????????????????????????????????
- Arguments
panelInstance : ???????????手ア?縺?繝?????????^???????????????????????????p?????????l??????????????????
x : ?????????E?????????B???????????????????????????h?????????E??????????????????X???????????????????????????W
y : ?????????E?????????B???????????????????????????h?????????E??????????????????Y???????????????????????????W