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

Class pmr.sgml.TrashCan

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

public class TrashCan
extends TreeContainer
a place to which Trees can be dragged for disposal. One tree is kept so that the last Tree can be restored in case of error

Constructor Index

 o TrashCan(SGMLTOC)
 o TrashCan(SGMLTOC, String)

Method Index

 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()
may not import from the TrashCan (always returns null)

Constructors

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

Methods

 o getImportableNode
  public SGMLNode getImportableNode()
may not import from the TrashCan (always returns null)
Overrides:
getImportableNode in class TreeContainer
 o display
  public void display()
displays the TreeContainer; override thsi
Overrides:
display 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