A C D E F G H I J M O P R S T U V X

A

accept(File) - Method in class isu.indus.util.FileFilterEx
Return true if this file should be shown in the directory pane, false if it shouldn't.
addExtension(String) - Method in class isu.indus.util.FileFilterEx
Adds a filetype "dot" extension to filter against.

C

collapsedIcon - Static variable in class isu.indus.xml.TreeCellRendererEx
Icon to use when the item is collapsed.
constructMenuBar() - Method in class isu.indus.xml.XMLViewer
Construct a menu.
constructOptionsPanel() - Method in class isu.indus.xml.XMLViewer
Constructs a JPanel containing check boxes for the different options that tree supports.
createNewNode(String) - Method in class isu.indus.xml.XMLViewer
 
createTree(DefaultMutableTreeNode, Node) - Method in class isu.indus.xml.XMLViewer
Create the JTree from DOM Tree

D

debug - Variable in class isu.indus.xml.XMLViewer
 
Debug - class isu.indus.util.Debug.
 
Debug() - Constructor for class isu.indus.util.Debug
 
Debug(boolean) - Constructor for class isu.indus.util.Debug
 
debugMode - Static variable in class isu.indus.util.Debug
 
defaultFont - Static variable in class isu.indus.xml.TreeCellRendererEx
Font used if the string to be displayed isn't a font.
DefaultTreeModelEx - class isu.indus.util.DefaultTreeModelEx.
SampleTreeModel extends JTreeModel to extends valueForPathChanged.
DefaultTreeModelEx(TreeNode) - Constructor for class isu.indus.util.DefaultTreeModelEx
Creates a new instance of SampleTreeModel with newRoot set to the root of this model.
description - Variable in class isu.indus.util.FileFilterEx
 

E

expandedIcon - Static variable in class isu.indus.xml.TreeCellRendererEx
Icon to use when the item is expanded.

F

FileFilterEx - class isu.indus.util.FileFilterEx.
A convenience implementation of FileFilter that filters out all files except for those type extensions that it knows about.
FileFilterEx() - Constructor for class isu.indus.util.FileFilterEx
Creates a file filter.
FileFilterEx(String) - Constructor for class isu.indus.util.FileFilterEx
Creates a file filter that accepts files with the given extension.
FileFilterEx(String[]) - Constructor for class isu.indus.util.FileFilterEx
Creates a file filter from the given string array.
FileFilterEx(String[], String) - Constructor for class isu.indus.util.FileFilterEx
Creates a file filter from the given string array and description.
FileFilterEx(String, String) - Constructor for class isu.indus.util.FileFilterEx
Creates a file filter that accepts the given file type.
filters - Variable in class isu.indus.util.FileFilterEx
 
frame - Variable in class isu.indus.xml.XMLViewer
Window for showing Tree.
fullDescription - Variable in class isu.indus.util.FileFilterEx
 

G

getDebugMode() - Method in class isu.indus.util.Debug
If in debug mode
getDescription() - Method in class isu.indus.util.FileFilterEx
Returns the human readable description of this filter.
getExtension(File) - Method in class isu.indus.util.FileFilterEx
Return the extension portion of the file's name .
getSelectedNode() - Method in class isu.indus.xml.XMLViewer
Returns the TreeNode instance that is selected in the tree.
getSelectedPaths() - Method in class isu.indus.xml.XMLViewer
Returns the selected TreePaths in the tree, may return null if nothing is selected.
getTreeCellRendererComponent(JTree, Object, boolean, boolean, boolean, int, boolean) - Method in class isu.indus.xml.TreeCellRendererEx
This is messaged from JTree whenever it needs to get the size of the component or it wants to draw it.

H

HIDDEN_FILE - Static variable in class isu.indus.util.FileFilterEx
 

I

isExtensionListInDescription() - Method in class isu.indus.util.FileFilterEx
Returns whether the extension list (.jpg, .gif, etc) should show up in the human readable description.
isu.indus.util - package isu.indus.util
Some utility classes.
isu.indus.xml - package isu.indus.xml
Classes to handle XML file.

J

jbInit() - Method in class isu.indus.xml.XMLViewer
 

M

main(String[]) - Static method in class isu.indus.xml.XMLViewer
 

O

open() - Method in class isu.indus.xml.XMLViewer
Handler for File-Open Menuitem

P

paint(Graphics) - Method in class isu.indus.xml.TreeCellRendererEx
/** paint is subclassed to draw the background correctly.
panel - Variable in class isu.indus.xml.XMLViewer
Pane to hold the tree

R

readXMLFile(String) - Method in class isu.indus.xml.XMLViewer
Read the specified XML file and show it in GUI JTree

S

selected - Variable in class isu.indus.xml.TreeCellRendererEx
Whether or not the item that was last configured is selected.
SelectedBackgroundColor - Static variable in class isu.indus.xml.TreeCellRendererEx
Color to use for the background when selected.
setDebugMode(boolean) - Method in class isu.indus.util.Debug
Set debug mode
setDescription(String) - Method in class isu.indus.util.FileFilterEx
Sets the human readable description of this filter.
setExtensionListInDescription(boolean) - Method in class isu.indus.util.FileFilterEx
Determines whether the extension list (.jpg, .gif, etc) should show up in the human readable description.
sp - Variable in class isu.indus.xml.XMLViewer
 
stateChanged(ChangeEvent) - Method in class isu.indus.xml.XMLViewer.TreeEditableChangeListener
 
stateChanged(ChangeEvent) - Method in class isu.indus.xml.XMLViewer.ShowRootChangeListener
 
stateChanged(ChangeEvent) - Method in class isu.indus.xml.XMLViewer.ShowHandlesChangeListener
 

T

trace(String) - Static method in class isu.indus.util.Debug
Show a string in a message box
tree - Variable in class isu.indus.xml.XMLViewer
Tree used for the example.
TreeCellRendererEx - class isu.indus.xml.TreeCellRendererEx.
 
TreeCellRendererEx() - Constructor for class isu.indus.xml.TreeCellRendererEx
 
treeModel - Variable in class isu.indus.xml.XMLViewer
Tree model.
TYPE_UNKNOWN - Static variable in class isu.indus.util.FileFilterEx
 

U

useExtensionsInDescription - Variable in class isu.indus.util.FileFilterEx
 

V

valueForPathChanged(TreePath, Object) - Method in class isu.indus.util.DefaultTreeModelEx
Subclassed to message setString() to the changed path item.

X

XMLViewer - class isu.indus.xml.XMLViewer.
XML Viewer
XMLViewer.ShowHandlesChangeListener - class isu.indus.xml.XMLViewer.ShowHandlesChangeListener.
ShowHandlesChangeListener implements the ChangeListener interface to toggle the state of showing the handles in the tree.
XMLViewer.ShowHandlesChangeListener() - Constructor for class isu.indus.xml.XMLViewer.ShowHandlesChangeListener
 
XMLViewer.ShowRootChangeListener - class isu.indus.xml.XMLViewer.ShowRootChangeListener.
ShowRootChangeListener implements the ChangeListener interface to toggle the state of showing the root node in the tree.
XMLViewer.ShowRootChangeListener() - Constructor for class isu.indus.xml.XMLViewer.ShowRootChangeListener
 
XMLViewer.TreeEditableChangeListener - class isu.indus.xml.XMLViewer.TreeEditableChangeListener.
TreeEditableChangeListener implements the ChangeListener interface to toggle between allowing editing and now allowing editing in the tree.
XMLViewer.TreeEditableChangeListener() - Constructor for class isu.indus.xml.XMLViewer.TreeEditableChangeListener
 
XMLViewer() - Constructor for class isu.indus.xml.XMLViewer
Constructs a new instance of XMLViewer.

A C D E F G H I J M O P R S T U V X



[Return to Jie Bao's Homepage]