All Classes Namespaces Files Functions Variables Typedefs Enumerations Properties Friends
Public Member Functions | Package Attributes | Private Member Functions | Static Private Attributes
instruction.gui.tab.SyntaxTreePanel Class Reference
Inheritance diagram for instruction.gui.tab.SyntaxTreePanel:
Inheritance graph
[legend]

List of all members.

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< SyntaxTreetree = 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

Detailed Description

Definition at line 10 of file SyntaxTreePanel.java.


Member Function Documentation

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.

Definition at line 136 of file SyntaxTreePanel.java.

Definition at line 140 of file SyntaxTreePanel.java.

Definition at line 131 of file SyntaxTreePanel.java.

Definition at line 29 of file SyntaxTreePanel.java.

Definition at line 35 of file SyntaxTreePanel.java.


Member Data Documentation

Definition at line 25 of file SyntaxTreePanel.java.

Definition at line 14 of file SyntaxTreePanel.java.

Definition at line 18 of file SyntaxTreePanel.java.

Definition at line 16 of file SyntaxTreePanel.java.

Definition at line 27 of file SyntaxTreePanel.java.

Definition at line 21 of file SyntaxTreePanel.java.

Definition at line 23 of file SyntaxTreePanel.java.

Definition at line 13 of file SyntaxTreePanel.java.

Definition at line 22 of file SyntaxTreePanel.java.

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.

Definition at line 20 of file SyntaxTreePanel.java.


The documentation for this class was generated from the following file:
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Properties Friends


comp_ehow
Author(s): Moritz Tenorth, Daniel Nyga
autogenerated on Tue Apr 16 2013 00:18:24