Detail Ui Class Design Workshop

  • November 2019
  • PDF

This document was uploaded by user and they confirmed that they have the permission to share it. If you are author or own the copyright of this book, please report to us by using this DMCA report form. Report DMCA


Overview

Download & View Detail Ui Class Design Workshop as PDF for free.

More details

  • Words: 661
  • Pages: 9
DETAIL UI CLASS DESIGN WORKSHOP

DONE BY TEAM 1 Member #1

A Mon Aung (DT078581N)

Member #2

He Peilin (DT078598L)

Member #3

Kay Khaing Win (DT078605L)

Member #4

Khaing Su Hlaing (DT078672W)

Member #5

Shini Sukumaran (DT078689N)

Member #6

Than Htut (DT078639X)

Member #7

Yang Jiawen Mark (DT078650W)

User Interface Rules for TourListAllUI Rule #1

• Rule #2 • Rule #3 •

On display, list of tours which have not departed yet. Disable “Details” button.

Enable”Details” button when a reservation staff selects at least one of the tour from the Tour List. If “New Query” button is click, to show Tour Search Criteria Screen.

User Interface Rules for Tour SearchUI Rule #1 • Rule #2 • Rule #3 • Rule #4 •

On Display, all tour name start date will have been filled in combo boxes. If no result is found, no result found alert is raised. Click [OK] button to return to Tour SearchUI. If “All” button is clicked to show TourListAllUI with all tour packages not departed. Tour SearchUI is closed and return to TourListAllUI. If “Cancel” button is clicked, return to TourListAllUI.

User Interface Rules for TourDetailsUI Rule #1 • Rule #2



On display, list of selected tour(s) with tour details will display. If “Close” button is clicked, the TourDetailsUI(s) will close and return to TourListAllUI.

2

States for TourListAllUI 1. Display All Tour List Information • Disable “Details” button , enable” New Query” button 2. Highlight Tour Package(s) • Enable” Details” button 3. Suspend • This object state is concurrent with an external state

States for TourSearchUI 1. Select Tour name and StartDate • Fist tour name is selected and state date is today’s date. 2. “No Result Found” Alert [OK] • If [OK] to return to TourSearchUI

States for TourDetailsUI 1. Display TourDetails • Display Tour Details with itinerary

3

Event Action Table for TourListAllUI Current state External

Event

Action

Call+ TourListAllUI() TourListAllUI.Load -TourListAllUI_Load() Call + Accept TourAndDateList()

+TourListAllUI_Load():void -disable ”Details” button -enable “New Query” button + Accept TourAndDateList():void -all tours not departed are displayed

User highlights tour package(s)

If tour package highlighted -“details” button enabled

User clicks “close”button Or User clicks “New Query”button Or User click “Details”button Call+ + Accept TourAndDateList()

Call close()

Next State 1

1,2

1,2

3

2 End

Call TourSearchUI()

3

Call TourDetailsUI() + Accept TourAndDateList() Display altered information from query or previous information

1

Event Action Table for TourSearchUI Current State External

1

Event Call TourDetailUI() ->TourDetailUI.Load-> -TourDetailUI_Load( ) User clicks ‘Close’ button> btnClose.Click-> -btnclose_Click( )

Action TourDetailUI_Load( ):void Call+acceptDetails( ):void -btnClose.Click( ):void -check the last TourDetailUI -if not the last TourDetailUI( ) Focus on another TourDetailUI( ) -if the last TourDetailUI() close

Next State 1

1 End

4

Event Action Table for TourDetailsUI Current State

Event -call + TourSearchUI( ) -TourSearchUI.Load( )--> TourSearchUI_Load( )

+TourSearchUI.Load( ):void

External

-user choose the tour name & start date from combo box -click Search button -click ‘All’ button -click ‘Cancel’ button -user clicks Alert OK button

+selectSmallTourAndDateList( ) If result found

1 1 2

Action

Next State 1

If result not found +selectAllTourAndDateList( ) +selectTourSearchCancel( ) [OK]

End 2 End 1

5

State Chart Diagram for TourListAllUI

6

State Chart Diagram for TourSearchUI

7

State Chart Diagram for TourDetailsUI

8

Boundary Class Diagram <> TourList dgTourList : DataGridView btnNewQuery : Button btnDetails : Button gboTourList : GroupBox acceptTourAndDateList() focus() close()

<> TourListAllUI TourListAllUI() acceptTourAndDateList() TourListAllUI_Load() btnDetails_Click() btnNewQuery_Click() dgTourList__CellContentClick()

<> TourSearchUI lblTourName : Label lblStartDate : Label cboTourName : ComboBox cboStartDate : Combobox btnSearch : Button btnAll : Button btnCancel : Button TourSearchUI() close() notFound() selectSmallTourAndDateList() selectAllTourAndDateList() selectTourSearchCancel() TourSearchUI_Load() btnSearch_Click() btnAll_Click() btnCancel_Click() cboTourName_SelectedIndexChanged() cboStartDate_SelectedIndexChanged()

<> TourDetailUI gboTourInformation : GroupBox gboItinerary : GroupBox lblTourName : Label lblTourPeriod : Label lblTourLeader : Label lblTourType : Label lblTripType : Label lblTransport : Label lblTourStatus : Label lblTourDuration : Label lblNoPassenger : Label lblMinPassenger : Label lblMaxPassenger : Label lblRegions : Label lboRegions : ListBox dgTourItinerary : DataGrid btnClose : Button TourDetailsUI() close() focus() acceptDetails() TourDetailUI_Load() btnClose_Click()

9

Related Documents