A C D E G R S T V W

A

actionPerformed(ActionEvent) - Method in class Controller
Handles events associated with the view.

C

Controller - Class in <Unnamed>
 
Controller(View, SimpleBankAccount) - Constructor for class Controller
Creates a controller with the given view and bank account model.

D

deposit(double) - Method in class SimpleBankAccount
Deposits the given amount to the account.
DP_TEXT - Static variable in class View
Contains the text in the "Deposit" button.

E

equals(Object) - Method in class SimpleBankAccount
Tests whether the given object is equal to this object.

G

getAccountNumber() - Method in class SimpleBankAccount
Returns the account number.
getBalance() - Method in class SimpleBankAccount
Returns the account balance.

R

readTextField() - Method in class View
Gets the text contained in the window's text field.

S

setLabelText(SimpleBankAccount) - Method in class View
Sets the label text.
SimpleBankAccount - Class in <Unnamed>
 
SimpleBankAccount() - Constructor for class SimpleBankAccount
Creates a bank account with initial balance 0 and account number 1.
SimpleBankAccount(double, int) - Constructor for class SimpleBankAccount
Creates a bank account with the given initial balance and given account number.
SimpleBankAccount(SimpleBankAccount) - Constructor for class SimpleBankAccount
Copy constructor

T

toString() - Method in class SimpleBankAccount
Returns a string representation of the object.

V

View - Class in <Unnamed>
 
View(SimpleBankAccount) - Constructor for class View
Constructs the main application window to interface with a bank account object.

W

WD_TEXT - Static variable in class View
Contains the text in the "Withdraw" button.
withdraw(double) - Method in class SimpleBankAccount
Withdraws the given amount from the account, as long as sufficient funds are available.

A C D E G R S T V W