A C D F G I M P R S U

A

addPerson(String, String, String, String, String, String, String) - Method in class addressbook.AddressBook
Add a new Person to the collection
addressbook - package addressbook
 
AddressBook - Class in addressbook
An object of this class maintains the collection of Person objects that constitute an address book
AddressBook() - Constructor for class addressbook.AddressBook
Constructor - create a new, empty address book
AddressBookApplet - Class in addressbook
Applet version of address book application
AddressBookApplet() - Constructor for class addressbook.AddressBookApplet
 
AddressBookApplication - Class in addressbook
Main class for the Address Book example
AddressBookController - Class in addressbook
An object of this class performs operations on the address book in response to user gestures on the GUI
AddressBookController(FileSystem) - Constructor for class addressbook.AddressBookController
Constructor
AddressBookGUI - Class in addressbook
An object of this class allows interaction between the program and the human user.
AddressBookGUI(AddressBookController) - Constructor for class addressbook.AddressBookGUI
Constructor

C

compare(Person, Person) - Method in class addressbook.Person.CompareByName
Compare two Persons by name
compare(Person, Person) - Method in class addressbook.Person.CompareByZip
Compare two Persons by zip, with ties broken by name
contains(String) - Method in class addressbook.Person
Test to see whether this person contains a search criterion

D

doAdd() - Method in class addressbook.AddressBookController
Do the Add a Person Use Case.
doDelete(String) - Method in class addressbook.AddressBookController
Do the Delete a Person use case
doEdit(String) - Method in class addressbook.AddressBookController
Do the Edit a Person use case
doFind(int) - Method in class addressbook.AddressBookController
Do the Find Use Case
doFindAgain() - Method in class addressbook.AddressBookController
Do the Find Again UseCase
doNew() - Method in class addressbook.AddressBookController
Do the Create New Address Book Use Case
doOpen() - Method in class addressbook.AddressBookController
Do the Open Existing Address Book Use Case
doPrintMailingLabels() - Method in class addressbook.AddressBookController
Do the Print Mailing Labels Use Case
doQuit() - Method in class addressbook.AddressBookController
Do the Quit Program Use Case.
doSave() - Method in class addressbook.AddressBookController
Do the Save Address Book Use Case
doSaveAs() - Method in class addressbook.AddressBookController
Do the Save Address Book As use case
doSortByName() - Method in class addressbook.AddressBookController
Do the Sort Entries by Name Use Case
doSortByZip() - Method in class addressbook.AddressBookController
Do the Sort Entries by ZIP Use Case

F

FileSystem - Class in addressbook
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 addressbook.FileSystem
 

G

getAddress() - Method in class addressbook.Person
Accessor for the person's address
getAddressBook() - Method in class addressbook.AddressBookGUI
Accessor for the address book this GUI displays
getChangedSinceSaved() - Method in class addressbook.AddressBook
Find out whether this address book has been changed since last open / save
getCity() - Method in class addressbook.Person
Accessor for the person's city
getDefaultDirectory() - Method in class addressbook.FileSystem
Get the default directory for open/save/print
getFile() - Method in class addressbook.AddressBook
Get the File this address book was most recently read from or saved to
getFullName() - Method in class addressbook.Person
Get the full name of a person in the form last, first
getNames() - Method in class addressbook.AddressBook
Provide a list of the the names of all the persons in the collection
getPersonInformation(String) - Method in class addressbook.AddressBook
Provide current information about a person
getPhone() - Method in class addressbook.Person
Accessor for the person's phone
getState() - Method in class addressbook.Person
Accessor for the person's state
getTitle() - Method in class addressbook.AddressBook
Get the title of this address book - based on the most recently used file
getZip() - Method in class addressbook.Person
Accessor for the person's zip

I

init() - Method in class addressbook.AddressBookApplet
Initialization for the applet

M

main(String[]) - Static method in class addressbook.AddressBookApplication
Main method for program
MultiInputPane - Class in addressbook
This is a utility class for displaying a dialog that asks for multiple values.

P

Person - Class in addressbook
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 addressbook.Person
Constructor - attributes specified individually
Person.CompareByName - Class in addressbook
Comparator for comparing two persons by alphabetical order of name
Person.CompareByName() - Constructor for class addressbook.Person.CompareByName
 
Person.CompareByZip - Class in addressbook
Comparator for comparing two persons by order of zip code, with ties broken by name
Person.CompareByZip() - Constructor for class addressbook.Person.CompareByZip
 
printMailingLabels(PrintWriter) - Method in class addressbook.AddressBook
Print the collection of persons in order.

R

readFile(File) - Method in class addressbook.FileSystem
Read a stored file
removePerson(String) - Method in class addressbook.AddressBook
Remove a specific person from the collection
reportError(String) - Method in class addressbook.AddressBookGUI
Report an error to the user

S

saveFile(AddressBook, File) - Method in class addressbook.FileSystem
Save an address book to a file
search(String, int) - Method in class addressbook.AddressBook
Search the collection for a person matching given criteria
searchFound(int) - Method in class addressbook.AddressBookGUI
Report the results of a search
setAddressBook(AddressBook) - Method in class addressbook.AddressBookGUI
Mutator to change the address book this GUI displays
setFile(File) - Method in class addressbook.AddressBook
Set the File this address book was most recently read from or saved to
setUnchangedSinceLastSave() - Method in class addressbook.AddressBook
Record that an open/save operation has taken place, rendering this address book unchanged since the last such operation
showMultiInputDialog(Component, String[], String[], String) - Static method in class addressbook.MultiInputPane
Pop up a dialog asking for multiple items of input
showMultiInputDialog(Component, String[], String) - Static method in class addressbook.MultiInputPane
Pop up a dialog asking for multiple items of input
showMultiInputDialog(Component, String[], String[]) - Static method in class addressbook.MultiInputPane
Pop up a dialog asking for multiple items of input
showMultiInputDialog(Component, String[]) - Static method in class addressbook.MultiInputPane
Pop up a dialog asking for multiple items of input
sortByName() - Method in class addressbook.AddressBook
Sort the collection by name
sortByZip() - Method in class addressbook.AddressBook
Sort the collection by ZIP

U

update(Observable, Object) - Method in class addressbook.AddressBookGUI
Method required by the Observer interface - update the display in response to any change in the address book
update(String, String, String, String, String) - Method in class addressbook.Person
Update the person with new information.
updatePerson(String, String, String, String, String, String) - Method in class addressbook.AddressBook
Update stored information about a person

A C D F G I M P R S U