Home | News | Wiki | About StringTemplate | Feedback | Support | Bugs


Latest version is 3.2.
Download now! »

Download
» Home
» Download
» News
»Using StringTemplate
» Documentation
» Wiki
» Articles
» File Sharing
» Code API
» Tech Support
»About StringTemplate
» What is it?
» Showcase
» Testimonials
» Software License
» Changes
»Feedback
»Credits
»Contact


Support StringTemplate, ANTLR Project by making a donation! Terence often pays for things like the antlr.org server, conference travel, and this site design (that alone cost US$1000). Buy him a beer and pizza remotely ;)

Search



JTreeStringTemplateModel.ExprWrapper


org.antlr.stringtemplate.misc
Class JTreeStringTemplateModel.ExprWrapper

java.lang.Object
  extended byorg.antlr.stringtemplate.misc.JTreeStringTemplateModel.Wrapper
      extended byorg.antlr.stringtemplate.misc.JTreeStringTemplateModel.ExprWrapper
Enclosing class:
JTreeStringTemplateModel

static class JTreeStringTemplateModel.ExprWrapper
extends JTreeStringTemplateModel.Wrapper


Field Summary
(package private)  Expr expr
           
 
Constructor Summary
JTreeStringTemplateModel.ExprWrapper(java.lang.Object o)
           
 
Method Summary
 java.lang.Object getChild(java.lang.Object parent, int index)
           
 int getChildCount(java.lang.Object parent)
           
 Expr getExpr()
           
 int getIndexOfChild(java.lang.Object parent, java.lang.Object child)
           
 java.lang.Object getWrappedObject()
           
 boolean isLeaf(java.lang.Object node)
           
 java.lang.String toString()
          Display different things depending on the ASTExpr type
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Field Detail

expr

Expr expr
Constructor Detail

JTreeStringTemplateModel.ExprWrapper

public JTreeStringTemplateModel.ExprWrapper(java.lang.Object o)
Method Detail

getExpr

public Expr getExpr()

getWrappedObject

public java.lang.Object getWrappedObject()
Specified by:
getWrappedObject in class JTreeStringTemplateModel.Wrapper

getChild

public java.lang.Object getChild(java.lang.Object parent,
                                 int index)
Specified by:
getChild in class JTreeStringTemplateModel.Wrapper

getChildCount

public int getChildCount(java.lang.Object parent)
Specified by:
getChildCount in class JTreeStringTemplateModel.Wrapper

getIndexOfChild

public int getIndexOfChild(java.lang.Object parent,
                           java.lang.Object child)
Specified by:
getIndexOfChild in class JTreeStringTemplateModel.Wrapper

isLeaf

public boolean isLeaf(java.lang.Object node)
Overrides:
isLeaf in class JTreeStringTemplateModel.Wrapper

toString

public java.lang.String toString()
Display different things depending on the ASTExpr type