1.initView client : TestMenu
m anager : ViewManager
window : TtimsWindow
page : PagePanel
logic : application
logic : ProcessLogic
view , dialog
cut
initView : Show first screen otherView getData("xxxx") new KeyData() getDAO() select(key) displayData(TData) updateView
otherView edit screen
dao : Re
dao : RemoteDBBean
Ex.sample flow get value from other screen and get data from table and show updateView screen
2. searchView / dataView keyListener : TranModeKeyListener
header : HeaderPanel
logic : ProcessLogic
logic :実装クラス
page : PagePane
keyPressed(KeyEvent) chkMode : check Mode Mode ='0' -> Enter 、 or F10
isSearchFld() : Is focus on search fields chkFLD
isSerchFld()=false(show screen with target data) : dataView isSerchFld()=true(show search screen) : serchView
Show sceen !
keyListener : BodyKeyListener keyPressed(KeyEvent) isSearchFld() : Is focus on search fields chkFLD
isSearchFld()=true(show screen with target data) : dataView
checkRequired : requied fields check searchDataCheck
getSearchData check-error :
processPreView process before 2display DataView
process before display
error :
Waiting Dialog getWhereSQL, getOrderSQL If getWhereSQL = null and getOrderSQL = null, select data by key data
select
no data message (if no data) displayData
Show sceen !
D
processPostView
error :
2 DataView
: PagePanel
dao : RemoteDBBean
F10
check key data
get search fields
2 DataView
get search fields
SData doSelect(Tdata)
Display target data
2 DataView
3.registView header : HeaderPanel
keyListener : TranModeKeyListener
logic : WinLogic
logic : Application
body : PagePane
keyPressed(KeyEvent) chkMode Mode ='1' -> Enter 、 or F10
(Initialize by register mode) : registView
set default values
getDefaultData
Default values : displayData No default values : clearView
changeEnabled preRegistView
3_register screen_
: PagePanel
Display target data
process before showing register screen
3_register screen_
4.updateView header : HeaderPanel
keyListener : TranModeKeyListener
logic : WinLogic
logic : Application
body : BodyPane
keyPressed(KeyEvent) chkMode Mode='4' -> Enter 、 or F10
isDataView() : Did DataView() run?
isDataView()= true : updateView isDataView()= false : initView Warning Msg : setMessage
changeEnabled p reUpdateView
4_update screen_
: BodyPanel
process before showing update screen
4_update screen_
5.Update process doRegist logic : application
logic : ProcessLogic
doRegist()
checkRequired : check required fields Error formatCheck : check format of fields Error dataCheck Error getData changeCheck(Tdata) : Is target data changed? Error checkPreRegist Error processPreRegist Waiting Dialog insert(List) processPostRegist setMessage initView
page : PagePanel
dao : RemoteDBBean
doUpdate logic : application
logic : ProcessLogic
page : PagePanel
doUpdate()
Confirm dialog
Error Error
checkRequired : check required fields formatCheck : check format of fields dataCheck
Error getData
Error
changeCheck(Tdata) : Is target data changed?
checkPreUpdate Error processPreUpdate Waiting Dialog update(List) processPostUpdate setMessage initView
dao : RemoteDBBean
doDelete logic : application
logic : ProcessLogic
doDelete()
Confirm dialog checkPreDelete Error processPreDelete waiting Dialog delete processPostDelete setMessage initView
page : PagePanel
dao : RemoteDBBean