Class pmr.cml.BIBNode
All Packages  Class Hierarchy  This Package  Previous  Next  Index

Class pmr.cml.BIBNode

java.lang.Object
   |
   +----pmr.sgml.SGMLNode
           |
           +----pmr.sgml.DrawableSGMLNode
                   |
                   +----pmr.cml.DrawableX_Node
                           |
                           +----pmr.cml.BIBNode

public class BIBNode
extends DrawableX_Node
a bibliography - not yet completed

Constructor Index

 o BIBNode(String, SGMLTree)

Method Index

 o addAuthor(PERSONNode)
 o addChild(int)
checks that parent knows about children
 o addJournal(String)
the following add x a content subelement; they fail without message if already present
 o addPages(String)
Pages is a String at present until I get fuzzy working
 o addVolume(String)
 o addYear(String)
 o createAndAdd(SGMLTree, int, String)
 o debug()
for debug
 o display(Graphics)
used by the ScrollableTopLevel to paint the object, or can be used to draw the object to somewhere else.
 o drawBib(Graphics)
 o drawIcon(Graphics, int, int)
draw a CML icon
 o getAuthors()
returns the authors as a Vector of PERSONNodes
 o getJournal()
 o getPagesString()
 o getVolumeNumber()
 o getVolumeString()
 o getYearNumber()
 o getYearString()
 o mayContain(SGMLNode)
can this node contain others.
 o process()
complex objects may require processing; override this.
 o showHelp()
display Help

Constructors

 o BIBNode
  public BIBNode(String giName,
                 SGMLTree tree)

Methods

 o createAndAdd
  public static int createAndAdd(SGMLTree tree,
                                 int parentIndex,
                                 String title)
 o addChild
  public void addChild(int childIndex)
checks that parent knows about children
Overrides:
addChild in class SGMLNode
 o addAuthor
  public void addAuthor(PERSONNode author)
 o addJournal
  public void addJournal(String name)
the following add x a content subelement; they fail without message if already present
 o getJournal
  public String getJournal()
 o addVolume
  public void addVolume(String name)
 o getVolumeString
  public String getVolumeString()
 o getVolumeNumber
  public int getVolumeNumber()
 o addPages
  public void addPages(String name)
Pages is a String at present until I get fuzzy working
 o getPagesString
  public String getPagesString()
 o addYear
  public void addYear(String name)
 o getYearString
  public String getYearString()
 o getYearNumber
  public int getYearNumber()
 o getAuthors
  public Vector getAuthors()
returns the authors as a Vector of PERSONNodes
 o showHelp
  public void showHelp()
display Help
Overrides:
showHelp in class DrawableX_Node
 o mayContain
  public boolean mayContain(SGMLNode n)
can this node contain others.
Overrides:
mayContain in class DrawableX_Node
 o process
  public void process()
complex objects may require processing; override this.
Overrides:
process in class DrawableSGMLNode
 o display
  public void display(Graphics g)
used by the ScrollableTopLevel to paint the object, or can be used to draw the object to somewhere else.
Overrides:
display in class DrawableX_Node
 o debug
  public void debug()
for debug
Overrides:
debug in class DrawableX_Node
 o drawBib
  public void drawBib(Graphics g)
 o drawIcon
  public int drawIcon(Graphics g,
                      int x,
                      int y)
draw a CML icon
Overrides:
drawIcon in class DrawableX_Node

All Packages  Class Hierarchy  This Package  Previous  Next  Index