Uses of Class
edu.pdx.cs410J.family.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
Modifier and TypeMethodDescription(package private) static Person
Returns 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 thePerson
created by thisAddPersonDialog
.ChoosePersonDialog.getPerson()
Returns the choosen personEditPersonDialog.getPerson()
Returns thePerson
created 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 Person
PersonMain.me()
Returns a Person representing me.(package private) static Person
Returns a Person representing my mom.PersonPanel.showFather()
Displays and returns the current person's fatherPersonPanel.showMother()
Displays the current person's motherModifier and TypeMethodDescriptionFamilyTree.getPeople()
Returns a collection ofPerson
s that are in this family tree.Modifier and TypeMethodDescriptionvoid
Adds a person to this family tree.int
Compares twoPerson
s.(package private) static Person
Returns a Person representing my dad.(package private) static Person
Returns a Person representing my mom.void
Sets this person's father.void
Sets this person's mother.void
FamilyTreeList.setSelectedPerson
(Person person) Sets the selected person.(package private) void
FamilyTreeGUI.showPerson
(Person person) Sets thePerson
displayed in the GUI(package private) void
FamilyTreePanel.showPerson
(Person person) Sets thePerson
displayed in the GUIvoid
PersonPanel.showPerson
(Person person) Displays information about aPerson
in thisPersonPanel
.ModifierConstructorDescriptionEditMarriageDialog
(Person spouse, JFrame owner, FamilyTree tree) Creates a newEditMarriageDialog
for creating a new marriage involving one person.EditPersonDialog
(Person person, JFrame owner, FamilyTree tree) Creates a newEditPersonDialog
for editing an existing Person.Creates a marriage between a husband and a wife.(package private)
RemotePersonImpl
(RemoteFamilyTree tree, Person person) Creates a newRemotePersonImpl
that delegates most of its behavior to a givenPerson
.