Class FWXmlTree

All Implemented Interfaces:
ImageObserver, MenuContainer, Serializable, Accessible, Scrollable

public class FWXmlTree extends JTree
Description: The XTree class is an extension of the javax.swing.JTree class. It behaves in every way like a JTree component, the difference is that additional methods have been provided to facilitate the parsing of an XML document into a DOM object and translating that DOM object into a viewable JTree structure. Copyright (c) March 2001 Kyle Gabhart
Version:
1.0
Author:
Kyle Gabhart
See Also:
  • Constructor Details

    • FWXmlTree

      public FWXmlTree(String aText) throws ParserConfigurationException
      This single constructor builds an XTree object using the XML text passed in through the constructor.
      Parameters:
      text - A String of XML formatted text
      Throws:
      ParserConfigurationException - This exception is potentially thrown if the constructor configures the parser improperly. It won't.
  • Method Details

    • getText

      public String getText()
    • setText

      public void setText(String string)