Class pmr.sgml.HTMLNode
All Packages Class Hierarchy This Package Previous Next Index
Class pmr.sgml.HTMLNode
java.lang.Object
|
+----pmr.sgml.SGMLNode
|
+----pmr.sgml.HTMLNode
- public class HTMLNode
- extends SGMLNode
-
HTMLNode()
-
-
HTMLNode(String, SGMLTree)
-
-
display(Graphics)
- a very simplistic display which displays the untagged event stream including
children content
-
drawIcon(Graphics, int, int)
- draws an icon based on the GI - crude at present!! Overridden by
subclasses.
-
getColor()
- color of SGMLNode text - overridden by subclasses?
-
getTitle()
- makes a suitable title for the node in following priority:
- content SGMLNode (any SGMLNode contained by this node and so defined by user
- TITLE attribute
- NAME attribute
- GI
-
process()
- dummy - to be implemented by subClasses
HTMLNode
public HTMLNode()
HTMLNode
public HTMLNode(String giName,
SGMLTree tree)
process
public void process()
- dummy - to be implemented by subClasses
- Overrides:
- process in class SGMLNode
getTitle
public String getTitle()
- makes a suitable title for the node in following priority:
- content SGMLNode (any SGMLNode contained by this node and so defined by user
- TITLE attribute
- NAME attribute
- GI
- Overrides:
- getTitle in class SGMLNode
display
public void display(Graphics g)
- a very simplistic display which displays the untagged event stream including
children content
- Overrides:
- display in class SGMLNode
getColor
public Color getColor()
- color of SGMLNode text - overridden by subclasses?
- Overrides:
- getColor in class SGMLNode
drawIcon
public int drawIcon(Graphics g,
int x,
int y)
- draws an icon based on the GI - crude at present!! Overridden by
subclasses.
- Overrides:
- drawIcon in class SGMLNode
All Packages Class Hierarchy This Package Previous Next Index