protected static class NfaGraphFormatter.Node extends Object
| Modifier and Type | Field and Description |
|---|---|
protected boolean |
alias |
protected List<NfaGraphFormatter.Node> |
children |
protected String |
name |
| Constructor and Description |
|---|
NfaGraphFormatter.Node(String name,
boolean alias) |
| Modifier and Type | Method and Description |
|---|---|
void |
draw(NfaGraphFormatter.Canvas canvas,
int line,
int column,
int width) |
protected void |
drawEdge(NfaGraphFormatter.Canvas canvas,
int fromLine,
int fromCol,
int fromWidth,
int toCol,
int toWidth) |
String |
getBranchLine() |
int |
getMinChildrenWidth() |
int |
getMinWidth() |
String |
getNameLine() |
protected int |
getNamePos(int column,
int width) |
int |
getTopAnchor() |
protected String |
ws(int count) |
protected String name
protected boolean alias
protected List<NfaGraphFormatter.Node> children
public NfaGraphFormatter.Node(String name, boolean alias)
public int getMinChildrenWidth()
public int getMinWidth()
public String getNameLine()
protected int getNamePos(int column,
int width)
protected void drawEdge(NfaGraphFormatter.Canvas canvas, int fromLine, int fromCol, int fromWidth, int toCol, int toWidth)
public void draw(NfaGraphFormatter.Canvas canvas, int line, int column, int width)
public String getBranchLine()
public int getTopAnchor()
protected String ws(int count)
Copyright © 2015. All Rights Reserved.