Class pmr.sgml.TreeContainer
All Packages  Class Hierarchy  This Package  Previous  Next  Index

Class pmr.sgml.TreeContainer

java.lang.Object
   |
   +----pmr.sgml.TreeContainer

public class TreeContainer
extends Object
a temporary container for one or more Trees

Variable Index

 o full
 o highlight
 o title
 o toc

Constructor Index

 o TreeContainer(SGMLTOC, String)

Method Index

 o add(SGMLNode)
adds a parentless node with all of its subtree to DOCROOT
 o add(SGMLTree)
 o display()
displays the TreeContainer; override thsi
 o drawIcon(Component, Graphics, int, int)
this must be subclassed or the wrong static is accessed
 o drawIcon1(Component, Graphics, int, int, Image, Image)
 o getImportableNode()
gets the top of the (sub)tree if any to be extracted from the TreeContainer almost certainly subclassed; default is top of first tree (node[0] (or node[1] if there is a DOCROOT);
 o getTOC()
 o setHighlight(boolean)
 o setTitle(String)
 o size()

Variables

 o highlight
  protected boolean highlight
 o full
  protected boolean full
 o toc
  protected SGMLTOC toc
 o title
  protected String title

Constructors

 o TreeContainer
  public TreeContainer(SGMLTOC toc,
                       String title)

Methods

 o add
  public void add(SGMLNode n)
adds a parentless node with all of its subtree to DOCROOT
 o add
  public void add(SGMLTree tree)
 o getTOC
  public SGMLTOC getTOC()
 o size
  public int size()
 o getImportableNode
  public SGMLNode getImportableNode()
gets the top of the (sub)tree if any to be extracted from the TreeContainer almost certainly subclassed; default is top of first tree (node[0] (or node[1] if there is a DOCROOT);
 o setHighlight
  public void setHighlight(boolean b)
 o setTitle
  public void setTitle(String title)
 o display
  public void display()
displays the TreeContainer; override thsi
 o drawIcon
  public Int2Range drawIcon(Component comp,
                            Graphics g,
                            int x,
                            int y)
this must be subclassed or the wrong static is accessed
 o drawIcon1
  protected Int2Range drawIcon1(Component comp,
                                Graphics g,
                                int x,
                                int y,
                                Image f,
                                Image e)

All Packages  Class Hierarchy  This Package  Previous  Next  Index