Uses of Class
edu.pdx.cs410J.family.FamilyTree
Package
Description
The package contains a family tree application that uses many of
the classes that we discuss in CS410J.
-
Uses of FamilyTree in edu.pdx.cs410J.family
Modifier and TypeMethodDescription(package private) FamilyTree
FamilyTreePanel.getFamilyTree()
Returns theFamilyTree
being edited.Parser.parse()
Creates a family tree from the data stored in a source.TextParser.parse()
Parses the specified input source and from it creates a family tree.XmlParser.parse()
Parses the specified input source in XML format and from it creates a family tree.protected FamilyTree
FamilyTreePanel.parseSource
(URL url) Parses aURL
and tries to extract a family tree in XML format from it.Modifier and TypeMethodDescriptionvoid
Dumper.dump
(FamilyTree tree) Dumps a family tree to some destination.void
PrettyPrinter.dump
(FamilyTree tree) Prints the contents of the given family tree in a human-readable format.void
TextDumper.dump
(FamilyTree tree) Dumps the contents of a family tree to the desired desitination.void
XmlDumper.dump
(FamilyTree tree) Dumps the contents of a family tree to the desired destination.void
FamilyTreeList.fillInList
(FamilyTree tree) Fills in theJList
with the contents of aFamilyTree
.(package private) void
Person.patchUp
(FamilyTree tree) "Patches up" a person's mother and fatherPerson
objects.ModifierConstructorDescriptionAddPersonDialog
(JFrame owner, FamilyTree tree) Creates a newAddPersonDialog
with a given ownerJFrame
andFamilyTree
.ChoosePersonDialog
(FamilyTree tree, JDialog owner) Creates a newChoosePersonDialog
that displays the people in a givenFamilyTree
.EditMarriageDialog
(Marriage marriage, JFrame owner, FamilyTree tree) Creates a newEditMarriageDialog
for editing an existing marriage.EditMarriageDialog
(Person spouse, JFrame owner, FamilyTree tree) Creates a newEditMarriageDialog
for creating a new marriage involving one person.EditMarriageDialog
(JFrame owner, FamilyTree tree) Creates a newEditMarriageField
for adding a newMarriage
to a family tree.EditPersonDialog
(Person person, JFrame owner, FamilyTree tree) Creates a newEditPersonDialog
for editing an existing Person.EditPersonDialog
(JFrame owner, FamilyTree tree) Creates a newEditPersonDialog
for adding a newPerson
to a family tree.