A C F G H I K L M N O P R S T U V W

A

accept(File, String) - Method in class nrs.util.file.FileDialog
Implementation method for FilenameFilter
actionPerformed(ActionEvent) - Method in class nrs.util.file.FileDialog
User clicked a button
actionPerformed(ActionEvent) - Method in class nrs.util.test.FileDialogTest
 
actionPerformed(ActionEvent) - Method in class nrs.util.test.ImageButtonTest
 
add(Object) - Method in class nrs.util.PostfixCalculator
Add edither a number or operator to the stack
add(long) - Method in class nrs.util.PostfixCalculator
Add a long
add(double) - Method in class nrs.util.PostfixCalculator
Add a double
addActionListener(ActionListener) - Method in class nrs.util.ImageButton
 
addBorderPanel(Panel, String) - Method in class nrs.util.file.FileDialog
Add a panel containing components to one of the borders of the FileDialog
addFileFilter(String, String) - Method in class nrs.util.file.FileDialog
Add a file filter
addFileSelectionListener(FileSelectionListener) - Method in class nrs.util.file.FileDialog
Add a file selection listener
addMathFunction(String) - Method in class nrs.util.PostfixCalculator
Add a math function to the stack
addNumber(Number) - Method in class nrs.util.PostfixCalculator
Add a number to the stack
addOperand(String) - Method in class nrs.util.PostfixCalculator
Add an operand
allowedOperands - Static variable in class nrs.util.PostfixCalculator
Allowed operands are + - / * % & | ^ << >> <<<

C

CSVListener - interface nrs.util.CSVListener.
Interface implemented by classes interested in receiving CSV values from the CSVParser class.
CSVParser - class nrs.util.CSVParser.
Parses a CSV file and informs a listener of new values.
CSVParser() - Constructor for class nrs.util.CSVParser
Create a new instance of CSVParser using default values for the field and text delimiter.
CSVParser(BufferedReader, String, String, CSVListener) - Constructor for class nrs.util.CSVParser
Creates a new instance of CSVReader
checkProperties(File) - Method in class nrs.util.PropertiesValidator
Using the specified directory as a starting point check for properties
clear() - Method in class nrs.util.PostfixCalculator
Remove all previously added values, functions and operands
componentHidden(ComponentEvent) - Method in class nrs.util.file.FileDialog
 
componentMoved(ComponentEvent) - Method in class nrs.util.file.FileDialog
 
componentResized(ComponentEvent) - Method in class nrs.util.file.FileDialog
 
componentShown(ComponentEvent) - Method in class nrs.util.file.FileDialog
 

F

FileDialog - class nrs.util.file.FileDialog.
Extended AWT file dialog with support for selecting multiple files and adding extra components to the borders of the dialog.
FileDialog(Frame) - Constructor for class nrs.util.file.FileDialog
Creates a new instance of FileDialog
FileDialog(Frame, String) - Constructor for class nrs.util.file.FileDialog
 
FileDialog(Frame, String, int) - Constructor for class nrs.util.file.FileDialog
 
FileDialog(Frame, String, int, Component[]) - Constructor for class nrs.util.file.FileDialog
 
FileDialogTest - class nrs.util.test.FileDialogTest.
Test class for FileDialog
FileDialogTest() - Constructor for class nrs.util.test.FileDialogTest
Creates a new instance of FileDialogTest
FileListenerImagePreview - class nrs.util.test.FileListenerImagePreview.
Test class used by FileDialogTest
FileListenerImagePreview() - Constructor for class nrs.util.test.FileListenerImagePreview
Creates a new instance of FileListenerTextArea
FileSelectionEvent - class nrs.util.file.FileSelectionEvent.
Event used to hold details of selected files.
FileSelectionEvent(FileDialog, File[]) - Constructor for class nrs.util.file.FileSelectionEvent
Creates a new instance of FileSelectionEvent
FileSelectionListener - interface nrs.util.file.FileSelectionListener.
Interface for objects interested in listening for when files have been (de)selected.

G

getActionCommand() - Method in class nrs.util.ImageButton
 
getCancelButtonLabel() - Method in class nrs.util.file.FileDialog
Get the text of the Cancel button
getFieldDelimiter() - Method in class nrs.util.CSVParser
Get the currect field delimiter
getFiles() - Method in class nrs.util.file.FileSelectionEvent
 
getListener() - Method in class nrs.util.CSVParser
Get the currect CSVListener
getMinimumSize() - Method in class nrs.util.file.FileDialog
 
getOKButtonLabel() - Method in class nrs.util.file.FileDialog
Get the text of the OK button
getPreferredSize() - Method in class nrs.util.ImageButton
 
getPreferredSize() - Method in class nrs.util.file.FileDialog
 
getPreferredSize() - Method in class nrs.util.test.FileDialogTest
 
getPreferredSize() - Method in class nrs.util.test.FileListenerImagePreview
 
getReader() - Method in class nrs.util.CSVParser
Get the current BufferedReader
getResult() - Method in class nrs.util.PostfixCalculator
Returns the top value on the stack.
getSelectedFiles() - Method in class nrs.util.file.FileDialog
Get the list of files selected by the user
getTextDelimiter() - Method in class nrs.util.CSVParser
Get the current text delimiter

H

hasReadAll() - Method in class nrs.util.CSVParser
Check to see if the CSV source has a) finished being parsed, and b) all values were read

I

ImageButton - class nrs.util.ImageButton.
Button with Image
ImageButton(String) - Constructor for class nrs.util.ImageButton
 
ImageButtonTest - class nrs.util.test.ImageButtonTest.
Test class for image button
ImageButtonTest() - Constructor for class nrs.util.test.ImageButtonTest
 
isMathFunction(String) - Static method in class nrs.util.PostfixCalculator
Checks to see if the specified parameter is a java.lang.Math method
isNoTextDelimiter() - Method in class nrs.util.CSVParser
 
isOperand(String) - Static method in class nrs.util.PostfixCalculator
Checks to see if the specified parameter is an operand
isSelectDirectories() - Method in class nrs.util.file.FileDialog
Return whether directories can be selected
isSelectMultiple() - Method in class nrs.util.file.FileDialog
Return the current selection mode
itemStateChanged(ItemEvent) - Method in class nrs.util.file.FileDialog
User selected a file type or directory

K

keyPressed(KeyEvent) - Method in class nrs.util.file.FileDialog
 
keyPressed(KeyEvent) - Method in class nrs.util.file.NewDirEntry
 
keyReleased(KeyEvent) - Method in class nrs.util.file.FileDialog
 
keyReleased(KeyEvent) - Method in class nrs.util.file.NewDirEntry
 
keyTyped(KeyEvent) - Method in class nrs.util.file.FileDialog
 
keyTyped(KeyEvent) - Method in class nrs.util.file.NewDirEntry
 

L

LEFT_TO_RIGHT - Static variable in class nrs.util.VerticalLayout
 
layoutContainer(Container) - Method in class nrs.util.VerticalLayout
 

M

main(String[]) - Static method in class nrs.util.CSVParser
Main method for testing
main(String[]) - Static method in class nrs.util.PostfixCalculator
Main method used for testing
main(String[]) - Static method in class nrs.util.PropertiesValidator
Initialise and start the utility
main(String[]) - Static method in class nrs.util.test.FileDialogTest
 
main(String[]) - Static method in class nrs.util.test.ImageButtonTest
 
main(String[]) - Static method in class nrs.util.test.PostfixCalculatorTest
 
mouseClicked(MouseEvent) - Method in class nrs.util.ImageButton
 
mouseEntered(MouseEvent) - Method in class nrs.util.ImageButton
 
mouseExited(MouseEvent) - Method in class nrs.util.ImageButton
 
mousePressed(MouseEvent) - Method in class nrs.util.ImageButton
 
mouseReleased(MouseEvent) - Method in class nrs.util.ImageButton
 

N

NewDirEntry - class nrs.util.file.NewDirEntry.
TextField used for entry of a new directory
NewDirEntry(String, FileList) - Constructor for class nrs.util.file.NewDirEntry
 
newCSVValue(String, int) - Method in interface nrs.util.CSVListener
A new CSV value has been found
newCSVValue(String, int) - Method in class nrs.util.CSVParser
A new CSV value has been found
noMoreCSVValues() - Method in interface nrs.util.CSVListener
Finished parsing the input
noMoreCSVValues() - Method in class nrs.util.CSVParser
 
notifyFileSelectionListeners() - Method in class nrs.util.file.FileDialog
Notify listeners of any changes
nrs.util - package nrs.util
 
nrs.util.file - package nrs.util.file
 
nrs.util.test - package nrs.util.test
 

O

OPEN - Static variable in class nrs.util.file.FileDialog
 
openFilter() - Method in class nrs.util.test.FileDialogTest
Add multiple filters
openStandard() - Method in class nrs.util.test.FileDialogTest
Simplest file dialog
openWithBottom() - Method in class nrs.util.test.FileDialogTest
Bottom panel
openWithRight() - Method in class nrs.util.test.FileDialogTest
Right panel

P

PostfixCalculator - class nrs.util.PostfixCalculator.
Postfix calculator.
PostfixCalculator() - Constructor for class nrs.util.PostfixCalculator
 
PostfixCalculatorTest - class nrs.util.test.PostfixCalculatorTest.
JUnit tests for PostfixCalculator
PostfixCalculatorTest(String) - Constructor for class nrs.util.test.PostfixCalculatorTest
 
PropertiesValidator - class nrs.util.PropertiesValidator.
Checks that source files' references to properties actually exist.
PropertiesValidator(String, String, String) - Constructor for class nrs.util.PropertiesValidator
Creates a new instance of PropertiesValidator
paint(Graphics) - Method in class nrs.util.ImageButton
 
paint(Graphics) - Method in class nrs.util.test.FileListenerImagePreview
 
parse() - Method in class nrs.util.CSVParser
Parse the data from the specified BufferedReader
parseCalculation(String) - Method in class nrs.util.PostfixCalculator
Instead of passing number and operands one at a time they can be passed in altogether
printFrequency(boolean) - Method in class nrs.util.PropertiesValidator
Print out the frequency of the keys
processActionEvent(ActionEvent) - Method in class nrs.util.ImageButton
 
processEvent(AWTEvent) - Method in class nrs.util.ImageButton
 

R

RIGHT_TO_LEFT - Static variable in class nrs.util.VerticalLayout
 
removeActionListener(ActionListener) - Method in class nrs.util.ImageButton
 
removeFileSelectionListener(FileSelectionListener) - Method in class nrs.util.file.FileDialog
Remove a file selection listener
reset() - Method in class nrs.util.PostfixCalculator
Reset the calculator

S

SAVE - Static variable in class nrs.util.file.FileDialog
 
setActionCommand(String) - Method in class nrs.util.ImageButton
 
setCancelButtonLabel(String) - Method in class nrs.util.file.FileDialog
Set the text of the Cancel button
setFieldDelimiter(String) - Method in class nrs.util.CSVParser
Set the field delimiter
setFrequency(boolean) - Method in class nrs.util.PropertiesValidator
Print the frequencies of the keys used
setImage(String) - Method in class nrs.util.ImageButton
 
setListener(CSVListener) - Method in class nrs.util.CSVParser
Set the listener of CSV events
setNoTextDelimiter(boolean) - Method in class nrs.util.CSVParser
If set the parser won't look for text delimiters.
setOKButtonLabel(String) - Method in class nrs.util.file.FileDialog
Set the text of the OK button
setOrientation(int) - Method in class nrs.util.VerticalLayout
Set the orientation to either left to right or right to left
setReader(BufferedReader) - Method in class nrs.util.CSVParser
Set the BufferedReader which will read the CSV source
setSelectDirectories(boolean) - Method in class nrs.util.file.FileDialog
Sets whether the user can select directories as well as files
setSelectMultiple(boolean) - Method in class nrs.util.file.FileDialog
Set whether the user can select either one or multiple files.
setSelectedDirectory(File) - Method in class nrs.util.file.FileDialog
Set the selected directory
setSelectedFile(File) - Method in class nrs.util.file.FileDialog
Set the selected file
setSelectedFileFilter(String) - Method in class nrs.util.file.FileDialog
Set the selected file filter
setTextDelimiter(String) - Method in class nrs.util.CSVParser
Set the text delimiter
setUp() - Method in class nrs.util.test.PostfixCalculatorTest
 
setVerbose(boolean) - Method in class nrs.util.PropertiesValidator
Set verbose output
stop() - Method in class nrs.util.CSVParser
Tell the CSVReader not to continue parsing
suite() - Static method in class nrs.util.test.PostfixCalculatorTest
 

T

tearDown() - Method in class nrs.util.test.PostfixCalculatorTest
 
testAdd() - Method in class nrs.util.test.PostfixCalculatorTest
 
testAnd() - Method in class nrs.util.test.PostfixCalculatorTest
 
testDivide() - Method in class nrs.util.test.PostfixCalculatorTest
 
testLeftShift() - Method in class nrs.util.test.PostfixCalculatorTest
 
testLongCalc() - Method in class nrs.util.test.PostfixCalculatorTest
 
testMultiply() - Method in class nrs.util.test.PostfixCalculatorTest
 
testOr() - Method in class nrs.util.test.PostfixCalculatorTest
 
testRemainder() - Method in class nrs.util.test.PostfixCalculatorTest
 
testRightShift() - Method in class nrs.util.test.PostfixCalculatorTest
 
testRightShiftWithZeroFill() - Method in class nrs.util.test.PostfixCalculatorTest
 
testSubtract() - Method in class nrs.util.test.PostfixCalculatorTest
 
toString() - Method in class nrs.util.PostfixCalculator
Get a description of the internal Stack

U

update(Graphics) - Method in class nrs.util.ImageButton
Paint the image
update(Graphics) - Method in class nrs.util.test.FileListenerImagePreview
 

V

VerticalLayout - class nrs.util.VerticalLayout.
Extension of GridLayout that lays out components vertically
VerticalLayout() - Constructor for class nrs.util.VerticalLayout
Creates a new instance of VerticalLayout
VerticalLayout(int, int) - Constructor for class nrs.util.VerticalLayout
 
VerticalLayout(int, int, int, int) - Constructor for class nrs.util.VerticalLayout
 
valueChanged(FileSelectionEvent) - Method in interface nrs.util.file.FileSelectionListener
Called whenever the value of the selection changes
valueChanged(FileSelectionEvent) - Method in class nrs.util.test.FileListenerImagePreview
 

W

windowActivated(WindowEvent) - Method in class nrs.util.file.FileDialog
Invoked when the Window is set to be the active Window.
windowClosed(WindowEvent) - Method in class nrs.util.file.FileDialog
Invoked when a window has been closed as the result of calling dispose on the window.
windowClosing(WindowEvent) - Method in class nrs.util.file.FileDialog
Invoked when the user attempts to close the window from the window's system menu.
windowDeactivated(WindowEvent) - Method in class nrs.util.file.FileDialog
Invoked when a Window is no longer the active Window.
windowDeiconified(WindowEvent) - Method in class nrs.util.file.FileDialog
Invoked when a window is changed from a minimized to a normal state.
windowIconified(WindowEvent) - Method in class nrs.util.file.FileDialog
Invoked when a window is changed from a normal to a minimized state.
windowOpened(WindowEvent) - Method in class nrs.util.file.FileDialog
Invoked the first time a window is made visible.

A C F G H I K L M N O P R S T U V W

Copyright © 2004-2005 Nick Sydenham <nsydenham@yahoo.co.uk>