All Packages  Class Hierarchy

A B C D E F G H I J K L M N O P Q R S T U V W X Y Z

Index of all Fields and Methods

A

actionPerformed(ActionEvent). Method in class jumbo.xml.XTree
add(Component, String, String). Method in class jumbo.xml.gui.TabbedPane
add a component, supported by title (on the tab) and tooltip for that tab
addAttribute(Attribute). Method in class jumbo.xml.XNode
add an attribute; if name already exists, overwrites it.
addAttribute(String, String, int). Method in class jumbo.xml.XNode
add an attribute; if name already exists, overwrites it
addComboBoxEditor(String, String[]). Method in class jumbo.xml.gui.XTable
add ComboBox editing to a column - see SwingSet example
addComponent(Component). Method in class jumbo.xml.gui.XText
add a component
addComponent(String). Method in class jumbo.xml.gui.XTable
add Component to a cell - see SwingSet example
addContent(XText, int). Method in class jumbo.xml.XNode
default formatting of content in absence of stylesheet.
addDisplayComponentTo(Container, int). Method in class jumbo.xml.XNode
add component display to an existing Container.
addIcon(Icon). Method in class jumbo.xml.gui.XText
add icon (only way so far I can add an image).
addMenu(). Method in class jumbo.xml.XTree
addRow(Object[]). Method in class jumbo.xml.gui.XTable
add a row at end
addText(String). Method in class jumbo.xml.gui.XText
add text using current style
addText(String, SimpleAttributeSet). Method in class jumbo.xml.gui.XText
add text using current style
addXNode(XNode). Method in class jumbo.xml.XNodePanel
add an XNode to the panel.
AELFRED. Static variable in class jumbo.xml.SAX
ALLNODES. Static variable in class jumbo.xml.XTree
all nodes analysis
Attribute(Attribute). Constructor for class jumbo.xml.Attribute
copy constructor
Attribute(String, String). Constructor for class jumbo.xml.Attribute
create Attribute from name and value.
Attribute(String, String, int). Constructor for class jumbo.xml.Attribute
make attribute
ATTRIBUTES. Static variable in class jumbo.xml.XNode
the attributes as a table
attributeVector. Variable in class jumbo.xml.XNode
attributeXTable. Variable in class jumbo.xml.XNode

B

blueBall. Static variable in class jumbo.xml.XTreeCellRenderer
bug(Exception). Static method in class jumbo.xml.Util
bug(String). Static method in class jumbo.xml.Util
record that we have hit a program bug!!!

C

capitalise(String). Static method in class jumbo.xml.Util
capitalise a String (whatever the starting case)
CASE. Static variable in class jumbo.xml.XNode
case in attributes must be matched
CDATA. Static variable in class jumbo.xml.Attribute
CDATA or unknown
characters(char[], int, int). Method in class jumbo.xml.SAX
Receive notification of character data inside an element.
CheckValidChar(). Constructor for class jumbo.xml.CheckValidChar
CONTENT. Static variable in class jumbo.xml.XNode
heuristically rendered content; may be subclassed
contentText. Variable in class jumbo.xml.XNode

D

defaultFont. Static variable in class jumbo.xml.XTreeCellRenderer
defaultParserClassName. Static variable in class jumbo.xml.SAX
defaultParserType. Static variable in class jumbo.xml.SAX
defaultStyle. Static variable in class jumbo.xml.gui.XText
default style
deleteWhitespaceDescendants(). Method in class jumbo.xml.XNode
delete all whitespace descendants(uses PCDATANode.isWhitespace()) Once deleted, these cannot be returned.
deQuote(String). Static method in class jumbo.xml.Util
remove balanced quotes from ends of (trimmed) string, else no action
display(). Method in class jumbo.xml.XNode
dummy, to be overridden
display(). Method in class jumbo.xml.gui.XTable
a default display in a JFrame
display(). Method in class jumbo.xml.XTree
display the tree.
display(TextArea). Method in class jumbo.xml.XNode
probably obsolete (or at least to be subclassed)
displayError(SAXParseException). Method in class jumbo.xml.SAX
display the input and highlight the first fatal error
displayInFrame(). Method in class jumbo.xml.XNode
display displayComponent in free window, probably obsolete
displayInFrame(). Method in class jumbo.xml.gui.XText
display the Text in a JFrame
displayType. Variable in class jumbo.xml.XTreeOptions
the display type (SINGLEPANE, etc)
displayTypeStrings. Static variable in class jumbo.xml.XNode
displayWait(boolean). Method in class jumbo.xml.XTree
displays a clock cursor if true, else default.
DXP. Static variable in class jumbo.xml.SAX

E

ELEMENT. Static variable in class jumbo.xml.XTree
element analysis
ELEMENTNAME. Static variable in class jumbo.xml.XNode
the element name as a text field
elementStyle. Static variable in class jumbo.xml.XNode
highlights the elementName in content display
elementTextField. Variable in class jumbo.xml.XNode
endDocument(). Method in class jumbo.xml.SAX
Receive notification of the end of the document.
endElement(String). Method in class jumbo.xml.SAX
Receive notification of the end of an element.
error(SAXParseException). Method in class jumbo.xml.SAX
Receive notification of a recoverable parser error.
escape(String). Static method in class jumbo.xml.Util
escape characters in an XML string (' -> ' , etc); also escape non-XML characters
EXACT. Static variable in class jumbo.xml.XNode
attributes names must be matched exactly(modulated by (IGNORE)CASE)

F

fatalError(SAXParseException). Method in class jumbo.xml.SAX
Report a fatal XML parsing error.
firstComponent. Variable in class jumbo.xml.gui.XSplitPanePanel
the first user-provided component
font. Variable in class jumbo.xml.XTreeOptions
Font for the tree (not yet sure where to set this
freeMemory(long). Static method in class jumbo.xml.Util
runs the garbage collector if memory drops below mem.

G

getAttribute(String, int). Method in class jumbo.xml.XNode
gets the attribute with a given name (ignored if name is null or bad value of sensitivity)
getAttributeString(). Method in class jumbo.xml.XNode
returns the attributes in concatenated text form (suitable for insertion to start tags).
getAttributeValue(String, int). Method in class jumbo.xml.XNode
gets the value for an attribute with a given name (ignored if name is null or bad value of sensitivity)
getAttributeVector(). Method in class jumbo.xml.XNode
returns a Vector containing the attributes.
getCell(int, int). Method in class jumbo.xml.gui.XTable
get Cell as an object (silly value of iRow, jCol returns null)
getChildWithAttributeValue(String, int, String, int). Method in class jumbo.xml.XNode
gets first child with given value of attribute (ignored if name is null or bad value of sensitivity).
getChildWithElementName(String, int). Method in class jumbo.xml.XNode
gets first child with given element name (ignored if name is null or bad value of sensitivity).
getColor(). Method in class jumbo.xml.XNode
get any Color associated with the XNode (Fonts and Colors are still being developed).
getDate(int, int, int, int, int, int). Static method in class jumbo.xml.Util
create from a date; if hrs, sec are negative, they are ignored
getDefaultColor(). Static method in class jumbo.xml.XNode
get any default Color associated with an XNode
getDefaultFont(). Static method in class jumbo.xml.XNode
get any default Font associated with an XNode
getDisplayComponent(). Method in class jumbo.xml.gui.XTable
returns a JPanel with a scrolling Table (still experimental)
getDisplayComponent(int). Method in class jumbo.xml.PCDATANode
Not yet written
getDisplayComponent(int). Method in class jumbo.xml.XNode
returns a choice of document components, for different 'views' of the node.
getElementName(). Method in class jumbo.xml.XNode
return the elementName
getEntityTable(). Method in class jumbo.xml.SAX
return the entity table created by SAX (null if no entities)
getErrorMessage(SAXParseException). Method in class jumbo.xml.SAX
get an error message string from a SAXParseException
getEventStream(int, int). Method in class jumbo.xml.XNode
gets the event stream (as XML or text).
getFont(). Method in class jumbo.xml.XNode
get any Font associated with the XNode (Fonts and Colors are still being developed).
getHeight(). Method in class jumbo.xml.XTreeCellRenderer
getIcon(). Method in class jumbo.xml.XNode
get an Icon associated with the XNode (still being developed).
getIntFromHex(String). Static method in class jumbo.xml.Util
horrid, but I couldn't find if Java reads hex.
getJFrame(). Method in class jumbo.xml.gui.XTable
getJTextPane(). Method in class jumbo.xml.gui.XText
return a JTextPane containing the document.
getName(). Method in class jumbo.xml.gui.XTable
get the name of the table
getNotationTable(). Method in class jumbo.xml.SAX
return the notation table created by SAX (null if no notations)
getPCDATAContent(). Method in class jumbo.xml.XNode
if this has a single PCDATA child, returns its string value, else null
getPWDName(). Static method in class jumbo.xml.Util
get current directory
getRootNode(). Method in class jumbo.xml.XTree
gets root node (probably better Swing ways :-)
getRow(int). Method in class jumbo.xml.gui.XTable
get Row as a Vector of objects (silly value of iRow returns null)
getRowCount(). Method in class jumbo.xml.gui.XTable
get information
getSelectedNode(). Method in class jumbo.xml.XTree
gets the (first) selected node
getSelectedNodes(). Method in class jumbo.xml.XTree
gets all selected nodes (null if none)
getSimpleAttributeSet(Font). Static method in class jumbo.xml.gui.XText
make a SimpleAttributeSet (i.e.
getSimpleAttributeSet(Font, Color). Static method in class jumbo.xml.gui.XText
make a SimpleAttributeSet (i.e.
getStackTrace(). Method in class jumbo.xml.StackTraceWriter
alternatively the Strings can be retrieved as String[]
getStringVector(). Method in class jumbo.xml.StackTraceWriter
the components are built up as a vector of Strings
getText(). Method in class jumbo.xml.gui.XText
get current text
getTitle(). Method in class jumbo.xml.PCDATANode
get a title for the node (primarily for display).
getTitle(). Method in class jumbo.xml.TestSubClassedNode
gets a title for the XNode.
getTitle(). Method in class jumbo.xml.XNode
gets a title for the XNode.
getTree(). Method in class jumbo.xml.SAX
return the XTree created by SAX
getTree(XNode). Static method in class jumbo.xml.XTree
find tree that an XNode belongs to (shopuld be previously registered)
getTreeCellRendererComponent(JTree, Object, boolean, boolean, boolean, int, boolean). Method in class jumbo.xml.XTreeCellRenderer
This is messaged from JTree whenever it needs to get the size of the component or it wants to draw it.
getWidth(). Method in class jumbo.xml.XTreeCellRenderer
getXNodePanel(). Method in class jumbo.xml.XTree
gets the panel into which XNodes can be displayed

H

helpTree. Variable in class jumbo.xml.XTree
the current help tree
helpUrl. Static variable in class jumbo.xml.XTree
the helpfile - don't know how to locate this...
highlight(int, int). Method in class jumbo.xml.gui.XText
highlight by line and column; BOTH start from 1 (ONE)

I

ID. Static variable in class jumbo.xml.Attribute
IDREF. Static variable in class jumbo.xml.Attribute
IDREFS. Static variable in class jumbo.xml.Attribute
ignorableWhitespace(char[], int, int). Method in class jumbo.xml.SAX
Receive notification of ignorable whitespace in element content.
IGNORECASE. Static variable in class jumbo.xml.XNode
case in attributes need not be matched
indexOfBalancedBracket(char, String). Static method in class jumbo.xml.Util
return index of balanced bracket; -1 for none.
init(). Method in class jumbo.xml.Jumbo
isElementNode(). Method in class jumbo.xml.XNode
is the XNode an element Node (as opposed to a PCDATA node or PI or other...
isRegisteredApplet(Applet). Static method in class jumbo.xml.Util
retrive that an object is an applet rather than an application.
isRightMouseClick(MouseEvent). Static method in class jumbo.xml.Util
a crude way of identifying a right mouse click (because I left the Java book behind)
isWhitespace(). Method in class jumbo.xml.PCDATANode
is this node's content composed completely of whitespace (uses trim())?

J

jButton. Variable in class jumbo.xml.XTreeCellRenderer
jFrame. Variable in class jumbo.xml.XTree
the frame in which all is displayed
jLabel. Variable in class jumbo.xml.XTreeCellRenderer
kludge; jLabel can be set to 'this' when XTreeCellRenderer is subclassed from JLable; else to jLable add'ed to JPanel
jMessage. Variable in class jumbo.xml.XTree
the message area in it
Jumbo(). Constructor for class jumbo.xml.Jumbo
jURLPanel. Variable in class jumbo.xml.XTree
a box for the URL
jURLTextField. Variable in class jumbo.xml.XTree
textField for the URL

L

LARK. Static variable in class jumbo.xml.SAX
longFromDate(Date). Static method in class jumbo.xml.Util
get a long from a Date (should be easy, but isn't)

M

main(String[]). Static method in class jumbo.xml.CheckValidChar
main(String[]). Static method in class jumbo.xml.Jumbo
use to launch Jumbo as an application
main(String[]). Static method in class jumbo.xml.SAX
Main entry point for an application.
main(String[]). Static method in class jumbo.xml.StackTraceWriter
main(String[]). Static method in class jumbo.xml.gui.XSplitPanePanel
a simple test routine
main(String[]). Static method in class jumbo.xml.gui.XTable
test routine
main(String[]). Static method in class jumbo.xml.gui.XText
simple test routine
main(String[]). Static method in class jumbo.xml.XTree
a test program, see above
makeAbsoluteURL(Applet, String). Static method in class jumbo.xml.Util
If a URL is relative, make it absolute against either the current directory (application) or codebase (applet)
makeAbsoluteURL(String). Static method in class jumbo.xml.Util
If a URL is relative, make it absolute against the current directory.
makeSubClassedNode(XNode, String). Static method in class jumbo.xml.XNode
replace a child XNode by its specialised version.
MAXTABLENGTH. Static variable in class jumbo.xml.gui.TabbedPane
the initial maximum character length of tabs
MSXML. Static variable in class jumbo.xml.SAX

N

nComponentTypes. Static variable in class jumbo.xml.XNode
NDATA. Static variable in class jumbo.xml.Attribute
NMTOKEN. Static variable in class jumbo.xml.Attribute
NMTOKENS. Static variable in class jumbo.xml.Attribute
NOTATION. Static variable in class jumbo.xml.Attribute
notationDecl(String, String, String). Method in class jumbo.xml.SAX
Receive notification of a notation declaration.
nParserTypes. Static variable in class jumbo.xml.SAX
numberNodes(XNode, String). Method in class jumbo.xml.XTree
numbers nodes by levels (e.g.

O

omitWhitespace. Variable in class jumbo.xml.XTreeOptions
Create tree without any whitespace nodes (not fully tested)
onClick(). Method in class jumbo.xml.XNode
dummy, to be overridden by specialised classes
options. Variable in class jumbo.xml.XTree
the options for tree display
outputFormat. Variable in class jumbo.xml.XTree
the current output format; default is TAGGED event stream

P

paint(Graphics). Method in class jumbo.xml.XTreeCellRenderer
paint is subclassed to draw the background correctly.
paintLabel(Graphics). Method in class jumbo.xml.XTreeCellRenderer
parserClassName. Variable in class jumbo.xml.XTree
the current parserClassName
parserTypeStrings. Static variable in class jumbo.xml.SAX
PCDATA. Static variable in class jumbo.xml.XTree
PCDATA analysis
PCDATANode(PCDATANode). Constructor for class jumbo.xml.PCDATANode
copy constructor
PCDATANode(String). Constructor for class jumbo.xml.PCDATANode
create a PCDATA node with content
PINode(PINode). Constructor for class jumbo.xml.PINode
copy constructor
PINode(String, String). Constructor for class jumbo.xml.PINode
create a PINode with the parameters returned from SAX
postMessage(String). Method in class jumbo.xml.XTree
post a message to the JMessage message area
PRETTY. Static variable in class jumbo.xml.XNode
the event stream pretty printed
printErrors(). Method in class jumbo.xml.SAX
print the accumulated errors
println(char[]). Method in class jumbo.xml.StackTraceWriter
println(String). Method in class jumbo.xml.StackTraceWriter
printStackTrace(). Method in class jumbo.xml.StackTraceWriter
processingInstruction(String, String). Method in class jumbo.xml.SAX
Receive notification of a processing instruction.

Q

quoteConcatenate(String[]). Static method in class jumbo.xml.Util
concatenate strings into quote-separated string

R

readByteArray(DataInputStream). Static method in class jumbo.xml.Util
reads a byte array from DataInputStream, *including* line feeds
readByteArray(String). Static method in class jumbo.xml.Util
reads a byte array from file, *including* line feeds
registerApplet(Applet). Static method in class jumbo.xml.Util
record that an object is an applet rather than an application.
removeAttribute(String). Method in class jumbo.xml.XNode
delete an attribute.
removeHTML(String). Static method in class jumbo.xml.Util
remove balanced (well-formed) markup from a string.
removeRow(int). Method in class jumbo.xml.gui.XTable
delete a row
renderCell. Variable in class jumbo.xml.XTreeOptions
whether to render the TreeCells (buggy at present(
replaceWith(XNode). Method in class jumbo.xml.XNode
replace this XNode with another; if this==root, new tree is created.
resetTree(). Method in class jumbo.xml.XTree
resetTree(XNode). Method in class jumbo.xml.XTree
if node structure has been changed, reload root Node and highlight node
resolveEntity(String, String). Method in class jumbo.xml.SAX
Resolve an external entity.
rootNode. Variable in class jumbo.xml.XTree
the root of the tree

S

saveXML(Vector, int, String). Method in class jumbo.xml.XTree
saves nodes to a file selected by the user.
saveXML(XNode, int, String). Method in class jumbo.xml.XTree
saves node to a file selected by the user.
SAX(String). Constructor for class jumbo.xml.SAX
create a new SAXTree using the default parser
SAX(String, String). Constructor for class jumbo.xml.SAX
create a new SAXTree.
SAX(StringReader). Constructor for class jumbo.xml.SAX
Create a SAX from a UTF-16 character stream.
search(XNode, String, String, String, int). Method in class jumbo.xml.XTree
search for a given element, attribute, value
secondComponent. Variable in class jumbo.xml.gui.XSplitPanePanel
the second user-provided component
selectAndHighlight(XNode). Method in class jumbo.xml.XTree
doesn't yet work
selected. Variable in class jumbo.xml.XTreeCellRenderer
Whether or not the item that was last configured is selected.
selectedBackgroundColor. Static variable in class jumbo.xml.XTreeCellRenderer
selectNode(XNode). Method in class jumbo.xml.XTree
selects a node and highlights it
selectNodes(Vector). Method in class jumbo.xml.XTree
selects nodes and highlights them
setColor(Color). Method in class jumbo.xml.XNode
set the Color associated with an XNode
setDocumentLocator(Locator). Method in class jumbo.xml.SAX
Receive a Locator object for document events.
setEditable(boolean). Method in class jumbo.xml.gui.XText
make the JTextPane (un)editable
setFont(Font). Method in class jumbo.xml.XNode
set the Font associated with an XNode
setMaxTabLength(int). Method in class jumbo.xml.gui.TabbedPane
change the maximum tab length.
setOptions(XTreeOptions). Method in class jumbo.xml.XTree
set the tree options by cloning an existing XTreeOptions
SINGLEPANE. Static variable in class jumbo.xml.XTreeOptions
SLASH. Static variable in class jumbo.xml.Util
spaces(int). Static method in class jumbo.xml.Util
make a String of a given number of spaces
split(String). Static method in class jumbo.xml.Util
splits a whitespace-separated set of tokens into a String[]
splitPane. Variable in class jumbo.xml.gui.XSplitPanePanel
the split pane in the panel
SPLITPANE. Static variable in class jumbo.xml.XTreeOptions
StackTraceWriter(). Constructor for class jumbo.xml.StackTraceWriter
startDocument(). Method in class jumbo.xml.SAX
Receive notification of the beginning of the document.
startElement(String, AttributeList). Method in class jumbo.xml.SAX
Receive notification of the start of an element.
string2Bytes(String). Static method in class jumbo.xml.Util
converts a string to its byte[] equivalent
stripNewlines(byte[]). Static method in class jumbo.xml.Util
strip linefeeds from a byte array
substituteStrings(String, String[], String[]). Static method in class jumbo.xml.Util
make substitutions in a string.

T

TabbedPane(). Constructor for class jumbo.xml.gui.TabbedPane
default constructor
TAGGED. Static variable in class jumbo.xml.XNode
the event stream with tags (at present identical to XML)
test(). Static method in class jumbo.xml.StackTraceWriter
deliberately throws an exception
TestSubClassedNode(). Constructor for class jumbo.xml.TestSubClassedNode
toCamelCase(String). Static method in class jumbo.xml.Util
toString(). Method in class jumbo.xml.Attribute
return attribute as "name=value" (no spaces).
toString(). Method in class jumbo.xml.StackTraceWriter
alternatively the Strings can be retrieved as String[]
toString(). Method in class jumbo.xml.XException
toString(). Method in class jumbo.xml.XNode
used by a variety of Swing routines.
toString(). Method in class jumbo.xml.XTreeOptions
mainly for debug
treeModel. Variable in class jumbo.xml.XTree
the tree model (default if not specified)
typeString. Static variable in class jumbo.xml.Attribute

U

unparsedEntityDecl(String, String, String, String). Method in class jumbo.xml.SAX
Receive notification of an unparsed entity declaration.
UNTAGGED. Static variable in class jumbo.xml.XNode
the event stream with tag removed
urlString. Variable in class jumbo.xml.XTree
the URL
Util(). Constructor for class jumbo.xml.Util

W

warning(SAXParseException). Method in class jumbo.xml.SAX
Receive notification of a parser warning.
WHITESPACE. Static variable in class jumbo.xml.XNode
the event stream with whitespace highlighted by comments
WILD. Static variable in class jumbo.xml.XNode
attributes names need not be matched exactly(modulated by (IGNORE)CASE)
writeEventStream(PrintWriter, int, int). Method in class jumbo.xml.XNode
as for getEventStream, but writes to a PrintWriter.

X

XException(). Constructor for class jumbo.xml.XException
no message provided
XException(Exception). Constructor for class jumbo.xml.XException
store the original exception for later display
XException(Exception, String). Constructor for class jumbo.xml.XException
store the original exception and message for later display
XException(String). Constructor for class jumbo.xml.XException
store the message
XMLCONTENT. Static variable in class jumbo.xml.XNode
the CONTENT as raw XML stream
XNode(). Constructor for class jumbo.xml.XNode
default XNode with no name
XNode(Object). Constructor for class jumbo.xml.XNode
XNode with elementName defaulting to "XNode".
XNode(String, Object). Constructor for class jumbo.xml.XNode
as above, but with defined elementName
XNode(XNode). Constructor for class jumbo.xml.XNode
copy constructor (== deep copy) XNode.
xNodePanel. Variable in class jumbo.xml.XTree
the panel for rendering of the XNode components (e.g.
XNodePanel(XTree). Constructor for class jumbo.xml.XNodePanel
a default XNodePanel
xNodePanelContainer. Variable in class jumbo.xml.XTree
a container for the XNodePanel
XP. Static variable in class jumbo.xml.SAX
XSplitPanePanel(int, JComponent, JComponent). Constructor for class jumbo.xml.gui.XSplitPanePanel
add two JComponents.
XTable(String, Object[][], String[]). Constructor for class jumbo.xml.gui.XTable
make the table from already constructed Object arrays [rows][cols] and column names [cols]
XText(). Constructor for class jumbo.xml.gui.XText
default constructor
XText(StyleContext). Constructor for class jumbo.xml.gui.XText
use existing style context (required for icons?)
XText(URL). Constructor for class jumbo.xml.gui.XText
create from a URL
XTree(). Constructor for class jumbo.xml.XTree
the simplest way of creating an XTree.
XTree(String). Constructor for class jumbo.xml.XTree
Create a single node tree .
XTree(String, boolean). Constructor for class jumbo.xml.XTree
Create a single node tree .
XTree(XNode). Constructor for class jumbo.xml.XTree
the next simplest way of creating an XTree.
XTree(XNode, boolean). Constructor for class jumbo.xml.XTree
Create a tree from a root node .
XTreeCellRenderer(). Constructor for class jumbo.xml.XTreeCellRenderer
XTreeOptions(). Constructor for class jumbo.xml.XTreeOptions
default constructor.
XTreeOptions(XTreeOptions). Constructor for class jumbo.xml.XTreeOptions
copy constructor (i.e.
XTreeText(). Constructor for class jumbo.xml.XTreeText
XTreeText(XNode). Constructor for class jumbo.xml.XTreeText
XTreeText(XTree). Constructor for class jumbo.xml.XTreeText