biz.hammurapi.antlr
Class AstVisualizable

java.lang.Object
  extended by biz.hammurapi.swing.LazyTreeNode
      extended by biz.hammurapi.antlr.AstVisualizable
All Implemented Interfaces:
TableVisualizable, Visitable, javax.swing.tree.TreeNode

public class AstVisualizable
extends LazyTreeNode
implements TableVisualizable


Field Summary
 
Fields inherited from class biz.hammurapi.swing.LazyTreeNode
description, EMPTY_LIST, name, parent
 
Constructor Summary
AstVisualizable(javax.swing.tree.TreeNode parent, antlr.collections.AST ast, java.lang.String[] names, boolean withSiblings)
           
 
Method Summary
protected  java.util.List loadChildren()
          Loads node children.
 javax.swing.table.TableModel toTable()
           
 
Methods inherited from class biz.hammurapi.swing.LazyTreeNode
accept, children, getAllowsChildren, getChildAt, getChildCount, getChildren, getDescription, getIndex, getParent, isLeaf, isSelectable, toString
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Constructor Detail

AstVisualizable

public AstVisualizable(javax.swing.tree.TreeNode parent,
                       antlr.collections.AST ast,
                       java.lang.String[] names,
                       boolean withSiblings)
Method Detail

loadChildren

protected java.util.List loadChildren()
Description copied from class: LazyTreeNode
Loads node children.

Specified by:
loadChildren in class LazyTreeNode
Returns:

toTable

public javax.swing.table.TableModel toTable()
Specified by:
toTable in interface TableVisualizable


Copyright © 2003 Hammurapi Group. All Rights Reserved.