A B C D E F G H I J L M N P R S T U W X

A

Application - class Ulm.XML.GUI.Application.
Demonstration application how to use XML_view.
Application() - Constructor for class Ulm.XML.GUI.Application
Construct the application
Attempt - class Ulm.XML.Render.Attempt.
Attempt to get a special component for presenting this.
Attempt() - Constructor for class Ulm.XML.Render.Attempt
 
ATTR - Static variable in class Ulm.XML.GUI.XMLRenderer
Attribute
Author - class Ulm.XML.Render.Author.
Example of the simple renderer to render the "Author" structure in NCBI XML documents.
Author() - Constructor for class Ulm.XML.Render.Author
 

B

blue - Variable in class Ulm.XML.GUI.xnode
Node additional info, will be displayed in blue.

C

cdir(Node, String) - Method in class Ulm.XML.Render.Renderer
 
color - Static variable in class Ulm.XML.Render.Author
The color of the text, set to dark green.
COMMENT - Static variable in class Ulm.XML.GUI.XMLRenderer
Comment
component - Variable in class Ulm.XML.GUI.xnode
The whole different JComponent to display, if one is set.
countChilds(Node) - Static method in class Ulm.XML.GUI.xnode
Count childs, not counting text nodes and attributes.

D

diType - Variable in class Ulm.XML.GUI.xnode
Icon number, numbers are defined in XMLRenderer static int fields.

E

Expand(DefaultMutableTreeNode) - Method in class Ulm.XML.GUI.XML_view
Expand this node and all its children.

F

Frame - class Ulm.XML.GUI.Frame.
Frame for the demonstration application how to use XML_view.
Frame() - Constructor for class Ulm.XML.GUI.Frame
Construct the frame

G

getComponent(Node) - Method in class Ulm.XML.Render.Renderer
Return the Component that can be displayed as an iformation for this node.
getComponent(Node) - Method in class Ulm.XML.Render.Author
Returns JLabel, containing authors last name and initials.
getFullPath() - Method in class Ulm.XML.GUI.xnode
Compute the full path from the root to this node.
getHeight() - Method in class Ulm.XML.Render.Renderer
Get the available height of the row:
getNodeName() - Method in class Ulm.XML.Render.Renderer
Return the name of the top node of the structure that is possible to render.
getNodeName() - Method in class Ulm.XML.Render.Author
returns "Author", the heading tag for the NCBI Author structure
getTree() - Method in class Ulm.XML.GUI.XML_view
Get the XML currently being displayed
getTreeCellRendererComponent(JTree, Object, boolean, boolean, boolean, int, boolean) - Method in class Ulm.XML.GUI.XMLRenderer
 

H

header - Variable in class Ulm.XML.GUI.xnode
Node header
height - Static variable in class Ulm.XML.Render.Renderer
Get the available height of the row:
hhh - Static variable in class Ulm.XML.GUI.XMLRenderer
 

I

isAutoExpand() - Method in class Ulm.XML.GUI.XML_view
 
isPathVisible() - Method in class Ulm.XML.GUI.XML_view
If set to true, the path to the node from root is visible above the tree.

J

jMenuFileExit_actionPerformed(ActionEvent) - Method in class Ulm.XML.GUI.Frame
File | Exit action performed

L

L1 - Variable in class Ulm.XML.GUI.TreeCell
Icon and text for the node (black).
L2 - Variable in class Ulm.XML.GUI.TreeCell
Icon and text for the node additional information (blue).

M

main(String[]) - Static method in class Ulm.XML.GUI.Application
Main method

N

nchilds - Variable in class Ulm.XML.GUI.xnode
Number of childs, without text nodes.
node - Variable in class Ulm.XML.GUI.xnode
Node itself
NODE - Static variable in class Ulm.XML.GUI.XMLRenderer
Node
NONE - Static variable in class Ulm.XML.GUI.XMLRenderer
Nothing
NuA - Static variable in class Ulm.XML.GUI.XMLRenderer
Node, followed by attributes
NuN - Static variable in class Ulm.XML.GUI.XMLRenderer
Two or more subsequent nodes.
NuT - Static variable in class Ulm.XML.GUI.XMLRenderer
Node, followed by text of the subsequent text node.

P

p(String) - Method in class Ulm.XML.Render.Renderer
Override to display debug messages
p(String) - Method in class Ulm.XML.Render.Author
 
processWindowEvent(WindowEvent) - Method in class Ulm.XML.GUI.Frame
Overridden so we can exit when window is closed

R

Renderer - class Ulm.XML.Render.Renderer.
This is a simple class used to access the given fields of the XML tree.
Renderer() - Constructor for class Ulm.XML.Render.Renderer
 

S

seek(Node, String) - Method in class Ulm.XML.Render.Renderer
Returns value or attribute for this path.
seekInt(Node, String) - Method in class Ulm.XML.Render.Renderer
Returns value or attribute for this path.
setAutoExpand(boolean) - Method in class Ulm.XML.GUI.XML_view
 
sethh() - Method in class Ulm.XML.GUI.XMLRenderer
 
setPathVisible(boolean) - Method in class Ulm.XML.GUI.XML_view
If set to true, the path to the node from root is visible above the tree.
setTree(Node) - Method in class Ulm.XML.GUI.XML_view
Set the XML document to display
showStream(InputStream) - Method in class Ulm.XML.GUI.XML_view
Show this URL (must point to XML document)

T

toString() - Method in class Ulm.XML.GUI.xnode
 
TreeCell - class Ulm.XML.GUI.TreeCell.
The component, used to display the tree cell.
TreeCell() - Constructor for class Ulm.XML.GUI.TreeCell
 
Try(Node) - Static method in class Ulm.XML.Render.Attempt
 

U

Ulm.XML.GUI - package Ulm.XML.GUI
 
Ulm.XML.Render - package Ulm.XML.Render
 

W

withChild(Node) - Method in class Ulm.XML.GUI.xnode
Set the current node to be displayed with the given child in one line.

X

XML_view - class Ulm.XML.GUI.XML_view.
XML view component bean, the central class of this project.
XML_view() - Constructor for class Ulm.XML.GUI.XML_view
 
XMLRenderer - class Ulm.XML.GUI.XMLRenderer.
Cell renderer to render the XML node.
XMLRenderer() - Constructor for class Ulm.XML.GUI.XMLRenderer
 
xnode - class Ulm.XML.GUI.xnode.
Data on XML node used during rendering.
xnode(Node) - Constructor for class Ulm.XML.GUI.xnode
Create node with default header.
xnode(Node, JComponent) - Constructor for class Ulm.XML.GUI.xnode
Create node that will be displayed as this component.
xnode(Node, String) - Constructor for class Ulm.XML.GUI.xnode
Create node with the given header.
xnode(Node, String, int) - Constructor for class Ulm.XML.GUI.xnode
Create node with the given header and icon.
xnode(Node, String, int, String) - Constructor for class Ulm.XML.GUI.xnode
Create node with the given header, icon and the additional blue text.

A B C D E F G H I J L M N P R S T U W X