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

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

    • Sandclock

      public Sandclock()
  • Method Details

    • setIndent

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

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

      public Sandclock addNode(GraphElement element)
    • validate

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