Index
All Classes|All Packages|Serialized Form
A
- account(int) - Method in class bank.Bank
- Account - Class in bank
-
This class represents the relationship between a bank and its customers (account holders).
- Account(int, double) - Constructor for class bank.Account
- AccountHolderException - Exception in bank.exceptions
-
Basic exception class for holder-related problems.
- AccountHolderException(int, String) - Constructor for exception bank.exceptions.AccountHolderException
- accounts() - Method in class bank.Bank
-
Return all the accounts as an unmodifiable collection.
- add(Object) - Method in class pt.tecnico.uilib.Display
- addAll(Collection<?>) - Method in class pt.tecnico.uilib.Display
- addBalance(double) - Method in class bank.accounts.Savings
-
Add to the current balance (protected!).
- addBooleanField(String, String) - Method in class pt.tecnico.uilib.forms.Form
- addBooleanField(String, String) - Method in class pt.tecnico.uilib.menus.Command
- addHolder(Client) - Method in class bank.Account
-
Add an account holder.
- addIntegerField(String, String) - Method in class pt.tecnico.uilib.forms.Form
- addIntegerField(String, String) - Method in class pt.tecnico.uilib.menus.Command
- addLine(Object) - Method in class pt.tecnico.uilib.Display
-
Add a line of text in a new-line.
- addNewLine(Object, boolean) - Method in class pt.tecnico.uilib.Display
-
Add a line of text in a new-line.
- addRealField(String, String) - Method in class pt.tecnico.uilib.forms.Form
- addRealField(String, String) - Method in class pt.tecnico.uilib.menus.Command
- addSavingsAccount(double, double, int) - Method in class bank.Account
- addStringField(String, String) - Method in class pt.tecnico.uilib.forms.Form
- addStringField(String, String) - Method in class pt.tecnico.uilib.menus.Command
- advanceDate(int) - Method in class bank.Calendar
-
Advance today's date by a given number of days.
- App - Class in bank.app
-
Bank application.
- App() - Constructor for class bank.app.App
B
- BadEntryException - Exception in bank.exceptions
-
Client id does not exist..
- BadEntryException(String) - Constructor for exception bank.exceptions.BadEntryException
- BalanceTooLowException - Exception in bank.exceptions
-
Balance is lower than amount being withdrawn.
- BalanceTooLowException(int, double, double) - Constructor for exception bank.exceptions.BalanceTooLowException
- bank - package bank
- Bank - Class in bank
-
Banks have clients and accounts.
- Bank(String) - Constructor for class bank.Bank
-
Constructor.
- bank.accounts - package bank.accounts
- bank.app - package bank.app
- bank.app.account - package bank.app.account
- bank.app.bank - package bank.app.bank
- bank.app.client - package bank.app.client
- bank.app.exceptions - package bank.app.exceptions
- bank.app.savings - package bank.app.savings
- bank.exceptions - package bank.exceptions
- BankAccountException - Exception in bank.exceptions
-
Basic exception class for bank operations.
- BankAccountException(int) - Constructor for exception bank.exceptions.BankAccountException
- booleanField(String) - Method in class pt.tecnico.uilib.forms.Form
- booleanField(String) - Method in class pt.tecnico.uilib.menus.Command
C
- Calendar - Class in bank
-
Calendar class for keeping the current date and compute date intervals.
- canBeRemoved() - Method in class bank.Account
-
Verifies whether an account can be removed.
- clear() - Method in class pt.tecnico.uilib.Display
-
Clear display.
- clear() - Method in class pt.tecnico.uilib.forms.Field
-
Mark the Input as unread
- clear() - Method in class pt.tecnico.uilib.forms.Form
-
Clear the form.
- cleared() - Method in class pt.tecnico.uilib.forms.Field
- client(int) - Method in class bank.Bank
- Client - Class in bank
-
Class Holder contains information about holders of bank accounts.
- Client(int, String) - Constructor for class bank.Client
-
Constructor (initializes id and name).
- Client(String[]) - Constructor for class bank.Client
-
Constructor (initializes from array of String).
- clients() - Method in class bank.Bank
-
Return all the account holders as an unmodifiable collection.
- close() - Method in class bank.accounts.Savings
-
Close savings account.
- close() - Method in class pt.tecnico.uilib.Dialog
-
Close the interaction.
- close() - Method in interface pt.tecnico.uilib.InteractionDriver
-
Close all I/O channels.
- close() - Method in class pt.tecnico.uilib.swing.NewSwingInteraction
- close() - Method in class pt.tecnico.uilib.swing.SwingInteraction
- close() - Method in class pt.tecnico.uilib.text.TextInteraction
- Command<Receiver> - Class in pt.tecnico.uilib.menus
-
Command represents an operation that can be carried out by or over an entity.
- Command(boolean, String) - Constructor for class pt.tecnico.uilib.menus.Command
- Command(boolean, String, Receiver) - Constructor for class pt.tecnico.uilib.menus.Command
- Command(boolean, String, Receiver, Predicate<Receiver>) - Constructor for class pt.tecnico.uilib.menus.Command
- Command(String, Receiver) - Constructor for class pt.tecnico.uilib.menus.Command
- Command(String, Receiver, Predicate<Receiver>) - Constructor for class pt.tecnico.uilib.menus.Command
- CommandException - Exception in pt.tecnico.uilib.menus
-
This class represents events in unsuccessful command executions.
- CommandException(String) - Constructor for exception pt.tecnico.uilib.menus.CommandException
- CommandException(String, Throwable) - Constructor for exception pt.tecnico.uilib.menus.CommandException
- compareTo(Account) - Method in class bank.Account
-
Compares account ids.
- confirm(String) - Static method in class pt.tecnico.uilib.forms.Form
- createAccount(double) - Method in class bank.Bank
-
Create and register account.
- createSavingsAccount(double, double, int) - Method in class bank.Account
- Current - Class in bank.accounts
-
Class for current accounts.
- Current(int, double) - Constructor for class bank.accounts.Current
-
Initialize a current account, setting the initial balance.
- currentAccountBalance() - Method in class bank.Account
D
- daysSince(long) - Method in class bank.Calendar
- deposit(double) - Method in class bank.Account
-
Makes a deposit in the current account.
- deposit(double) - Method in class bank.accounts.Current
-
Add the given amount to the current balance (if the amount is positive).
- deposit(double) - Method in class bank.accounts.Savings
-
Savings accounts can only be initialized: they cannot be the object of deposit operations.
- Dialog - Class in pt.tecnico.uilib
-
Dialog with the user.
- Dialog(InteractionDriver) - Constructor for class pt.tecnico.uilib.Dialog
- dirty() - Method in class pt.tecnico.uilib.forms.Field
-
Mark the Input as read
- display() - Method in class pt.tecnico.uilib.Display
-
Display the text.
- Display - Class in pt.tecnico.uilib
-
Display lines of text.
- Display() - Constructor for class pt.tecnico.uilib.Display
-
Build a Display without a title and use the static IO
- Display(String) - Constructor for class pt.tecnico.uilib.Display
- Display(Dialog, String) - Constructor for class pt.tecnico.uilib.Display
- DoChangeName - Class in bank.app.client
-
Command for changing an account holder's name.
- DoChangeName(Client) - Constructor for class bank.app.client.DoChangeName
- DoCloseAccount - Class in bank.app.savings
-
Close the account.
- DoCloseAccount(Savings) - Constructor for class bank.app.savings.DoCloseAccount
- DoCreateAccount - Class in bank.app.bank
-
Create a new account.
- DoCreateAccount(Bank) - Constructor for class bank.app.bank.DoCreateAccount
- DoCreateSavingsAccount - Class in bank.app.account
-
Command for creating savings accounts.
- DoCreateSavingsAccount(Account) - Constructor for class bank.app.account.DoCreateSavingsAccount
- DoDeposit - Class in bank.app.account
-
Command for making deposits.
- DoDeposit(Account) - Constructor for class bank.app.account.DoDeposit
- DoOpenMenu - Class in pt.tecnico.uilib.menus
-
Command to open a menu.
- DoOpenMenu(String, Menu) - Constructor for class pt.tecnico.uilib.menus.DoOpenMenu
- DoOpenMenuAccount - Class in bank.app.bank
-
Open account menu.
- DoOpenMenuAccount(Bank) - Constructor for class bank.app.bank.DoOpenMenuAccount
- DoOpenMenuClient - Class in bank.app.bank
-
Open client menu.
- DoOpenMenuClient(Bank) - Constructor for class bank.app.bank.DoOpenMenuClient
- DoOpenMenuSavingsAccount - Class in bank.app.account
-
Open menu for a specific savings account.
- DoOpenMenuSavingsAccount(Account) - Constructor for class bank.app.account.DoOpenMenuSavingsAccount
- DoRegisterClient - Class in bank.app.bank
-
Register a new client (account holder).
- DoRegisterClient(Bank) - Constructor for class bank.app.bank.DoRegisterClient
- DoRemoveAccount - Class in bank.app.account
-
Remove a this account from the bank.
- DoRemoveAccount(Account, Bank) - Constructor for class bank.app.account.DoRemoveAccount
- DoShowAccountHolders - Class in bank.app.account
-
Command for showing all the holders of an account.
- DoShowAccountHolders(Account) - Constructor for class bank.app.account.DoShowAccountHolders
- DoShowAllAccounts - Class in bank.app.bank
-
Show all accounts.
- DoShowAllAccounts(Bank) - Constructor for class bank.app.bank.DoShowAllAccounts
- DoShowAllClients - Class in bank.app.bank
-
Show all account holders.
- DoShowAllClients(Bank) - Constructor for class bank.app.bank.DoShowAllClients
- DoShowBalance - Class in bank.app.savings
-
Show the account's balance.
- DoShowBalance(Savings) - Constructor for class bank.app.savings.DoShowBalance
- DoShowCurrentAccountBalance - Class in bank.app.account
-
Class representing a command for showing the balance of an account.
- DoShowCurrentAccountBalance(Account) - Constructor for class bank.app.account.DoShowCurrentAccountBalance
- DoShowSavingsAccounts - Class in bank.app.account
-
Command for showing all the savings accounts.
- DoShowSavingsAccounts(Account) - Constructor for class bank.app.account.DoShowSavingsAccounts
- DoShowTotalBalance - Class in bank.app.account
-
Command for showing the balance of an account.
- DoShowTotalBalance(Account) - Constructor for class bank.app.account.DoShowTotalBalance
- DoWithdraw - Class in bank.app.account
-
Withdrawal command.
- DoWithdraw(Account) - Constructor for class bank.app.account.DoWithdraw
- DuplicateClientException - Exception in bank.exceptions
-
This exception represents a duplicate holder problem.
- DuplicateClientException(int, String) - Constructor for exception bank.exceptions.DuplicateClientException
- DuplicateClientIdException - Exception in bank.app.exceptions
-
Client id does not exist..
- DuplicateClientIdException(int) - Constructor for exception bank.app.exceptions.DuplicateClientIdException
E
- entries() - Method in class pt.tecnico.uilib.forms.Form
- entries() - Method in class pt.tecnico.uilib.menus.Menu
- entry(int) - Method in class pt.tecnico.uilib.menus.Menu
- equals(Object) - Method in class bank.Account
-
Two accounts are considered equal when they have the same account number.
- equals(Object) - Method in class bank.accounts.Savings
- equals(Object) - Method in class bank.Bank
- equals(Object) - Method in class bank.Client
- execute() - Method in class bank.app.account.DoCreateSavingsAccount
- execute() - Method in class bank.app.account.DoDeposit
- execute() - Method in class bank.app.account.DoOpenMenuSavingsAccount
- execute() - Method in class bank.app.account.DoRemoveAccount
- execute() - Method in class bank.app.account.DoShowAccountHolders
- execute() - Method in class bank.app.account.DoShowCurrentAccountBalance
- execute() - Method in class bank.app.account.DoShowSavingsAccounts
- execute() - Method in class bank.app.account.DoShowTotalBalance
- execute() - Method in class bank.app.account.DoWithdraw
- execute() - Method in class bank.app.bank.DoCreateAccount
- execute() - Method in class bank.app.bank.DoOpenMenuAccount
- execute() - Method in class bank.app.bank.DoOpenMenuClient
- execute() - Method in class bank.app.bank.DoRegisterClient
- execute() - Method in class bank.app.bank.DoShowAllAccounts
- execute() - Method in class bank.app.bank.DoShowAllClients
- execute() - Method in class bank.app.client.DoChangeName
- execute() - Method in class bank.app.savings.DoCloseAccount
- execute() - Method in class bank.app.savings.DoShowBalance
- execute() - Method in class pt.tecnico.uilib.menus.Command
-
Executes the command: as defined in the Command pattern, the command's execution should eventually invoke the receiver's action.
- execute() - Method in class pt.tecnico.uilib.menus.DoOpenMenu
F
- field(String) - Method in class pt.tecnico.uilib.forms.Form
- Field<Type> - Class in pt.tecnico.uilib.forms
-
This class represents an input field in a form.
- Field() - Constructor for class pt.tecnico.uilib.forms.Field
-
Build an Input without a title
- Field(String) - Constructor for class pt.tecnico.uilib.forms.Field
- FieldNone - Class in pt.tecnico.uilib.forms
-
Request no value (used as a separator within a form).
- fill(Form) - Method in class pt.tecnico.uilib.Dialog
- fill(Form) - Method in interface pt.tecnico.uilib.InteractionDriver
- fill(Form) - Method in class pt.tecnico.uilib.swing.NewSwingInteraction
- fill(Form) - Method in class pt.tecnico.uilib.swing.SwingInteraction
- fill(Form) - Method in class pt.tecnico.uilib.text.TextInteraction
- Form - Class in pt.tecnico.uilib.forms
-
A Form has a set of input fields.
- Form() - Constructor for class pt.tecnico.uilib.forms.Form
-
use default values: static UI and no title
- Form(String) - Constructor for class pt.tecnico.uilib.forms.Form
- Form(Dialog, String) - Constructor for class pt.tecnico.uilib.forms.Form
G
- getAccount() - Method in exception bank.exceptions.BankAccountException
- getAmount() - Method in exception bank.exceptions.BalanceTooLowException
- getAmount() - Method in exception bank.exceptions.InvalidDepositException
- getAmount() - Method in exception bank.exceptions.InvalidRemovalException
- getAmount() - Method in exception bank.exceptions.InvalidWithdrawalException
- getAmount() - Method in exception bank.exceptions.NegativeAmountException
- getBalance() - Method in class bank.accounts.Savings
-
Returns the current balance.
- getBalance() - Method in exception bank.exceptions.BalanceTooLowException
- getCalendar() - Static method in class bank.Calendar
- getCreationDate() - Method in class bank.accounts.Savings
-
Returns the date of the deposit.
- getDate(long) - Method in class bank.Calendar
- getEntry() - Method in exception bank.exceptions.BadEntryException
- getHolderName() - Method in exception bank.exceptions.AccountHolderException
- getId() - Method in class bank.Account
- getId() - Method in class bank.accounts.Savings
-
Return the deposit account id.
- getId() - Method in class bank.Client
- getId() - Method in exception bank.exceptions.AccountHolderException
- getId() - Method in exception bank.exceptions.NoSuchAccountException
- getId() - Method in exception bank.exceptions.NoSuchClientException
- getId() - Method in exception bank.exceptions.NoSuchSavingsAccountException
- getName() - Method in class bank.Bank
- getName() - Method in class bank.Client
- getRate() - Method in class bank.accounts.Savings
-
Return the account rate.
- getTime() - Method in class bank.accounts.Savings
-
Get the account's time period.
H
I
- importFile(String) - Method in class bank.Bank
-
Simple function to parse basic information about accounts and holders.
- integerField(String) - Method in class pt.tecnico.uilib.forms.Form
- integerField(String) - Method in class pt.tecnico.uilib.menus.Command
- InteractionDriver - Interface in pt.tecnico.uilib
-
Generic interaction driver (back-end).
- InvalidAccountIdException - Exception in bank.app.exceptions
-
User interface exception invalid withdrawal operations.
- InvalidAccountIdException(int) - Constructor for exception bank.app.exceptions.InvalidAccountIdException
- InvalidClientIdException - Exception in bank.app.exceptions
-
Client id does not exist..
- InvalidClientIdException(int) - Constructor for exception bank.app.exceptions.InvalidClientIdException
- InvalidDateException - Exception in bank.app.exceptions
-
User exception for presenting bad dates.
- InvalidDateException(int) - Constructor for exception bank.app.exceptions.InvalidDateException
- InvalidDepositException - Exception in bank.exceptions
-
Exception for unsuccessful deposit operations.
- InvalidDepositException(int, double) - Constructor for exception bank.exceptions.InvalidDepositException
- InvalidDepositUIException - Exception in bank.app.exceptions
-
User interface exception invalid withdrawal operations.
- InvalidDepositUIException(int, double) - Constructor for exception bank.app.exceptions.InvalidDepositUIException
- InvalidRemovalException - Exception in bank.exceptions
-
Exception for unsuccessful removal operations.
- InvalidRemovalException(int, double) - Constructor for exception bank.exceptions.InvalidRemovalException
- InvalidRemovalUIException - Exception in bank.app.exceptions
-
User interface exception invalid withdrawal operations.
- InvalidRemovalUIException(int, double) - Constructor for exception bank.app.exceptions.InvalidRemovalUIException
- InvalidSavingsAccountIdException - Exception in bank.app.exceptions
-
User interface exception invalid withdrawal operations.
- InvalidSavingsAccountIdException(int) - Constructor for exception bank.app.exceptions.InvalidSavingsAccountIdException
- InvalidWithdrawalException - Exception in bank.exceptions
-
Exception for unsuccessful withdrawal operations.
- InvalidWithdrawalException(int, double) - Constructor for exception bank.exceptions.InvalidWithdrawalException
- InvalidWithdrawalUIException - Exception in bank.app.exceptions
-
User interface exception invalid withdrawal operations.
- InvalidWithdrawalUIException(int, double) - Constructor for exception bank.app.exceptions.InvalidWithdrawalUIException
- isLast() - Method in class pt.tecnico.uilib.menus.Command
-
Indicates whether, in a menu, this is the last command.
- isReadOnly() - Method in class pt.tecnico.uilib.forms.Field
-
Is the input field read-only.
- isReadOnly() - Method in class pt.tecnico.uilib.forms.FieldNone
-
Is the input field read-only.
- isValid() - Method in class pt.tecnico.uilib.menus.Command
L
- load(String) - Static method in class bank.Bank
M
- main(String[]) - Static method in class bank.app.App
- Menu - Class in bank.app.account
-
Menu for bank accounts.
- Menu - Class in bank.app.bank
-
Bank menu.
- Menu - Class in bank.app.client
-
This class represents the Menu for BankAccounts.
- Menu - Class in bank.app.savings
-
Menu for savings accounts.
- Menu - Class in pt.tecnico.uilib.menus
-
Class Menu manages a list of commands.
- Menu(Account, Bank) - Constructor for class bank.app.account.Menu
- Menu(Savings) - Constructor for class bank.app.savings.Menu
- Menu(Bank) - Constructor for class bank.app.bank.Menu
- Menu(Client) - Constructor for class bank.app.client.Menu
- Menu(String, Command<?>...) - Constructor for class pt.tecnico.uilib.menus.Menu
- Menu(Dialog, String, Command<?>...) - Constructor for class pt.tecnico.uilib.menus.Menu
N
- NAME_COMPARATOR - Static variable in class bank.Client
-
NAME_COMPARATOR allow comparing holders based on their names.
- NegativeAmountException - Exception in bank.exceptions
-
Exception for negative amounts.
- NegativeAmountException(int, double) - Constructor for exception bank.exceptions.NegativeAmountException
- NegativeDepositUIException - Exception in bank.app.exceptions
-
User interface exception invalid withdrawal operations.
- NegativeDepositUIException(double) - Constructor for exception bank.app.exceptions.NegativeDepositUIException
- NegativeWithdrawalUIException - Exception in bank.app.exceptions
-
User interface exception invalid withdrawal operations.
- NegativeWithdrawalUIException(double) - Constructor for exception bank.app.exceptions.NegativeWithdrawalUIException
- NewSwingInteraction - Class in pt.tecnico.uilib.swing
-
New Swing interaction back-end.
- NewSwingInteraction() - Constructor for class pt.tecnico.uilib.swing.NewSwingInteraction
-
Constructor.
- NoBalanceWithdrawalUIException - Exception in bank.app.exceptions
-
User interface exception invalid withdrawal operations.
- NoBalanceWithdrawalUIException(double, double) - Constructor for exception bank.app.exceptions.NoBalanceWithdrawalUIException
- NoSuchAccountException - Exception in bank.exceptions
-
Account does not exist.
- NoSuchAccountException(int) - Constructor for exception bank.exceptions.NoSuchAccountException
- NoSuchClientException - Exception in bank.exceptions
-
Client does not exist.
- NoSuchClientException(int) - Constructor for exception bank.exceptions.NoSuchClientException
- NoSuchSavingsAccountException - Exception in bank.exceptions
-
Account does not exist.
- NoSuchSavingsAccountException(int) - Constructor for exception bank.exceptions.NoSuchSavingsAccountException
- NUMBER_COMPARATOR - Static variable in class bank.Client
-
NUMBER_COMPARATOR allow comparing holders based on their ids.
O
- open() - Method in class pt.tecnico.uilib.menus.Menu
-
The menu interacts with the user and executes the appropriate commands.
- open(Menu) - Method in class pt.tecnico.uilib.Dialog
- open(Menu) - Method in interface pt.tecnico.uilib.InteractionDriver
- open(Menu) - Method in class pt.tecnico.uilib.swing.NewSwingInteraction
- open(Menu) - Method in class pt.tecnico.uilib.swing.SwingInteraction
- open(Menu) - Method in class pt.tecnico.uilib.text.TextInteraction
P
- parse() - Method in class pt.tecnico.uilib.forms.Form
-
Request the parsing of all the form's fields, clearing previous field values.
- parse(boolean) - Method in class pt.tecnico.uilib.forms.Form
-
Request the parsing of all the form's fields.
- parse(String) - Method in class pt.tecnico.uilib.forms.Field
-
Each Input must parse its own specific type of value, written in accordance with the specific regular expression.
- parse(String) - Method in class pt.tecnico.uilib.forms.FieldNone
- performCommand() - Method in class pt.tecnico.uilib.menus.Command
- popup(Object) - Method in class pt.tecnico.uilib.Display
-
Easy display method.
- popup(Collection<?>) - Method in class pt.tecnico.uilib.Display
-
Easy display method.
- prompt() - Method in class pt.tecnico.uilib.forms.Field
- pt.tecnico.uilib - package pt.tecnico.uilib
- pt.tecnico.uilib.forms - package pt.tecnico.uilib.forms
- pt.tecnico.uilib.menus - package pt.tecnico.uilib.menus
- pt.tecnico.uilib.swing - package pt.tecnico.uilib.swing
- pt.tecnico.uilib.text - package pt.tecnico.uilib.text
R
- realField(String) - Method in class pt.tecnico.uilib.forms.Form
- realField(String) - Method in class pt.tecnico.uilib.menus.Command
- registerClient(int, String) - Method in class bank.Bank
- removeAccount(Account) - Method in class bank.Bank
-
Remove an account.
- removeClient(int) - Method in class bank.Bank
- removeSavingsAccount(Savings) - Method in class bank.Account
-
Remove a given savings account.
- render(String, String) - Method in class pt.tecnico.uilib.Dialog
- render(String, String) - Method in interface pt.tecnico.uilib.InteractionDriver
- render(String, String) - Method in class pt.tecnico.uilib.swing.NewSwingInteraction
- render(String, String) - Method in class pt.tecnico.uilib.swing.SwingInteraction
- render(String, String) - Method in class pt.tecnico.uilib.text.TextInteraction
- requestInteger(String) - Static method in class pt.tecnico.uilib.forms.Form
- requestReal(String) - Static method in class pt.tecnico.uilib.forms.Form
- requestString(String) - Static method in class pt.tecnico.uilib.forms.Form
S
- save(String) - Method in class bank.Bank
- Savings - Class in bank.accounts
-
Class for savings accounts.
- Savings(int, double, double, int, Account) - Constructor for class bank.accounts.Savings
- savingsAccount(int) - Method in class bank.Account
-
Returns the savings accounts associated with the bank account.
- savingsAccounts() - Method in class bank.Account
-
Returns the savings accounts associated with the bank account.
- set(Type) - Method in class pt.tecnico.uilib.forms.Field
- setDate(int, int, int) - Method in class bank.Calendar
-
Set today's date (for debug purposes only).
- setDate(long) - Method in class bank.Calendar
-
Set today's date (for debug purposes only).
- setName(String) - Method in class bank.Client
- size() - Method in class pt.tecnico.uilib.menus.Menu
- stringField(String) - Method in class pt.tecnico.uilib.forms.Form
- stringField(String) - Method in class pt.tecnico.uilib.menus.Command
- SwingInteraction - Class in pt.tecnico.uilib.swing
-
Swing interaction back-end.
- SwingInteraction() - Constructor for class pt.tecnico.uilib.swing.SwingInteraction
-
Constructor.
T
- TextInteraction - Class in pt.tecnico.uilib.text
-
Text interaction back-end (either through the keyboard or files).
- TextInteraction() - Constructor for class pt.tecnico.uilib.text.TextInteraction
-
Constructor (package).
- title() - Method in class pt.tecnico.uilib.forms.Form
- title() - Method in class pt.tecnico.uilib.menus.Command
- title() - Method in class pt.tecnico.uilib.menus.Menu
- today() - Method in class bank.Calendar
- toString() - Method in class bank.Account
-
String representation of the account: presents the account number and the total balance.
- toString() - Method in class bank.accounts.Current
- toString() - Method in class bank.accounts.Savings
- toString() - Method in class bank.Calendar
- toString() - Method in class bank.Client
- toString() - Method in class pt.tecnico.uilib.forms.Field
- toString() - Method in exception pt.tecnico.uilib.menus.CommandException
- totalBalance() - Method in class bank.Account
-
Returns the total balance for the account.
U
V
W
- withdraw(double) - Method in class bank.Account
-
Performs a withdrawal.
- withdraw(double) - Method in class bank.accounts.Current
-
Withdraw a given amount: the balance must be grater or equal to the amount to be withdrawn.
- withdraw(double) - Method in class bank.accounts.Savings
-
Withdrawals cannot be performed on savings accounts.
_
- _display - Variable in class pt.tecnico.uilib.menus.Command
-
This command's display.
- _receiver - Variable in class pt.tecnico.uilib.menus.Command
-
The entity providing the command's context.
- _valid - Variable in class pt.tecnico.uilib.menus.Command
-
The validity predicate: is the command available/visible?
- _value - Variable in class pt.tecnico.uilib.forms.Field
-
value to be read
All Classes|All Packages|Serialized Form