Package
Class
Tree
Deprecated
Index
Help
PREV NEXT
FRAMES
NO FRAMES
All Classes
All Classes
A
C
D
E
F
G
I
M
P
Q
R
S
T
U
A
AddressBook
- class
AddressBook
.
An object of this class maintains the collection of Person objects that constitute an address book
AddressBook()
- Constructor for class
AddressBook
Constructor - create a new, empty address book
AddressBookApplet
- class
AddressBookApplet
.
Applet version of address book application
AddressBookApplet()
- Constructor for class
AddressBookApplet
AddressBookApplication
- class
AddressBookApplication
.
Main class for the Address Book example
AddressBookApplication()
- Constructor for class
AddressBookApplication
AddressBookController
- class
AddressBookController
.
An object of this class performs operations on the address book in response to user gestures on the GUI
AddressBookController(FileSystem)
- Constructor for class
AddressBookController
Constructor
AddressBookGUI
- class
AddressBookGUI
.
An object of this class allows interaction between the program and the human user.
AddressBookGUI(AddressBookController, AddressBook)
- Constructor for class
AddressBookGUI
Constructor
addPerson(String, String, String, String, String, String, String)
- Method in class
AddressBook
Add a new Person to the collection
C
compare(Object, Object)
- Method in class
Person.CompareByName
Compare two objects (which must both be Persons) by last name, with ties broken by first name
compare(Object, Object)
- Method in class
Person.CompareByZip
Compare two objects (which must both be Persons) by zip
D
doAdd(AddressBookGUI)
- Method in class
AddressBookController
Do the Add a Person Use Case.
doDelete(AddressBookGUI, int)
- Method in class
AddressBookController
Do the Delete a Person use case
doEdit(AddressBookGUI, int)
- Method in class
AddressBookController
Do the Edit a Person use case
doNew(AddressBookGUI)
- Method in class
AddressBookController
Do the Create New Address Book Use Case
doOfferSaveChanges(AddressBookGUI)
- Method in class
AddressBookController
Do Offer to Save Changes extension.
doOpen(AddressBookGUI)
- Method in class
AddressBookController
Do the Open Existing Address Book Use Case
doPrint(AddressBookGUI)
- Method in class
AddressBookController
Do the Print Entries Use Case
doSave(AddressBookGUI)
- Method in class
AddressBookController
Do the Save Address Book Use Case.
doSaveAs(AddressBookGUI)
- Method in class
AddressBookController
Do the Save Address Book As use case
doSortByName(AddressBookGUI)
- Method in class
AddressBookController
Do the Sort Entries by Name Use Case
doSortByZip(AddressBookGUI)
- Method in class
AddressBookController
Do the Sort Entries by ZIP Use Case
E
equals(Object, Object)
- Method in class
Person.CompareByName
Compare two objects (which must both be Persons) by name
equals(Object, Object)
- Method in class
Person.CompareByZip
Compare two objects (which must both be Persons) by zip
F
FileSystem
- class
FileSystem
.
An object of this class manages interaction between the address book program and the file system of the computer it is running on.
FileSystem()
- Constructor for class
FileSystem
G
getAddress()
- Method in class
Person
Accessor for the person's address
getAddressBook()
- Method in class
AddressBookGUI
Accessor for the address book this GUI displays
getChangedSinceLastSave()
- Method in class
AddressBook
Find out whether this address book has been changed since last open / save
getCity()
- Method in class
Person
Accessor for the person's city
getFile()
- Method in class
AddressBook
Get the File this address book was most recently read from or saved to
getFirstName()
- Method in class
Person
Accessor for the person's first name
getFullNameOfPerson(int)
- Method in class
AddressBook
Provide the full name of a person
getLastName()
- Method in class
Person
Accessor for the person's last name
getOtherPersonInformation(int)
- Method in class
AddressBook
Provide the rest of the current information about a person
getPhone()
- Method in class
Person
Accessor for the person's phone
getState()
- Method in class
Person
Accessor for the person's state
getTitle()
- Method in class
AddressBook
Get the title of this address book - based on the most recently used file
getZip()
- Method in class
Person
Accessor for the person's zip
I
init()
- Method in class
AddressBookApplet
Initialization for the applet
M
MultiInputPane
- class
MultiInputPane
.
This is a utility class for displaying a dialog that asks for multiple values.
main(String[])
- Static method in class
AddressBookApplication
Main method for program
P
Person
- class
Person
.
An object of this class maintains information about a single individual in the address book
Person(String, String, String, String, String, String, String)
- Constructor for class
Person
Constructor
Person.CompareByName
- class
Person.CompareByName
.
Comparator for comparing two persons by alphabetical order of name
Person.CompareByName()
- Constructor for class
Person.CompareByName
Person.CompareByZip
- class
Person.CompareByZip
.
Comparator for comparing two persons by order of zip code
Person.CompareByZip()
- Constructor for class
Person.CompareByZip
printAll()
- Method in class
AddressBook
Print the collection of persons in order.
Q
quitApplication()
- Static method in class
AddressBookApplication
Terminate the application (unless cancelled by the user)
R
readFile(File)
- Method in class
FileSystem
Read a stored file
removePerson(int)
- Method in class
AddressBook
Remove a specific person from the collection
reportError(String)
- Method in class
AddressBookGUI
Report an error to the user
S
saveFile(AddressBook, File)
- Method in class
FileSystem
Save an address book to a file
setAddressBook(AddressBook)
- Method in class
AddressBookGUI
Mutator to change the address book this GUI displays
setChangedSinceLastSave(boolean)
- Method in class
AddressBook
Record a change in the saved status of this address book
setFile(File)
- Method in class
AddressBook
Set the File this address book was most recently read from or saved to
showMultiInputDialog(Component, String[], String[], String)
- Static method in class
MultiInputPane
Pop up a dialog asking for multiple items of input
showMultiInputDialog(Component, String[], String)
- Static method in class
MultiInputPane
Pop up a dialog asking for multiple items of input
showMultiInputDialog(Component, String[], String[])
- Static method in class
MultiInputPane
Pop up a dialog asking for multiple items of input
showMultiInputDialog(Component, String[])
- Static method in class
MultiInputPane
Pop up a dialog asking for multiple items of input
sortByName()
- Method in class
AddressBook
Sort the collection by name
sortByZip()
- Method in class
AddressBook
Sort the collection by ZIP
T
toString()
- Method in class
Person
Create a String representation for a person
U
update(String, String, String, String, String)
- Method in class
Person
Update the person with new information.
updatePerson(int, String, String, String, String, String)
- Method in class
AddressBook
Update stored information about a person
A
C
D
E
F
G
I
M
P
Q
R
S
T
U
Package
Class
Tree
Deprecated
Index
Help
PREV NEXT
FRAMES
NO FRAMES
All Classes
All Classes