In this step, you identify the views required for your application's
user interface. The Java
(TM) Client Sample Application demonstrates
the use of two channels. Since the user interface is dependent on the channel,
a user interfaces must be implemented for the Java application. The toolkit provides a
customizable desktop that integrates the different operation views in a very
friendly and easy way. The sample application will use this desktop to create
its operation views.
Three views have been identified for the application's
user interface:
- Customer identification(class CustomerSessionView)
- Withdrawal/Deposit(class AccountOperationView)
- Account Statement(class AccountStatementViewPanel)
These views have the following characteristics:
Customer
identification View:
- Input fields:
- Push buttons:
Withdrawal/Deposit View:
- Input fields: Amount, Account Number
- Output fields:
- AccountList (only for the HTML client: Name, Type, and Balance)
- CustomerName
- AccountBalance
- ErrorMessagesList
- Push buttons:
- Withdrawal
- Deposit
- Account Statement
- Close
- Dependencies:
- All the buttons except the Close need an AccountNumber selected.
- For the Withdrawal and Deposit, the Amount field is mandatory.
Account Statement View:
- Output fields:
- Push buttons: