Class pmr.cml.ADMINNode
All Packages Class Hierarchy This Package Previous Next Index
Class pmr.cml.ADMINNode
java.lang.Object
|
+----pmr.sgml.SGMLNode
|
+----pmr.sgml.DrawableSGMLNode
|
+----pmr.cml.DrawableX_Node
|
+----pmr.cml.ADMINNode
- public class ADMINNode
- extends DrawableX_Node
a person - not yet completed
- Author:
- (C) P. Murray-Rust, 1996
-
ADMINNode(String, SGMLTree)
-
-
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.
-
drawIcon(Graphics, int, int)
- draw a CML icon
-
getTitle()
- get title from TITLE, DICTNAME, BUILTIN if present, else TITLE
-
mayContain(SGMLNode)
- can this node contain others.
-
process()
- complex objects may require processing; override this.
-
showHelp()
- display Help
ADMINNode
public ADMINNode(String giName,
SGMLTree tree)
createAndAdd
public static int createAndAdd(SGMLTree tree,
int parentIndex,
String title)
getTitle
public String getTitle()
- get title from TITLE, DICTNAME, BUILTIN if present, else TITLE
- Overrides:
- getTitle in class DrawableX_Node
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
drawIcon
public int drawIcon(Graphics g,
int x,
int y)
- draw a CML icon
- Overrides:
- drawIcon in class DrawableX_Node
debug
public void debug()
- for debug
- Overrides:
- debug in class DrawableX_Node
All Packages Class Hierarchy This Package Previous Next Index