Uses of Class
edu.pdx.cs410J.family.Person
Packages that use Person
Package
Description
The package contains a family tree application that uses many of
the classes that we discuss in CS410J.
-
Uses of Person in edu.pdx.cs410J.family
Methods in edu.pdx.cs410J.family that return PersonModifier and TypeMethodDescription(package private) static PersonReturns a Person representing my dad.Person.getFather()Returns this person's father.Marriage.getHusband()Returns the husband in this marriage.Person.getMother()Returns this person's mother.AddPersonDialog.getPerson()Returns thePersoncreated by thisAddPersonDialog.ChoosePersonDialog.getPerson()Returns the choosen personEditPersonDialog.getPerson()Returns thePersoncreated by thisEditPersonDialog.FamilyTree.getPerson(int id) Returns a person in this family tree with a given id.FamilyTreeList.getSelectedPerson()Returns the currently selected person.Marriage.getWife()Returns the wife in this marriage.(package private) static PersonPersonMain.me()Returns a Person representing me.(package private) static PersonReturns a Person representing my mom.PersonPanel.showFather()Displays and returns the current person's fatherPersonPanel.showMother()Displays the current person's motherMethods in edu.pdx.cs410J.family that return types with arguments of type PersonModifier and TypeMethodDescriptionFamilyTree.getPeople()Returns a collection ofPersons that are in this family tree.Methods in edu.pdx.cs410J.family with parameters of type PersonModifier and TypeMethodDescriptionvoidAdds a person to this family tree.intCompares twoPersons.(package private) static PersonReturns a Person representing my dad.(package private) static PersonReturns a Person representing my mom.voidSets this person's father.voidSets this person's mother.voidFamilyTreeList.setSelectedPerson(Person person) Sets the selected person.(package private) voidFamilyTreeGUI.showPerson(Person person) Sets thePersondisplayed in the GUI(package private) voidFamilyTreePanel.showPerson(Person person) Sets thePersondisplayed in the GUIvoidPersonPanel.showPerson(Person person) Displays information about aPersonin thisPersonPanel.Constructors in edu.pdx.cs410J.family with parameters of type PersonModifierConstructorDescriptionEditMarriageDialog(Person spouse, JFrame owner, FamilyTree tree) Creates a newEditMarriageDialogfor creating a new marriage involving one person.EditPersonDialog(Person person, JFrame owner, FamilyTree tree) Creates a newEditPersonDialogfor editing an existing Person.Creates a marriage between a husband and a wife.(package private)RemotePersonImpl(RemoteFamilyTree tree, Person person) Creates a newRemotePersonImplthat delegates most of its behavior to a givenPerson.