Public Member Functions | |
void | draw () |
int | getActiveTree () |
int | getTreeCount () |
void | setActiveTree (int index) |
void | setSyntaxTree (List< SyntaxTree > tree) |
void | setup () |
Package Attributes | |
int | activeTreeIndex = 0 |
PFont | font = null |
int | height_total = 100 |
int | leafCount = 0 |
int | maxdepth = 0 |
int | offset = 0 |
List< SyntaxTree > | tree = null |
Private Member Functions | |
void | drawNode (SyntaxTree node, int x, int y) |
void | drawTree (SyntaxTree root) |
int | drawTreeRecursive (SyntaxTree node, int depth) |
Static Private Attributes | |
static int | COLUMN_WIDTH = 50 |
static int | FONT_SIZE = 12 |
static int | NODE_SIZE = 40 |
static int | ROW_HEIGHT = 60 |
static final long | serialVersionUID = 8312785333436185487L |
Definition at line 10 of file SyntaxTreePanel.java.
void instruction.gui.tab.SyntaxTreePanel.draw | ( | ) | [inline] |
Definition at line 46 of file SyntaxTreePanel.java.
void instruction.gui.tab.SyntaxTreePanel.drawNode | ( | SyntaxTree | node, |
int | x, | ||
int | y | ||
) | [inline, private] |
Definition at line 112 of file SyntaxTreePanel.java.
void instruction.gui.tab.SyntaxTreePanel.drawTree | ( | SyntaxTree | root | ) | [inline, private] |
Definition at line 76 of file SyntaxTreePanel.java.
int instruction.gui.tab.SyntaxTreePanel.drawTreeRecursive | ( | SyntaxTree | node, |
int | depth | ||
) | [inline, private] |
Definition at line 84 of file SyntaxTreePanel.java.
int instruction.gui.tab.SyntaxTreePanel.getActiveTree | ( | ) | [inline] |
Definition at line 136 of file SyntaxTreePanel.java.
int instruction.gui.tab.SyntaxTreePanel.getTreeCount | ( | ) | [inline] |
Definition at line 140 of file SyntaxTreePanel.java.
void instruction.gui.tab.SyntaxTreePanel.setActiveTree | ( | int | index | ) | [inline] |
Definition at line 131 of file SyntaxTreePanel.java.
void instruction.gui.tab.SyntaxTreePanel.setSyntaxTree | ( | List< SyntaxTree > | tree | ) | [inline] |
Definition at line 29 of file SyntaxTreePanel.java.
void instruction.gui.tab.SyntaxTreePanel.setup | ( | ) | [inline] |
Definition at line 35 of file SyntaxTreePanel.java.
int instruction.gui.tab.SyntaxTreePanel.activeTreeIndex = 0 [package] |
Definition at line 25 of file SyntaxTreePanel.java.
int instruction.gui.tab.SyntaxTreePanel.COLUMN_WIDTH = 50 [static, private] |
Definition at line 14 of file SyntaxTreePanel.java.
PFont instruction.gui.tab.SyntaxTreePanel.font = null [package] |
Definition at line 18 of file SyntaxTreePanel.java.
int instruction.gui.tab.SyntaxTreePanel.FONT_SIZE = 12 [static, private] |
Definition at line 16 of file SyntaxTreePanel.java.
int instruction.gui.tab.SyntaxTreePanel.height_total = 100 [package] |
Definition at line 27 of file SyntaxTreePanel.java.
int instruction.gui.tab.SyntaxTreePanel.leafCount = 0 [package] |
Definition at line 21 of file SyntaxTreePanel.java.
int instruction.gui.tab.SyntaxTreePanel.maxdepth = 0 [package] |
Definition at line 23 of file SyntaxTreePanel.java.
int instruction.gui.tab.SyntaxTreePanel.NODE_SIZE = 40 [static, private] |
Definition at line 13 of file SyntaxTreePanel.java.
int instruction.gui.tab.SyntaxTreePanel.offset = 0 [package] |
Definition at line 22 of file SyntaxTreePanel.java.
int instruction.gui.tab.SyntaxTreePanel.ROW_HEIGHT = 60 [static, private] |
Definition at line 15 of file SyntaxTreePanel.java.
final long instruction.gui.tab.SyntaxTreePanel.serialVersionUID = 8312785333436185487L [static, private] |
Definition at line 12 of file SyntaxTreePanel.java.
List<SyntaxTree> instruction.gui.tab.SyntaxTreePanel.tree = null [package] |
Definition at line 20 of file SyntaxTreePanel.java.