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

public class Node extends ch.stegmaier.java2tex.core.GenericCommand<Node> implements GraphElement
  • Nested Class Summary

    Nested Classes
    Modifier and Type
    Class
    Description
    static enum 
     
  • Constructor Summary

    Constructors
    Constructor
    Description
    Node(Node.NodeType nodeType)
     
  • Method Summary

    Modifier and Type
    Method
    Description
    add(DataKey dataKey)
    add a datakey to the node, the datakeys will be sorted by key before adding as argument null datakey will be ignored
     
     
    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

  • Method Details

    • setIndent

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

      public Node.NodeType getNodeType()
    • option

      public NodeOptions option()
      Overrides:
      option in class ch.stegmaier.java2tex.core.GenericCommand<Node>
    • add

      public Node add(DataKey dataKey)
      add a datakey to the node, the datakeys will be sorted by key before adding as argument null datakey will be ignored
      See Also:
    • validate

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