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

Class pmr.sgml.Clipboard

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

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

Constructor Index

 o Clipboard(SGMLTOC)
 o Clipboard(SGMLTOC, String)

Method Index

 o add(SGMLNode)
adds a parentless node with all of its subtree to DOCROOT
 o display()
displays the TreeContainer; override thsi
 o drawIcon(Component, Graphics, int, int)
this must be subclassed or the wrong static is accessed
 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);

Constructors

 o Clipboard
  public Clipboard(SGMLTOC toc)
 o Clipboard
  public Clipboard(SGMLTOC toc,
                   String title)

Methods

 o add
  public void add(SGMLNode n)
adds a parentless node with all of its subtree to DOCROOT
Overrides:
add in class TreeContainer
 o display
  public void display()
displays the TreeContainer; override thsi
Overrides:
display in class TreeContainer
 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);
Overrides:
getImportableNode in class TreeContainer
 o drawIcon
  public Int2Range drawIcon(Component comp,
                            Graphics g,
                            int x,
                            int y)
this must be subclassed or the wrong static is accessed
Overrides:
drawIcon in class TreeContainer

All Packages  Class Hierarchy  This Package  Previous  Next  Index