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
-
full
-
-
highlight
-
-
title
-
-
toc
-
-
TreeContainer(SGMLTOC, String)
-
-
add(SGMLNode)
- adds a parentless node with all of its subtree to DOCROOT
-
add(SGMLTree)
-
-
display()
- displays the TreeContainer; override thsi
-
drawIcon(Component, Graphics, int, int)
- this must be subclassed or the wrong static is accessed
-
drawIcon1(Component, Graphics, int, int, Image, Image)
-
-
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);
-
getTOC()
-
-
setHighlight(boolean)
-
-
setTitle(String)
-
-
size()
-
highlight
protected boolean highlight
full
protected boolean full
toc
protected SGMLTOC toc
title
protected String title
TreeContainer
public TreeContainer(SGMLTOC toc,
String title)
add
public void add(SGMLNode n)
- adds a parentless node with all of its subtree to DOCROOT
add
public void add(SGMLTree tree)
getTOC
public SGMLTOC getTOC()
size
public int size()
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);
setHighlight
public void setHighlight(boolean b)
setTitle
public void setTitle(String title)
display
public void display()
- displays the TreeContainer; override thsi
drawIcon
public Int2Range drawIcon(Component comp,
Graphics g,
int x,
int y)
- this must be subclassed or the wrong static is accessed
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