Class NfaGraphFormatter.Node

  • Enclosing class:
    NfaGraphFormatter

    protected static class NfaGraphFormatter.Node
    extends java.lang.Object
    • Field Detail

      • name

        protected java.lang.String name
      • alias

        protected boolean alias
    • Constructor Detail

      • Node

        public Node​(java.lang.String name,
                    boolean alias)
    • Method Detail

      • getMinChildrenWidth

        public int getMinChildrenWidth()
      • getMinWidth

        public int getMinWidth()
      • getNameLine

        public java.lang.String getNameLine()
      • getNamePos

        protected int getNamePos​(int column,
                                 int width)
      • drawEdge

        protected void drawEdge​(NfaGraphFormatter.Canvas canvas,
                                int fromLine,
                                int fromCol,
                                int fromWidth,
                                int toCol,
                                int toWidth)
      • getBranchLine

        public java.lang.String getBranchLine()
      • getTopAnchor

        public int getTopAnchor()
      • ws

        protected java.lang.String ws​(int count)