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

public class Child extends ch.stegmaier.java2tex.core.GenericCommand<Child> implements GraphElement
A child subgraph is a family where the g node acts as a parent. This family may have arbitrary child and parent leaves. Also, this family may have arbitrary child and union 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

    • Child

      public Child()
  • Method Details

    • setIndent

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

      public Child addNode(GraphElement element)
    • validate

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

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