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

A

AboutBoxHandler - interface com.darwinsys.macosui.AboutBoxHandler.
Handler for part of MacOS UI extensions
ArrayIterator - class com.darwinsys.util.ArrayIterator.
De-mystify the Iterator interface, showing how to write a simple Iterator for an Array of Objects.
ArrayIterator(Object[]) - Constructor for class com.darwinsys.util.ArrayIterator
Construct an ArrayIterator object.
ArrayListTableModel - class com.darwinsys.swingui.ArrayListTableModel.
JTable model for ArrayList of heterogeneous objects.
ArrayListTableModel(ArrayList) - Constructor for class com.darwinsys.swingui.ArrayListTableModel
Constructor requires the list of objects
ArrayListTablePanel - class com.darwinsys.swingui.ArrayListTablePanel.
ArrayListTablePanel - Bean/GUI panel for ArrayListTableModel.
ArrayListTablePanel(Class, ArrayList, ArrayListTableModel) - Constructor for class com.darwinsys.swingui.ArrayListTablePanel
Construct new ArrayListTablePanel
add(Object) - Method in class com.darwinsys.swingui.FilterGUIListModel
 
add(int, Object) - Method in class com.darwinsys.swingui.FilterGUIListModel
 
add(Object) - Method in class com.darwinsys.util.IndexList
Add the given object to the end of the list
add(int, Object) - Method in class com.darwinsys.util.IndexList
Unlike the general contract of List, this will replace, not insert before, the object at the given index.
addActionListener(ActionListener) - Method in class com.darwinsys.swingui.LabelText
Adds the ActionListener to receive action events from the textfield
addAll(Collection) - Method in class com.darwinsys.swingui.FilterGUIListModel
 
addAll(Collection) - Method in class com.darwinsys.util.IndexList
 
addAll(int, Collection) - Method in class com.darwinsys.util.IndexList
 
addBcc(String) - Method in class com.darwinsys.mail.Mailer
Add one "bcc" recipient
addCc(String) - Method in class com.darwinsys.mail.Mailer
Add one "cc" recipient
addLayoutComponent(String, Component) - Method in class com.darwinsys.swingui.layout.CircleLayout
Adds the specified component with the specified constraint to the layout; required by LayoutManager but not used.
addLayoutComponent(String, Component) - Method in class com.darwinsys.swingui.layout.ColumnLayout
Called by AWT when the user uses the form add(name, Component).
addLayoutComponent(String, Component) - Method in class com.darwinsys.swingui.layout.EntryLayout
Adds the specified component with the specified constraint to the layout; required by LayoutManager but not used.
addLayoutComponent(String, Component) - Method in class com.darwinsys.swingui.layout.RelativeLayout
Called by AWT when the user uses the form add(name, Component).
addListDataListener(ListDataListener) - Method in class com.darwinsys.swingui.FilterGUIListModel
 
addSpacer(Container) - Method in class com.darwinsys.swingui.layout.ColumnLayout
Utility method to add a "spacer"
addTo(String) - Method in class com.darwinsys.mail.Mailer
Add one "to" recipient
addableList - Variable in class com.darwinsys.swingui.FilterGUI
 
addableListModel - Variable in class com.darwinsys.swingui.FilterGUI
 
alignment - Variable in class com.darwinsys.swingui.layout.ColumnLayout
The alignment for this ColumnLayout
argLetter - Variable in class com.darwinsys.lang.GetOptDesc
The short-form option letter
argName - Variable in class com.darwinsys.lang.GetOptDesc
The long-form option name
arrayToCommaList(Object[]) - Static method in class com.darwinsys.lang.StringUtil
Format an array of Object as a list with commas, like "apples, oranges, and bananas");

B

BLKSIZ - Static variable in class com.darwinsys.io.FileIO
The size of blocking to use
BYTES_PER_LINE - Static variable in class com.darwinsys.io.Dumper
The number of items per line
BackRefTag - class com.darwinsys.jsptags.BackRefTag.
BackRefTag - generate a href back to the referrer, initially for use on help.
BackRefTag() - Constructor for class com.darwinsys.jsptags.BackRefTag
 
bccList - Variable in class com.darwinsys.mail.Mailer
The BCC list, as Strings.
body - Variable in class com.darwinsys.mail.Mailer
The text of the message.

C

COLUMNS - Variable in class com.darwinsys.swingui.layout.EntryLayout
The number of columns.
CalIcon - class com.darwinsys.swingui.CalIcon.
Display one of those standard Calendar Page icons with Weekday, Day and Month.
CalIcon(boolean) - Constructor for class com.darwinsys.swingui.CalIcon
Construct the object with default arguments
CalIcon(Calendar, boolean) - Constructor for class com.darwinsys.swingui.CalIcon
Construct the object with a Calendar object
CircleLayout - class com.darwinsys.swingui.layout.CircleLayout.
A simplistic CircleLayout implementation of the LayoutManager interface.
CircleLayout(boolean) - Constructor for class com.darwinsys.swingui.layout.CircleLayout
Construct a CircleLayout
CircleLayout() - Constructor for class com.darwinsys.swingui.layout.CircleLayout
Construct a CircleLayout with default values.
Clock - class com.darwinsys.swingui.Clock.
A simple Clock
Clock() - Constructor for class com.darwinsys.swingui.Clock
 
ColumnLayout - class com.darwinsys.swingui.layout.ColumnLayout.
ColumnLayout, a Columnar Layout Manager for AWT/Swing.
ColumnLayout(int) - Constructor for class com.darwinsys.swingui.layout.ColumnLayout
Construct a ColumnLayout given only an alignment.
ColumnLayout(int, int) - Constructor for class com.darwinsys.swingui.layout.ColumnLayout
Construct a ColumnLayout given an alignment and a padding amount.
ColumnLayout(int, int, int) - Constructor for class com.darwinsys.swingui.layout.ColumnLayout
Construct a ColumnLayout given an alignment and h,v padding amounts.
ColumnLayout.Spacer - class com.darwinsys.swingui.layout.ColumnLayout.Spacer.
Class to represent a spacer, like Menubar.separator.
ColumnLayout.Spacer() - Constructor for class com.darwinsys.swingui.layout.ColumnLayout.Spacer
 
ConnectionUtil - class com.darwinsys.sql.ConnectionUtil.
Encapsulate the Connection-related operations that every JDBC program seems to use.
ConnectionUtil() - Constructor for class com.darwinsys.sql.ConnectionUtil
 
ccList - Variable in class com.darwinsys.mail.Mailer
The CC list, as Strings.
center(Window) - Static method in class com.darwinsys.swingui.UtilGUI
Center a Window, Frame, JFrame, Dialog, etc., but do it the American Spelling Way :-)
centre(Window) - Static method in class com.darwinsys.swingui.UtilGUI
Centre a Window, Frame, JFrame, Dialog, etc.
clear() - Method in class com.darwinsys.swingui.FilterGUIListModel
 
clear() - Method in class com.darwinsys.util.IndexList
 
clear() - Method in class com.darwinsys.util.PropertiesMap
Discard all object references held in the collection, i.e., reset to its initial state.
clock - Variable in class com.darwinsys.swingui.CalIcon
The Clock to show the time, if showTime
close() - Method in class com.darwinsys.io.StreamDumpGetter
 
close() - Method in class com.darwinsys.util.FileProperties
Deprecated. No longer needed.
columnClasses - Variable in class com.darwinsys.swingui.ArrayListTableModel
List of column names, must be provided by subclass.
columnNames - Variable in class com.darwinsys.swingui.ArrayListTableModel
List of column names, must be provided by subclass.
com.darwinsys.database - package com.darwinsys.database
 
com.darwinsys.html - package com.darwinsys.html
Classes (only one so far) for dealing with HTML.
com.darwinsys.io - package com.darwinsys.io
Classes for input and output operations, using Java's underlying I/O classes.
com.darwinsys.jsptags - package com.darwinsys.jsptags
 
com.darwinsys.lang - package com.darwinsys.lang
Classes for dealing with standard features of Java.
com.darwinsys.macosui - package com.darwinsys.macosui
Classes for dealing with Swing GUIs slightly differently under MacOS X, needed in part since Apple didn't quite get the portability issues just right (like where the MenuBar appears).
com.darwinsys.mail - package com.darwinsys.mail
Classes for dealing with e-mail, mainly a convenience class for sending mail.
com.darwinsys.security - package com.darwinsys.security
 
com.darwinsys.sql - package com.darwinsys.sql
 
com.darwinsys.swingui - package com.darwinsys.swingui
Classes for helping construct and use Swing Graphical User Interfaces.
com.darwinsys.swingui.layout - package com.darwinsys.swingui.layout
A few interesting LayoutManager implementations.
com.darwinsys.util - package com.darwinsys.util
A few miscellaneous utility classes (note that in May 2003, this package was split into several com/darwinsys/* packages), and many classes "moved out" to adjacent packages.
computeLayoutSize(Container, int, int) - Method in class com.darwinsys.swingui.layout.EntryLayout
Compute the size of the whole mess.
computelayoutSize(Container) - Method in class com.darwinsys.swingui.layout.CircleLayout
Compute the size of the whole mess.
contains(Object) - Method in class com.darwinsys.util.IndexList
 
containsAll(Collection) - Method in class com.darwinsys.util.IndexList
 
containsKey(Object) - Method in class com.darwinsys.util.PropertiesMap
Return true if the given object is contained as a Key
containsValue(Object) - Method in class com.darwinsys.util.PropertiesMap
Return true if the given object is contained as a Value
copyFile(String, String) - Static method in class com.darwinsys.io.FileIO
Copy a file from one filename to another
copyFile(InputStream, OutputStream, boolean) - Static method in class com.darwinsys.io.FileIO
Copy a file from an opened InputStream to opened OutputStream
copyFile(Reader, Writer, boolean) - Static method in class com.darwinsys.io.FileIO
Copy a file from an opened Reader to opened Writer
copyFile(String, PrintWriter, boolean) - Static method in class com.darwinsys.io.FileIO
Copy a file from a filename to a PrintWriter.
copyFileBuffered(String, String) - Method in class com.darwinsys.io.FileIO
Copy a data file from one filename to another, alternate method.
cp - Variable in class com.darwinsys.swingui.SimpleHelp
The contentpane
createConnection(String, String, String, String) - Static method in class com.darwinsys.sql.ConnectionUtil
 
curComps - Variable in class com.darwinsys.swingui.layout.RelativeLayout
to track Components added by named add form.
curHgt - Variable in class com.darwinsys.swingui.layout.RelativeLayout
actual size height when laid out
curWid - Variable in class com.darwinsys.swingui.layout.RelativeLayout
actual size width when laid out
currentList - Variable in class com.darwinsys.swingui.FilterGUI
 
currentListModel - Variable in class com.darwinsys.swingui.FilterGUI
 

D

DEFAULT_NAME - Static variable in class com.darwinsys.sql.ConnectionUtil
The default config filename, relative to ${user.home}
DEFAULT_START_SIZE - Static variable in class com.darwinsys.util.IndexList
The initial size of an instance's internal store
DONE - Static variable in class com.darwinsys.lang.GetOpt
Public constant for "no more options"
DataBaseException - exception com.darwinsys.database.DataBaseException.
Checked Exception DataBase Failures (so most of code does not need to import SQLException).
DataBaseException() - Constructor for class com.darwinsys.database.DataBaseException
 
DataBaseException(String) - Constructor for class com.darwinsys.database.DataBaseException
 
DataIO - class com.darwinsys.io.DataIO.
Some I-O primitives for datastreams.
Debug - class com.darwinsys.util.Debug.
Utilities for debugging
Debug() - Constructor for class com.darwinsys.util.Debug
 
DumpGetter - interface com.darwinsys.io.DumpGetter.
The general contract of a class to get bytes.
Dumper - class com.darwinsys.io.Dumper.
Class to do formatted dump ("hex dump") of data from various sources.
Dumper() - Constructor for class com.darwinsys.io.Dumper
 
d - Variable in class com.darwinsys.swingui.CalIcon
 
data - Variable in class com.darwinsys.util.ArrayIterator
The data to be iterated over.
dayNameFM - Variable in class com.darwinsys.swingui.CalIcon
FontMetrics for displaying the time
dayNameFont - Variable in class com.darwinsys.swingui.CalIcon
Font for displaying the time
dayNumbFM - Variable in class com.darwinsys.swingui.CalIcon
FontMetrics for displaying the time
dayNumbFont - Variable in class com.darwinsys.swingui.CalIcon
Font for displaying the time
days - Variable in class com.darwinsys.swingui.CalIcon
Days of the week
decr() - Method in class com.darwinsys.lang.MutableInteger
 
detailsDialog - Static variable in class com.darwinsys.swingui.ErrorUtil
Secondary dialog for the "Details..." button
doEndTag() - Method in class com.darwinsys.jsptags.BackRefTag
Invoked at the end tag boundary, does the work
doLayout(Container) - Method in class com.darwinsys.swingui.layout.ColumnLayout
Used internally: compute the layout and the maximal preferred width & height
TODO XXX NEED TO SCALE BY TARGSIZE?
doPrint(JFrame) - Method in interface com.darwinsys.macosui.PrintHandler
 
doSend() - Method in class com.darwinsys.mail.Mailer
Send the message.
doStartTag() - Method in class com.darwinsys.jsptags.LoggedInRoleTag
Invoked at the start tag boundary; does the work.
doStartTag() - Method in class com.darwinsys.jsptags.LoggedInTag
Invoked at the tag start boundary; does the work
doStartTag() - Method in class com.darwinsys.jsptags.LoggedInUserTag
Invoked at the tag start transition; does the work
doTag(PrintWriter, String, String) - Static method in class com.darwinsys.html.Tag
Output an body-content tag
done - Variable in class com.darwinsys.lang.GetOpt
Internal flag - whether we are done all the options
done - Variable in class com.darwinsys.swingui.Clock
 
dotag(PrintWriter, String) - Static method in class com.darwinsys.html.Tag
Output an empty tag
dump(DumpGetter) - Method in class com.darwinsys.io.Dumper
print one file, given an open InputStream

E

END - Static variable in class com.darwinsys.html.Tag
 
EntryLayout - class com.darwinsys.swingui.layout.EntryLayout.
A simple layout manager, for "Entry" areas ith e.g., a list of labels and their corresponding JTextFields.
EntryLayout(double[], int, int) - Constructor for class com.darwinsys.swingui.layout.EntryLayout
Construct an EntryLayout with widths and padding specified.
EntryLayout(double[]) - Constructor for class com.darwinsys.swingui.layout.EntryLayout
Construct an EntryLayout with widths and with default padding amounts.
EnumerationIterator - class com.darwinsys.util.EnumerationIterator.
A GOF Adapter to make instances of old Enumeration interface behave like new Iterator interface, so we only have to deal with one well-defined implementation of the Iterator pattern.
EnumerationIterator(Enumeration) - Constructor for class com.darwinsys.util.EnumerationIterator
Construct an EnumerationIterator from an old-style Enumeration.
ErrorUtil - class com.darwinsys.swingui.ErrorUtil.
Convenience class for fielding Exceptions in a Swing App.
ErrorUtil() - Constructor for class com.darwinsys.swingui.ErrorUtil
Public no-arg constructor for those who like simple instantiation.
ErrorUtil.DetailsDialog - class com.darwinsys.swingui.ErrorUtil.DetailsDialog.
Inner class Dialog to display the details of an Exception
ExecAndPrint - class com.darwinsys.lang.ExecAndPrint.
ExecAndPrint runs a program using Runtime.exec(), read the program's output, and returns its exit status.
ExecAndPrint() - Constructor for class com.darwinsys.lang.ExecAndPrint
 
endOfLine() - Method in class com.darwinsys.io.Dumper
Output the line's bytes and printables, send line end, and reset the two StringBuffers.
endTag(PrintWriter, String) - Static method in class com.darwinsys.html.Tag
Output an end tag
ensureCapacity(int) - Method in class com.darwinsys.util.IndexList
 
entrySet() - Method in class com.darwinsys.util.PropertiesMap
EntrySet (not implemented, returns null)

F

FileIO - class com.darwinsys.io.FileIO.
Some simple file I-O primitives reimplemented in Java.
FileProperties - class com.darwinsys.util.FileProperties.
The FileProperties class extends Properties, "a persistent set of properties [that] can be saved to a stream or loaded from a stream".
FileProperties(String) - Constructor for class com.darwinsys.util.FileProperties
Construct a FileProperties given a fileName.
FileProperties(String, Properties) - Constructor for class com.darwinsys.util.FileProperties
Construct a FileProperties given a fileName and a list of default properties.
FilterGUI - class com.darwinsys.swingui.FilterGUI.
FilterGUI implements a back-and-forth list, ie, two columns of items, in which items can be moved back and forth between them with "Add" and "Del" buttons.
FilterGUI(Object[], int) - Constructor for class com.darwinsys.swingui.FilterGUI
Construct the object including its GUI
FilterGUIListModel - class com.darwinsys.swingui.FilterGUIListModel.
FilterGUIListModel combines an ArrayList with a ListModel for ease of use.
fileName - Variable in class com.darwinsys.util.FileProperties
The name of the file this FileProperties represents.
fileNameArguments - Variable in class com.darwinsys.lang.GetOpt
The List of File Names found after args
format(Object, StringBuffer, FieldPosition) - Method in class com.darwinsys.lang.StringFormat
Format a String
format(Object, StringBuffer, FieldPosition) - Method in class com.darwinsys.util.ScaledNumberFormat
 
format(double) - Method in class com.darwinsys.util.ScaledNumberFormat
Format a double as a Scaled Numeral; just truncate to a long, and call format(long).
format(long) - Method in class com.darwinsys.util.ScaledNumberFormat
Format a given long as a Scaled Numeral.
from - Variable in class com.darwinsys.mail.Mailer
The sender's email address

G

GetOpt - class com.darwinsys.lang.GetOpt.
A class to implement UNIX-style (single-character) command line argument parsing.
GetOpt(GetOptDesc[]) - Constructor for class com.darwinsys.lang.GetOpt
 
GetOpt(String) - Constructor for class com.darwinsys.lang.GetOpt
 
GetOptDesc - class com.darwinsys.lang.GetOptDesc.
A GetOptDesc describes one argument that may be accepted by the program.
GetOptDesc(char, String, boolean) - Constructor for class com.darwinsys.lang.GetOptDesc
Construct a GetOpt option.
get() - Method in interface com.darwinsys.io.DumpGetter
 
get() - Method in class com.darwinsys.io.StreamDumpGetter
 
get(int) - Method in class com.darwinsys.util.IndexList
 
get(Object) - Method in class com.darwinsys.util.PropertiesMap
Get a given object
getBccList() - Method in class com.darwinsys.mail.Mailer
Get bcclist, as an array of Strings
getBody() - Method in class com.darwinsys.mail.Mailer
Get message
getCached(int) - Method in class com.darwinsys.swingui.ArrayListTableModel
Cache one most-recently-used item.
getCcList() - Method in class com.darwinsys.mail.Mailer
Get cclist, as an array of Strings
getColumnClass(int) - Method in class com.darwinsys.swingui.ArrayListTableModel
Get the class of a given column, from the list provided by subclass
getColumnName(int) - Method in class com.darwinsys.swingui.ArrayListTableModel
Get the name of a given column, from the list provided by subclass
getConfigFileName() - Static method in class com.darwinsys.sql.ConnectionUtil
Returns the full path of the configuration file being used.
getConnection(String) - Static method in class com.darwinsys.sql.ConnectionUtil
Get a Connection for the given config using the default or set property file name
getConnection(Properties, String) - Static method in class com.darwinsys.sql.ConnectionUtil
Get a Connection for the given config name from a provided Properties
getDevNull() - Static method in class com.darwinsys.lang.SysDep
Return the name of the Null device on platforms which support it, or "jnk" otherwise.
getElementAt(int) - Method in class com.darwinsys.swingui.FilterGUIListModel
 
getFileName() - Method in class com.darwinsys.util.FileProperties
 
getFilenameList() - Method in class com.darwinsys.lang.GetOpt
Get the list of filename-like arguments after options
getFrom() - Method in class com.darwinsys.mail.Mailer
Get from
getIconHeight() - Method in class com.darwinsys.swingui.CalIcon
 
getIconWidth() - Method in class com.darwinsys.swingui.CalIcon
 
getKey() - Method in class com.darwinsys.util.IdMapEntry
 
getLabel() - Method in class com.darwinsys.swingui.LabelText
Get the text displayed in the label
getLabelAlignment() - Method in class com.darwinsys.swingui.LabelText
Get the label's horizontal alignment
getMinimumSize() - Method in class com.darwinsys.swingui.CalIcon
 
getMinimumSize() - Method in class com.darwinsys.swingui.Clock
 
getNext() - Static method in class com.darwinsys.security.PassPhrase
 
getOptInd() - Method in class com.darwinsys.lang.GetOpt
Return optind, the index into args of the last option we looked at
getPreferredSize() - Method in class com.darwinsys.swingui.CalIcon
 
getPreferredSize() - Method in class com.darwinsys.swingui.Clock
 
getPreferredSize() - Method in class com.darwinsys.swingui.layout.ColumnLayout.Spacer
 
getRowCount() - Method in class com.darwinsys.swingui.ArrayListTableModel
Returns the number of objects in the list.
getSelected() - Method in class com.darwinsys.swingui.FilterGUI
Retrieve the list of currently-selected objects
getSize() - Method in class com.darwinsys.swingui.FilterGUIListModel
 
getString(ResourceBundle, String, String) - Static method in class com.darwinsys.swingui.I18N
Just get a String (for dialogs, labels, etc.)
getSubject() - Method in class com.darwinsys.mail.Mailer
Get subject
getTable() - Method in class com.darwinsys.swingui.ArrayListTablePanel
Return a reference to the JTable.
getText() - Method in class com.darwinsys.swingui.LabelText
Get the text displayed in the text field
getToList() - Method in class com.darwinsys.mail.Mailer
Get tolist, as an array of Strings
getValue() - Method in class com.darwinsys.lang.MutableInteger
 
getValue() - Method in class com.darwinsys.util.IdMapEntry
 
getopt(String[]) - Method in class com.darwinsys.lang.GetOpt
The true heart of getopt, whether used old way or new way: returns one argument; call repeatedly until it returns DONE.
goodChar - Static variable in class com.darwinsys.security.PassPhrase
 

H

HPAD - Static variable in class com.darwinsys.swingui.layout.EntryLayout
The default padding
hPadding - Variable in class com.darwinsys.swingui.layout.ColumnLayout
The X padding for this ColumnLayout
handle(Throwable) - Method in class com.darwinsys.swingui.ErrorUtil
Convenience routine for use with AWT's dispatch thread.
hasNext() - Method in class com.darwinsys.util.ArrayIterator
Tell if there are any more elements.
hasNext() - Method in class com.darwinsys.util.EnumerationIterator
Fulfuls the general contract of Iterator.hasNext(), that is, return true as long as there is at least one more item in the Iterator.
hashCode() - Method in class com.darwinsys.util.IndexList
 
hpad - Variable in class com.darwinsys.swingui.layout.EntryLayout
The actual padding
hyperlinkUpdate(HyperlinkEvent) - Method in class com.darwinsys.swingui.SimpleHelp
Notification of a change relative to a hyperlink.

I

I18N - class com.darwinsys.swingui.I18N.
Set of convenience routines for internationalized code.
I18N() - Constructor for class com.darwinsys.swingui.I18N
 
IdMapEntry - class com.darwinsys.util.IdMapEntry.
An IdMapEntry is one int-String pair, for example, an "id" or primary key in a database and a name or description of the item in the named row.
IdMapEntry(int, String) - Constructor for class com.darwinsys.util.IdMapEntry
 
IndexList - class com.darwinsys.util.IndexList.
A general-purpose List, in which objects keep their identity (index), that is, insert() operations do not renumber remaining objects.
IndexList() - Constructor for class com.darwinsys.util.IndexList
 
IndexList(int) - Constructor for class com.darwinsys.util.IndexList
 
InsertException - exception com.darwinsys.database.InsertException.
Checked Exception for failed insertions
InsertException() - Constructor for class com.darwinsys.database.InsertException
 
InsertException(String) - Constructor for class com.darwinsys.database.InsertException
 
IntlAction - class com.darwinsys.swingui.IntlAction.
Class for creating an Internationalized Swing Action.
IntlAction(ResourceBundle, String, ImageIcon) - Constructor for class com.darwinsys.swingui.IntlAction
Convenience routing to make a Swing Action.
im - Variable in class com.darwinsys.swingui.Splash
 
incr() - Method in class com.darwinsys.lang.MutableInteger
 
incr(int) - Method in class com.darwinsys.lang.MutableInteger
 
index - Variable in class com.darwinsys.util.ArrayIterator
 
indexOf(StringBuffer, String, int) - Static method in class com.darwinsys.lang.StringUtil
Backwards-compability: StringBuffer.indexOf(String, int) added in JDK 1-4, but we need it here and one of my servers is on JDK 1-3.
indexOf(Object) - Method in class com.darwinsys.util.IndexList
Find the location where this object is referenced, or null
inputStreamToString(InputStream) - Static method in class com.darwinsys.io.FileIO
Read the content of a Stream into a String
invalidateCache() - Method in class com.darwinsys.swingui.ArrayListTableModel
Invalidate the cache.
isCellEditable(int, int) - Method in class com.darwinsys.swingui.ArrayListTableModel
All cells are editable.
isComplete() - Method in class com.darwinsys.mail.Mailer
Check if all required fields have been set before sending.
isEmpty() - Method in class com.darwinsys.util.IndexList
 
isEmpty() - Method in class com.darwinsys.util.PropertiesMap
Return true if the Map is empty
isEnabled(String) - Static method in class com.darwinsys.util.Debug
Static method to see if a given category of debugging is enabled.
isMacOS() - Static method in class com.darwinsys.macosui.MacOSUtil
Return true if we are running MacOS; needs a few GUI tweaks if so.
isVerbose() - Method in class com.darwinsys.mail.Mailer
Get verbose
iterator() - Method in class com.darwinsys.util.IndexList
 

J

JUST_CENTER - Static variable in class com.darwinsys.lang.StringFormat
 
JUST_CENTRE - Static variable in class com.darwinsys.lang.StringFormat
 
JUST_LEFT - Static variable in class com.darwinsys.lang.StringFormat
 
JUST_RIGHT - Static variable in class com.darwinsys.lang.StringFormat
Constant for right-justified Strings.

K

keySet() - Method in class com.darwinsys.util.PropertiesMap
Return the set of keys

L

LB - Static variable in class com.darwinsys.html.Tag
 
LabelText - class com.darwinsys.swingui.LabelText.
A label and text combination, inspired by the LabelText control in Guy Eddon's ActiveX Components book (2nd Edition, page 203).
LabelText() - Constructor for class com.darwinsys.swingui.LabelText
Construct the object with no initial values.
LabelText(String) - Constructor for class com.darwinsys.swingui.LabelText
Construct the object with the label and a default textfield size
LabelText(String, int) - Constructor for class com.darwinsys.swingui.LabelText
Construct the object with given label and textfield size
LoggedInRoleTag - class com.darwinsys.jsptags.LoggedInRoleTag.
LoggedInRole - include body content if user is logged in as a user that has this "role".
LoggedInRoleTag() - Constructor for class com.darwinsys.jsptags.LoggedInRoleTag
 
LoggedInTag - class com.darwinsys.jsptags.LoggedInTag.
LoggedInUser - include body content if the user is logged in as "user".
LoggedInTag() - Constructor for class com.darwinsys.jsptags.LoggedInTag
 
LoggedInUserTag - class com.darwinsys.jsptags.LoggedInUserTag.
LoggedInUser - include body content if the user is logged in as "user".
LoggedInUserTag() - Constructor for class com.darwinsys.jsptags.LoggedInUserTag
 
lastIndexOf(Object) - Method in class com.darwinsys.util.IndexList
 
layoutContainer(Container) - Method in class com.darwinsys.swingui.layout.CircleLayout
Lays out the container in the specified panel.
layoutContainer(Container) - Method in class com.darwinsys.swingui.layout.ColumnLayout
Called by AWT to lay out the components in the target Container at its current size.
layoutContainer(Container) - Method in class com.darwinsys.swingui.layout.EntryLayout
Lays out the container in the specified panel.
layoutContainer(Container) - Method in class com.darwinsys.swingui.layout.RelativeLayout
Called by AWT to lay out the components in the target Container at its current size.
list - Variable in class com.darwinsys.swingui.ArrayListTablePanel
The list of objects we are viewing
listIterator() - Method in class com.darwinsys.util.IndexList
 
listIterator(int) - Method in class com.darwinsys.util.IndexList
 
load() - Method in class com.darwinsys.util.FileProperties
Load the properties from the saved filename.
load(String) - Method in class com.darwinsys.util.PropertiesMap
 

M

MIN_LENGTH - Static variable in class com.darwinsys.security.PassPhrase
Minimum length for a decent password
MacOSAppAdapter - class com.darwinsys.macosui.MacOSAppAdapter.
The only os-dependant part of com.darwinsys, this is the adapter class to handle MacOS's "different" way of doing About Box, Quit item in App menu, Preferences, and so on.
MacOSAppAdapter(JFrame, AboutBoxHandler, PrefsHandler, PrintHandler, ShutdownHandler) - Constructor for class com.darwinsys.macosui.MacOSAppAdapter
Construct a MacOSAppAdapter.
MacOSUtil - class com.darwinsys.macosui.MacOSUtil.
Utilities for GUI work.
MacOSUtil() - Constructor for class com.darwinsys.macosui.MacOSUtil
 
Mailer - class com.darwinsys.mail.Mailer.
Mailer.
Mailer() - Constructor for class com.darwinsys.mail.Mailer
 
MkAccessors - class com.darwinsys.util.MkAccessors.
MkAccessors is a utility to make a series of Java "accessors" (set/get methods a la JavaBeans pattern).
MutableInteger - class com.darwinsys.lang.MutableInteger.
A MutableInteger is like an Integer but mutable, to avoid the excess object creation involved in c = new Integer(c.getInt()+1) which can get expensive if done a lot.
MutableInteger(int) - Constructor for class com.darwinsys.lang.MutableInteger
 
MutableInteger() - Constructor for class com.darwinsys.lang.MutableInteger
 
mailHost - Variable in class com.darwinsys.mail.Mailer
The SMTP relay host
main(String[]) - Static method in class com.darwinsys.io.Dumper
 
main(String[]) - Static method in class com.darwinsys.security.PassPhrase
 
main(String[]) - Static method in class com.darwinsys.swingui.CalIcon
 
main(String[]) - Static method in class com.darwinsys.util.MkAccessors
make an accessor for each field named in the command line
maximize(Window) - Static method in class com.darwinsys.swingui.UtilGUI
Maximize a window, the hard way.
methods - Variable in class com.darwinsys.swingui.ArrayListTableModel
The list of Method object
minh - Variable in class com.darwinsys.swingui.layout.ColumnLayout
The minimum height of each component
minimumLayoutSize(Container) - Method in class com.darwinsys.swingui.layout.CircleLayout
Find the minimum Dimension for the specified container given the components therein.
minimumLayoutSize(Container) - Method in class com.darwinsys.swingui.layout.ColumnLayout
Called from AWT to calculate the minimum size dimensions for the target panel given the components in it.
minimumLayoutSize(Container) - Method in class com.darwinsys.swingui.layout.EntryLayout
Find the minimum Dimension for the specified container given the components therein.
minimumLayoutSize(Container) - Method in class com.darwinsys.swingui.layout.RelativeLayout
Called from AWT to calculate the minimum size dimensions for the target panel given the components in it.
minw - Variable in class com.darwinsys.swingui.layout.ColumnLayout
The minimum width of each component
mkButton(ResourceBundle, String) - Static method in class com.darwinsys.swingui.I18N
Convenience routine to make a JButton
mkDialog(ResourceBundle, JFrame, String, String, int) - Static method in class com.darwinsys.swingui.I18N
Show a JOptionPane message dialog
mkMenu(ResourceBundle, String) - Static method in class com.darwinsys.swingui.I18N
Convenience routine to make a JMenu
mkMenuItem(ResourceBundle, String, String) - Static method in class com.darwinsys.swingui.I18N
Convenience routine to make a JMenuItem
model - Variable in class com.darwinsys.swingui.ArrayListTablePanel
The JTable's data (model)
monNameFM - Variable in class com.darwinsys.swingui.CalIcon
FontMetrics for displaying the time
monNameFont - Variable in class com.darwinsys.swingui.CalIcon
Font for displaying the time
mons - Variable in class com.darwinsys.swingui.CalIcon
 
myCal - Variable in class com.darwinsys.swingui.CalIcon
Our Calendar
myFont - Variable in class com.darwinsys.swingui.LabelText
The font to use

N

next() - Method in class com.darwinsys.util.ArrayIterator
Returns the next element from the data
next() - Method in class com.darwinsys.util.EnumerationIterator
Fulfuls the general contract of Iterator.next(), that is, returns the next element in the Iterator.
num - Variable in class com.darwinsys.io.Dumper
 

O

objectClass - Variable in class com.darwinsys.swingui.ArrayListTablePanel
The kind of thing that is in the list.
openFile(String) - Static method in class com.darwinsys.io.FileIO
Open a BufferedReader from a named file.
optArg() - Method in class com.darwinsys.lang.GetOpt
Retrieve the current option argument; Java variant spelling.
optarg - Variable in class com.darwinsys.lang.GetOpt
The current option argument.
optarg() - Method in class com.darwinsys.lang.GetOpt
Retrieve the current option argument; UNIX variant spelling.
optind - Variable in class com.darwinsys.lang.GetOpt
Where we are in the options
options - Variable in class com.darwinsys.lang.GetOpt
The set of characters to look for

P

PassPhrase - class com.darwinsys.security.PassPhrase.
Cheap, lightweight, low-security password generator.
PassPhrase() - Constructor for class com.darwinsys.security.PassPhrase
 
PrefsHandler - interface com.darwinsys.macosui.PrefsHandler.
Handler for part of MacOS UI extensions
PrintHandler - interface com.darwinsys.macosui.PrintHandler.
Handler for part of MacOS UI extensions
PropertiesMap - class com.darwinsys.util.PropertiesMap.
PropertiesMap -- a Map that loads from a Properties file, but unlike Properties, preserves the ordering of the original file.
PropertiesMap() - Constructor for class com.darwinsys.util.PropertiesMap
 
pad(StringBuffer, int) - Method in class com.darwinsys.lang.StringFormat
 
paint(Graphics) - Method in class com.darwinsys.swingui.CalIcon
Paint: draw the calendar page in the JComponent.
paint(Graphics) - Method in class com.darwinsys.swingui.Clock
 
paint(Graphics) - Method in class com.darwinsys.swingui.Splash
 
paintIcon(Component, Graphics, int, int) - Method in class com.darwinsys.swingui.CalIcon
paintIcon: draw the calendar page.
parseArguments(String[]) - Method in class com.darwinsys.lang.GetOpt
Modern way of using GetOpt: call this once and get all options.
parseInt(String) - Static method in class com.darwinsys.lang.MutableInteger
 
parseObject(String, ParsePosition) - Method in class com.darwinsys.lang.StringFormat
ParseObject is required by Format interface, but not useful here.
parseObject(String, ParsePosition) - Method in class com.darwinsys.util.ScaledNumberFormat
Parse a String expected to contain a number in Human Scaled Form.
parseObject(String) - Method in class com.darwinsys.util.ScaledNumberFormat
 
preferredLayoutSize(Container) - Method in class com.darwinsys.swingui.layout.CircleLayout
Calculates the preferred size dimensions for the specified panel given the components in the specified parent container.
preferredLayoutSize(Container) - Method in class com.darwinsys.swingui.layout.ColumnLayout
Called by AWT to compute the preferred size for the target panel given our list of the components that it contains.
preferredLayoutSize(Container) - Method in class com.darwinsys.swingui.layout.EntryLayout
Calculates the preferred size dimensions for the specified panel given the components in the specified parent container.
preferredLayoutSize(Container) - Method in class com.darwinsys.swingui.layout.RelativeLayout
Called by AWT to compute the preferred size for the target panel given our list of the components that it contains.
println(String, String) - Static method in class com.darwinsys.util.Debug
Static method to println a given message if the given category is enabled for debugging, as reported by isEnabled.
println(String, Object) - Static method in class com.darwinsys.util.Debug
Static method to println an arbitrary Objecct if the given category is enabled for debugging, as reported by isEnabled.
process(String, PrintWriter) - Static method in class com.darwinsys.util.MkAccessors
Generate the set and get methods for field "fld"
put(Object, Object) - Method in class com.darwinsys.util.PropertiesMap
Add a given object into this Map.
putAll(Map) - Method in class com.darwinsys.util.PropertiesMap
Merge all the values from another map into this map.

R

RB - Static variable in class com.darwinsys.html.Tag
 
RBH - Variable in class com.darwinsys.swingui.CalIcon
The size of the inner white box
RBW - Variable in class com.darwinsys.swingui.CalIcon
The size of the inner white box
RBX - Variable in class com.darwinsys.swingui.CalIcon
The x location of the inner box
RBY - Variable in class com.darwinsys.swingui.CalIcon
The y location of the inner box
RelativeLayout - class com.darwinsys.swingui.layout.RelativeLayout.
RelativeLayout, a Relative Layout Manager for Java J2SE.
RelativeLayout(int, int) - Constructor for class com.darwinsys.swingui.layout.RelativeLayout
Constructs an RelativeLayout, given original hard-coded size of panel.
r - Static variable in class com.darwinsys.lang.ExecAndPrint
Need a Runtime object for any of these methods
r - Static variable in class com.darwinsys.security.PassPhrase
The random number generator.
readLine(String) - Static method in class com.darwinsys.io.FileIO
Open a file and read the first line from it.
readUnsignedInt(DataInput) - Static method in class com.darwinsys.io.DataIO
Read an unsigned int from a DataInput
readerToString(Reader) - Static method in class com.darwinsys.io.FileIO
Read the entire content of a Reader into a String
register() - Method in class com.darwinsys.macosui.MacOSAppAdapter
Method to register this handler with Apple's event manager, calling addApplicationListener in parent class.
remove(int) - Method in class com.darwinsys.swingui.FilterGUIListModel
 
remove(Object) - Method in class com.darwinsys.swingui.FilterGUIListModel
 
remove() - Method in class com.darwinsys.util.ArrayIterator
Remove the object that next() just returned.
remove() - Method in class com.darwinsys.util.EnumerationIterator
Remove is not implemented (optional method).
remove(Object) - Method in class com.darwinsys.util.IndexList
remove() simply sets the given value to null.
remove(int) - Method in class com.darwinsys.util.IndexList
remove() simply sets the given value to null.
remove(Object) - Method in class com.darwinsys.util.PropertiesMap
Remove a given object
removeActionListener(ActionListener) - Method in class com.darwinsys.swingui.LabelText
Remove an ActionListener from the textfield.
removeAll(Collection) - Method in class com.darwinsys.util.IndexList
removeAll removes all the elements in a Collection from this List
NOT IMPLEMENTED.
removeLayoutComponent(Component) - Method in class com.darwinsys.swingui.layout.CircleLayout
Removes the specified component from the layout; required by LayoutManager, but does nothing.
removeLayoutComponent(Component) - Method in class com.darwinsys.swingui.layout.ColumnLayout
Called by AWT to remove a given component from the layout.
removeLayoutComponent(Component) - Method in class com.darwinsys.swingui.layout.EntryLayout
Removes the specified component from the layout; required by LayoutManager, but does nothing.
removeLayoutComponent(Component) - Method in class com.darwinsys.swingui.layout.RelativeLayout
Called by AWT to remove a given component from the layout.
removeListDataListener(ListDataListener) - Method in class com.darwinsys.swingui.FilterGUIListModel
 
reqHgt - Variable in class com.darwinsys.swingui.layout.RelativeLayout
requested absolute height of canvas
reqWid - Variable in class com.darwinsys.swingui.layout.RelativeLayout
requested absolute width of canvas
retainAll(Collection) - Method in class com.darwinsys.util.IndexList
 
rewind() - Method in class com.darwinsys.lang.GetOpt
Reset this GetOpt parser
run(String) - Static method in class com.darwinsys.lang.ExecAndPrint
Run the command given as a String, printing its output to System.out
run(String, Writer) - Static method in class com.darwinsys.lang.ExecAndPrint
Run the command given as a String, print its output to "out"
run(String[]) - Static method in class com.darwinsys.lang.ExecAndPrint
Run the command given as a String[], print its output to System.out
run(String[], Writer) - Static method in class com.darwinsys.lang.ExecAndPrint
Run the command given as a String[], print its output to "out"

S

SIZE - Variable in class com.darwinsys.swingui.CalIcon
The size shalle be 64x64.
ScaledNumberFormat - class com.darwinsys.util.ScaledNumberFormat.
Format numbers scaled for human comprehension.
ScaledNumberFormat() - Constructor for class com.darwinsys.util.ScaledNumberFormat
 
ShutdownHandler - interface com.darwinsys.macosui.ShutdownHandler.
Handler for part of MacOS UI extensions
SimpleHelp - class com.darwinsys.swingui.SimpleHelp.
Simple Help Frame based on JFC JEditorPane.
SimpleHelp(String, String) - Constructor for class com.darwinsys.swingui.SimpleHelp
 
Splash - class com.darwinsys.swingui.Splash.
A simple Splash screen.
Splash(JFrame, String, String) - Constructor for class com.darwinsys.swingui.Splash
 
StreamDumpGetter - class com.darwinsys.io.StreamDumpGetter.
A DumpGetter that reads from a file.
StreamDumpGetter(InputStream) - Constructor for class com.darwinsys.io.StreamDumpGetter
 
StringFormat - class com.darwinsys.lang.StringFormat.
Bare-minimum "String formatter": format a string to a given maximum length with left, centre, or right justification.
StringFormat(int, int) - Constructor for class com.darwinsys.lang.StringFormat
 
StringUtil - class com.darwinsys.lang.StringUtil.
Miscellaneous string utilities: arrayToCommaList - print an array with commas, "and"; subst - simple substitute (like 1-4's String.subst but not RE-based) .
StringUtil() - Constructor for class com.darwinsys.lang.StringUtil
 
SysDep - class com.darwinsys.lang.SysDep.
Some things that are System Dependent.
SysDep() - Constructor for class com.darwinsys.lang.SysDep
 
save() - Method in class com.darwinsys.util.FileProperties
Save the properties to disk for later loading.
send(String, String, String, String, String) - Static method in class com.darwinsys.mail.Mailer
Convenience method that does it all with one call.
session - Variable in class com.darwinsys.mail.Mailer
The javamail session object.
set(int, Object) - Method in class com.darwinsys.swingui.FilterGUIListModel
 
set(int, Object) - Method in class com.darwinsys.util.IndexList
 
setBccList(ArrayList) - Method in class com.darwinsys.mail.Mailer
Set bcc list to an ArrayList of Strings
setBccList(String) - Method in class com.darwinsys.mail.Mailer
Set bcc as a string like "tom, mary, robin@host".
setBody(String) - Method in class com.darwinsys.mail.Mailer
Set message
setCcList(ArrayList) - Method in class com.darwinsys.mail.Mailer
Set cc list to an ArrayList of Strings
setCcList(String) - Method in class com.darwinsys.mail.Mailer
Set cc as a string like "tom, mary, robin@host".
setConfigFileName(String) - Static method in class com.darwinsys.sql.ConnectionUtil
Sets the full path of the config file to read.
setData(Object[]) - Method in class com.darwinsys.util.ArrayIterator
(Re)set the data array to the given array, and reset the iterator.
setFrom(String) - Method in class com.darwinsys.mail.Mailer
Set from
setLabel(String) - Method in class com.darwinsys.jsptags.BackRefTag
 
setLabel(String) - Method in class com.darwinsys.swingui.LabelText
Set the text displayed in the label
setLabelAlignment(int) - Method in class com.darwinsys.swingui.LabelText
Set the label's horizontal alignment
setMacOS(String) - Static method in class com.darwinsys.macosui.MacOSUtil
Set a few common properties for the given application if we are running under MacOS.
setRole(String) - Method in class com.darwinsys.jsptags.LoggedInRoleTag
 
setServer(String) - Method in class com.darwinsys.mail.Mailer
 
setSubject(String) - Method in class com.darwinsys.mail.Mailer
Set subject
setSurroundingtag(String) - Method in class com.darwinsys.jsptags.BackRefTag
 
setText(String) - Method in class com.darwinsys.swingui.LabelText
Set the text displayed in the text field
setToList(ArrayList) - Method in class com.darwinsys.mail.Mailer
Set to list to an ArrayList of Strings
setToList(String) - Method in class com.darwinsys.mail.Mailer
Set to as a string like "tom, mary, robin@host".
setUser(String) - Method in class com.darwinsys.jsptags.LoggedInUserTag
 
setValue(int) - Method in class com.darwinsys.lang.MutableInteger
 
setVerbose(boolean) - Method in class com.darwinsys.mail.Mailer
Set verbose
showAboutBox(JFrame) - Method in interface com.darwinsys.macosui.AboutBoxHandler
 
showExceptions(Component, Throwable) - Static method in class com.darwinsys.swingui.ErrorUtil
Show the given Exception (and any nested Exceptions) in JOptionPane(s).
showPrefsDialog(JFrame) - Method in interface com.darwinsys.macosui.PrefsHandler
 
showTime - Variable in class com.darwinsys.swingui.CalIcon
True if user wants the time shown
shutdown(JFrame) - Method in interface com.darwinsys.macosui.ShutdownHandler
 
size() - Method in class com.darwinsys.util.IndexList
 
size() - Method in class com.darwinsys.util.PropertiesMap
Return the number of entries in the Map
source - Variable in class com.darwinsys.swingui.FilterGUIListModel
 
startTag(PrintWriter, String) - Static method in class com.darwinsys.html.Tag
Output a start tag
stop() - Method in class com.darwinsys.swingui.Clock
 
stringToFile(String, String) - Static method in class com.darwinsys.io.FileIO
Write a String as the entire content of a File
subList(int, int) - Method in class com.darwinsys.util.IndexList
 
subject - Variable in class com.darwinsys.mail.Mailer
The subject of the message.
subst(String, String, String) - Static method in class com.darwinsys.lang.StringUtil
Simple string substitution (not RE-based).

T

Tag - class com.darwinsys.html.Tag.
A series of methods for writing HTML/XML tags.
Tag() - Constructor for class com.darwinsys.html.Tag
 
table - Variable in class com.darwinsys.swingui.ArrayListTablePanel
The JTable itself
takesArgument - Variable in class com.darwinsys.lang.GetOptDesc
True if this option needs an argument after it
tf - Variable in class com.darwinsys.swingui.Clock
 
tflz - Variable in class com.darwinsys.swingui.Clock
 
theLabel - Variable in class com.darwinsys.swingui.LabelText
The label component
theTextField - Variable in class com.darwinsys.swingui.LabelText
The text field component
toArray() - Method in class com.darwinsys.util.IndexList
Return the collection as an Array of Object
toArray(Object[]) - Method in class com.darwinsys.util.IndexList
Return the collection as an Array of newData's type
toList - Variable in class com.darwinsys.mail.Mailer
The recipient ("To:"), as Strings.
toString() - Method in class com.darwinsys.lang.MutableInteger
 
toString(int) - Static method in class com.darwinsys.lang.MutableInteger
 
tokenize(String) - Method in class com.darwinsys.mail.Mailer
Convert a list of addresses to an ArrayList.
txt - Variable in class com.darwinsys.io.Dumper
 

U

UtilGUI - class com.darwinsys.swingui.UtilGUI.
Utilities for GUI work.
UtilGUI() - Constructor for class com.darwinsys.swingui.UtilGUI
 

V

VPAD - Static variable in class com.darwinsys.swingui.layout.EntryLayout
The default padding
vPadding - Variable in class com.darwinsys.swingui.layout.ColumnLayout
The Y padding for this ColumnLayout
validWidths - Variable in class com.darwinsys.swingui.layout.EntryLayout
True if the list of widths was valid.
values() - Method in class com.darwinsys.util.PropertiesMap
Return a Collection containing the values
verbose - Variable in class com.darwinsys.mail.Mailer
The verbosity setting
vpad - Variable in class com.darwinsys.swingui.layout.EntryLayout
The actual padding

W

WindowCloser - class com.darwinsys.swingui.WindowCloser.
Deprecated. For simple closing, just use JFrame.setDefaultCloseOperation().
WindowCloser(Window) - Constructor for class com.darwinsys.swingui.WindowCloser
Deprecated. Construct a WindowCloser that doesn't exit, just closes the window
WindowCloser(Window, boolean) - Constructor for class com.darwinsys.swingui.WindowCloser
Deprecated. Construct a WindowCloser with control over whether it exits
widthPercentages - Variable in class com.darwinsys.swingui.layout.EntryLayout
The array of widths, as decimal fractions (0.4 == 40%, etc.).
windowClosing(WindowEvent) - Method in class com.darwinsys.swingui.WindowCloser
Deprecated. Called by AWT when the user tries to close the window

X

X_AXIS - Static variable in class com.darwinsys.swingui.layout.ColumnLayout
Constant for X AXIS (horizontal column) alignment

Y

Y_AXIS - Static variable in class com.darwinsys.swingui.layout.ColumnLayout
Constant for Y AXIS (vertical column) alignment

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

Copyright © 2000-2003 Ian F. Darwin. See license.html for usage license.