java.lang.Object
ch.stegmaier.java2tex.core.BaseCommand<X>
ch.stegmaier.java2tex.core.GenericCommand<Parent>
ch.stegmaier.java2tex.genealogytree.impl.graphgrammar.Parent
All Implemented Interfaces:
GraphElement

public class Parent extends ch.stegmaier.java2tex.core.GenericCommand<Parent> implements GraphElement
A parent subgraph is a family where the g node acts as a child. This family may have arbitrary child and parent leaves. Also, this family may have arbitrary parent subgraphs.
  • Constructor Summary

    Constructors
    Constructor
    Description
     
  • Method Summary

    Modifier and Type
    Method
    Description
     
     
    void
    setIndent(int indent)
     
    void
     

    Methods inherited from class ch.stegmaier.java2tex.core.GenericCommand

    append, append, append, append, appendNewLine, argument, argument, argument, argument, arguments, autoNewline, buildMandatory, buildName, buildOptional, clear, emptyArgs, getConfigValue, getConfigValue, getContent, noFormat, noPrefix, option, option, option, star, toString

    Methods inherited from class ch.stegmaier.java2tex.core.BaseCommand

    getCommand, getThis

    Methods inherited from class java.lang.Object

    clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
  • Constructor Details

    • Parent

      public Parent()
  • Method Details

    • setIndent

      public void setIndent(int indent)
      Specified by:
      setIndent in interface GraphElement
    • addNode

      public Parent addNode(GraphElement element)
    • validate

      public void validate()
      Overrides:
      validate in class ch.stegmaier.java2tex.core.GenericCommand<Parent>
    • option

      public ParentOptions option()
      Overrides:
      option in class ch.stegmaier.java2tex.core.GenericCommand<Parent>