Class StringTemplateTreeView

All Implemented Interfaces:
ImageObserver, MenuContainer, Serializable, Accessible, RootPaneContainer, WindowConstants

public class StringTemplateTreeView extends JFrame
This class visually illustrates a StringTemplate instance including the chunks (text + expressions) and the attributes table. It correctly handles nested templates and so on. A prototype really, but may prove useful for debugging StringTemplate applications. Use it like this:
  StringTemplate st = ...;
  StringTemplateTreeView viz =
                new StringTemplateTreeView("sample",st);
  viz.setVisible(true);
 
See Also:
  • Constructor Details

  • Method Details

    • main

      public static void main(String[] args)