Uses of Class
edu.pdx.cs410J.family.FamilyTree
Packages that use 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
Fields in edu.pdx.cs410J.family declared as FamilyTreeMethods in edu.pdx.cs410J.family that return FamilyTreeModifier and TypeMethodDescription(package private) FamilyTreeFamilyTreePanel.getFamilyTree()Returns theFamilyTreebeing 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 FamilyTreeFamilyTreePanel.parseSource(URL url) Parses aURLand tries to extract a family tree in XML format from it.Methods in edu.pdx.cs410J.family with parameters of type FamilyTreeModifier and TypeMethodDescriptionvoidDumper.dump(FamilyTree tree) Dumps a family tree to some destination.voidPrettyPrinter.dump(FamilyTree tree) Prints the contents of the given family tree in a human-readable format.voidTextDumper.dump(FamilyTree tree) Dumps the contents of a family tree to the desired desitination.voidXmlDumper.dump(FamilyTree tree) Dumps the contents of a family tree to the desired destination.voidFamilyTreeList.fillInList(FamilyTree tree) Fills in theJListwith the contents of aFamilyTree.(package private) voidPerson.patchUp(FamilyTree tree) "Patches up" a person's mother and fatherPersonobjects.Constructors in edu.pdx.cs410J.family with parameters of type FamilyTreeModifierConstructorDescriptionAddPersonDialog(JFrame owner, FamilyTree tree) Creates a newAddPersonDialogwith a given ownerJFrameandFamilyTree.ChoosePersonDialog(FamilyTree tree, JDialog owner) Creates a newChoosePersonDialogthat displays the people in a givenFamilyTree.EditMarriageDialog(Marriage marriage, JFrame owner, FamilyTree tree) Creates a newEditMarriageDialogfor editing an existing marriage.EditMarriageDialog(Person spouse, JFrame owner, FamilyTree tree) Creates a newEditMarriageDialogfor creating a new marriage involving one person.EditMarriageDialog(JFrame owner, FamilyTree tree) Creates a newEditMarriageFieldfor adding a newMarriageto a family tree.EditPersonDialog(Person person, JFrame owner, FamilyTree tree) Creates a newEditPersonDialogfor editing an existing Person.EditPersonDialog(JFrame owner, FamilyTree tree) Creates a newEditPersonDialogfor adding a newPersonto a family tree.