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