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

public class Union extends ch.stegmaier.java2tex.core.GenericCommand<Union> implements GraphElement
A union subgraph is a family without a g node. The g node (parent) is inherited from an embedding child family. A union family may have arbitrary child and parent leaves. Also, this family may have arbitrary child 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

    • Union

      public Union()
  • Method Details

    • setIndent

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

      public UnionOptions option()
      Overrides:
      option in class ch.stegmaier.java2tex.core.GenericCommand<Union>
    • addNode

      public Union addNode(GraphElement element)
    • validate

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