Skip navigation links
A B C D E F G H I L M N O P R S T V W X Y 

A

accept(File) - Method in class net.mtu.eggplant.util.BasicFileFilter
 
add(E) - Method in class net.mtu.eggplant.util.gui.SortedListModel
Add o to the list.
addCollectionListener(CollectionListener) - Method in class net.mtu.eggplant.util.event.CollectionSupport
 
addDateListener(PropertyChangeListener) - Method in class net.mtu.eggplant.util.gui.DateEditor
 
addField(int) - Method in class net.mtu.eggplant.util.gui.DateEditor
 
addFields(Locale) - Method in class net.mtu.eggplant.util.gui.DateEditor
 
addLayoutComponent(String, Component) - Method in class net.mtu.eggplant.util.gui.BetterBoxLayout
 
addLayoutComponent(Component, Object) - Method in class net.mtu.eggplant.util.gui.BetterBoxLayout
 
addPropertyChangeListener(PropertyChangeListener) - Method in interface net.mtu.eggplant.util.Bean
 
addPropertyChangeListener(String, PropertyChangeListener) - Method in interface net.mtu.eggplant.util.Bean
 
addPropertyChangeListener(PropertyChangeListener) - Method in class net.mtu.eggplant.util.DefaultBean
 
addPropertyChangeListener(String, PropertyChangeListener) - Method in class net.mtu.eggplant.util.DefaultBean
 
AMPM - Static variable in class net.mtu.eggplant.util.gui.DateEditor
 
asList() - Method in class net.mtu.eggplant.xml.NodelistElementCollectionAdapter
Walks the iterator and converts to a LinkedList.

B

BasicFileFilter - Class in net.mtu.eggplant.util
This class makes it easy to accept files by extension.
BasicFileFilter(String, String[]) - Constructor for class net.mtu.eggplant.util.BasicFileFilter
Create a Filter filter with description and allowing files with extensions in the list extensions.
BasicFileFilter(String, String) - Constructor for class net.mtu.eggplant.util.BasicFileFilter
Create a Filter filter with description and allowing files with extensions equal to extension as well as directories (for traversal).
basicGUIMain(Component, boolean) - Static method in class net.mtu.eggplant.util.gui.GraphicsUtils
Defaults title to null.
basicGUIMain(Component, boolean, String) - Static method in class net.mtu.eggplant.util.gui.GraphicsUtils
a basic main for testing a graphical class.
BasicNamed - Class in net.mtu.eggplant.util
generic class that allows objects to have names
BasicNamed(String) - Constructor for class net.mtu.eggplant.util.BasicNamed
standard constructor
BasicWindowMonitor - Class in net.mtu.eggplant.util.gui
basic window adapter for use in mains for testing.
BasicWindowMonitor() - Constructor for class net.mtu.eggplant.util.gui.BasicWindowMonitor
 
Bean - Interface in net.mtu.eggplant.util
Basic interface to add property change support.
BetterBoxLayout - Class in net.mtu.eggplant.util.gui
Lets box be it's preferred size and lays out components inside accordingly.
BetterBoxLayout() - Constructor for class net.mtu.eggplant.util.gui.BetterBoxLayout
Create a BetterBoxLayout with a HORIZONTAL orientation, ie.
BetterBoxLayout(BetterBoxLayout.BetterBoxLayoutOrientation) - Constructor for class net.mtu.eggplant.util.gui.BetterBoxLayout
Create a BetterBoxLayout with given orientation.

C

centerWindow(Window) - Static method in class net.mtu.eggplant.util.gui.GraphicsUtils
Centers the window on the screen.
check(int, String) - Method in class net.mtu.eggplant.util.gui.DateEditor
 
close() - Method in class net.mtu.eggplant.io.LogWriter
 
close(Statement) - Static method in class net.mtu.eggplant.util.sql.SQLFunctions
Close stmt and ignore SQLExceptions.
close(PreparedStatement) - Static method in class net.mtu.eggplant.util.sql.SQLFunctions
Close prep and ignore SQLExceptions.
close(ResultSet) - Static method in class net.mtu.eggplant.util.sql.SQLFunctions
Close rs and ignore SQLExceptions.
close(Connection) - Static method in class net.mtu.eggplant.util.sql.SQLFunctions
Close connection and ignore SQLExceptions.
CollectionEvent - Class in net.mtu.eggplant.util.event
 
CollectionEvent(Object, Collection<?>) - Constructor for class net.mtu.eggplant.util.event.CollectionEvent
 
CollectionListener - Interface in net.mtu.eggplant.util.event
Listener for events fired on collections that change.
CollectionSupport - Class in net.mtu.eggplant.util.event
Adds support for Collection events.
CollectionSupport(Object) - Constructor for class net.mtu.eggplant.util.event.CollectionSupport
 
compareBooleans(boolean, boolean) - Static method in class net.mtu.eggplant.util.ComparisonUtils
true is always greater than false.
compareDocuments(Document, Document) - Static method in class net.mtu.eggplant.xml.XMLUtils
Compare two documents and check if they are the same or not.
compareDoubles(double, double) - Static method in class net.mtu.eggplant.util.ComparisonUtils
Compare two doubles.
compareFloats(float, float) - Static method in class net.mtu.eggplant.util.ComparisonUtils
Compare two floats.
compareIntegers(long, long) - Static method in class net.mtu.eggplant.util.ComparisonUtils
Compare two non-floating point numbers.
compareStrings(String, String) - Static method in class net.mtu.eggplant.util.ComparisonUtils
Compare two Strings, null is allowed and is greater than every non-null String.
ComparisonUtils - Class in net.mtu.eggplant.util
Handy comparision routines.
copyDate(Date) - Static method in class net.mtu.eggplant.util.DateUtils
Copy a Date handling null.
createFields() - Method in class net.mtu.eggplant.util.gui.DateEditor
 

D

DateEditor - Class in net.mtu.eggplant.util.gui
TODO: fix am/pm increment modify check method to handle am/pm modify check method to check for what fields are visible test removing odd fields
DateEditor(Locale, Calendar, boolean, boolean, boolean, boolean, boolean, boolean, boolean) - Constructor for class net.mtu.eggplant.util.gui.DateEditor
standard constructor
DATESEPARATOR - Static variable in class net.mtu.eggplant.util.gui.DateEditor
 
DateUtils - Class in net.mtu.eggplant.util
Utilities for working with dates in Java.
DAY - Static variable in class net.mtu.eggplant.util.gui.DateEditor
 
DEFAULT_PORT - Static variable in class net.mtu.eggplant.util.network.TCPServer
 
DefaultBean - Class in net.mtu.eggplant.util
Basic class to add property change support.
DefaultBean() - Constructor for class net.mtu.eggplant.util.DefaultBean
 
DefaultBean(Object) - Constructor for class net.mtu.eggplant.util.DefaultBean
Creates a default bean with source as the source of all events.
DefaultNamed - Class in net.mtu.eggplant.util
generic class that allows objects to have names and listeners
DefaultNamed(String) - Constructor for class net.mtu.eggplant.util.DefaultNamed
standard constructor
depopulate() - Method in class net.mtu.eggplant.util.sql.SQLConnectionDialog
pull the data out of the dialog and store it internally, then build the connection object
DOCUMENT_BUILDER - Static variable in class net.mtu.eggplant.xml.XMLUtils
 
dragDropEnd(DragSourceDropEvent) - Method in class net.mtu.eggplant.util.gui.dnd.DragSourceAdapter
 
dragEnter(DragSourceDragEvent) - Method in class net.mtu.eggplant.util.gui.dnd.DragSourceAdapter
 
dragExit(DragSourceEvent) - Method in class net.mtu.eggplant.util.gui.dnd.DragSourceAdapter
 
dragOver(DragSourceDragEvent) - Method in class net.mtu.eggplant.util.gui.dnd.DragSourceAdapter
 
DragSourceAdapter - Class in net.mtu.eggplant.util.gui.dnd
Empty implementation of DragSourceListener.
DragSourceAdapter() - Constructor for class net.mtu.eggplant.util.gui.dnd.DragSourceAdapter
 
drawPolygons(Graphics, Collection<?>) - Static method in class net.mtu.eggplant.util.gui.GraphicsUtils
draw a bunch of polygons
drawPolygons(Graphics, Iterator<?>) - Static method in class net.mtu.eggplant.util.gui.GraphicsUtils
draw a bunch of polygons
drawPolyLine(Graphics, Collection<?>) - Static method in class net.mtu.eggplant.util.gui.GraphicsUtils
draw the points on the Graphics Context.
dropActionChanged(DragSourceDragEvent) - Method in class net.mtu.eggplant.util.gui.dnd.DragSourceAdapter
 

E

equals(Object) - Method in class net.mtu.eggplant.util.Pair
Equality is defined by the equality of the objects in the Pair.
error(String) - Static method in class net.mtu.eggplant.util.gui.GraphicsUtils
Popup an error dialog with message in it.
execute(Object) - Method in interface net.mtu.eggplant.util.Function
 

F

fillPolygons(Graphics, Collection<?>) - Static method in class net.mtu.eggplant.util.gui.GraphicsUtils
fill a bunch of polygons
fillPolygons(Graphics, Iterator<?>) - Static method in class net.mtu.eggplant.util.gui.GraphicsUtils
fill a bunch of polygons
fireDateChange(Calendar, Calendar) - Method in class net.mtu.eggplant.util.gui.DateEditor
 
fireNameChange(String, String) - Method in class net.mtu.eggplant.util.DefaultNamed
 
fireObjectsAdded(Collection<?>) - Method in class net.mtu.eggplant.util.event.CollectionSupport
 
fireObjectsRemoved(Collection<?>) - Method in class net.mtu.eggplant.util.event.CollectionSupport
 
firePropertyChange(String, Object, Object) - Method in class net.mtu.eggplant.util.DefaultBean
 
flush() - Method in class net.mtu.eggplant.io.LogWriter
 
Function - Interface in net.mtu.eggplant.util
Generic function that takes a single argument and operates on it.

G

getBooleanAttributeValue(Element, String) - Static method in class net.mtu.eggplant.xml.XMLUtils
 
getCalendar() - Method in class net.mtu.eggplant.util.gui.DateEditor
 
getClassForType(int) - Static method in class net.mtu.eggplant.util.sql.SQLFunctions
Do simple mapping from an SQL type to a Java Class.
getConnection() - Method in class net.mtu.eggplant.util.sql.SQLConnectionDialog
get the connection from this dialog.
getData() - Method in class net.mtu.eggplant.util.event.CollectionEvent
Get the Collection of objects that were added/removed.
getDescription() - Method in class net.mtu.eggplant.util.BasicFileFilter
 
getDoubleAttributeValue(Element, String) - Static method in class net.mtu.eggplant.xml.XMLUtils
Get a double value from an attribute.
getElementAt(int) - Method in class net.mtu.eggplant.util.gui.SortedListModel
 
getIcon(String) - Static method in class net.mtu.eggplant.util.gui.GraphicsUtils
Create an icon from the resource at path.
getLayoutAlignmentX(Container) - Method in class net.mtu.eggplant.util.gui.BetterBoxLayout
 
getLayoutAlignmentY(Container) - Method in class net.mtu.eggplant.util.gui.BetterBoxLayout
 
getListCellRendererComponent(JList<?>, Object, int, boolean, boolean) - Method in class net.mtu.eggplant.util.gui.SmartRenderer
 
getMaxWidth(JComboBox<String>, FontMetrics) - Static method in class net.mtu.eggplant.util.gui.GraphicsUtils
 
getName() - Method in class net.mtu.eggplant.util.BasicNamed
get the name of the object.
getName() - Method in class net.mtu.eggplant.util.DefaultNamed
get the name of the object.
getName() - Method in interface net.mtu.eggplant.util.Named
 
getOne() - Method in class net.mtu.eggplant.util.Pair
 
getPropertyChangeListeners() - Method in class net.mtu.eggplant.util.DefaultBean
 
getPropertyChangeListeners(String) - Method in class net.mtu.eggplant.util.DefaultBean
 
getPropertyChangeSupport() - Method in class net.mtu.eggplant.util.DefaultBean
For access to all of PropertyChangeSupport
getSize() - Method in class net.mtu.eggplant.util.gui.SortedListModel
 
getSocket() - Method in class net.mtu.eggplant.util.network.TCPServer
get the actual socket
getStringAttributeValue(Element, String) - Static method in class net.mtu.eggplant.xml.XMLUtils
 
getStringOne() - Method in class net.mtu.eggplant.util.StringPair
Deprecated.
 
getStringTwo() - Method in class net.mtu.eggplant.util.StringPair
Deprecated.
 
getStringValue(Object) - Method in class net.mtu.eggplant.util.gui.SmartRenderer
Get the string representation of this object.
getTableCellRendererComponent(JTable, Object, boolean, boolean, int, int) - Method in class net.mtu.eggplant.util.gui.SmartRenderer
 
getTablesInDB(Connection) - Static method in class net.mtu.eggplant.util.sql.SQLFunctions
Get the tables in the database.
getTreeCellRendererComponent(JTree, Object, boolean, boolean, boolean, int, boolean) - Method in class net.mtu.eggplant.util.gui.SmartRenderer
 
getTwo() - Method in class net.mtu.eggplant.util.Pair
 
GraphicsUtils - Class in net.mtu.eggplant.util.gui
graphics functions that should exist in java, but don't

H

hashCode() - Method in class net.mtu.eggplant.util.Pair
 
hasNext() - Method in class net.mtu.eggplant.xml.NodelistElementCollectionAdapter
 
HORIZONTAL - Static variable in class net.mtu.eggplant.util.gui.BetterBoxLayout
Layout components along the X axis.
HOUR - Static variable in class net.mtu.eggplant.util.gui.DateEditor
 

I

increment(int, int) - Method in class net.mtu.eggplant.util.gui.DateEditor
 
initializeConnection() - Method in class net.mtu.eggplant.util.network.TCPServer
Actually make the connection and wait for data.
invalidateLayout(Container) - Method in class net.mtu.eggplant.util.gui.BetterBoxLayout
 
iterator() - Method in class net.mtu.eggplant.xml.NodelistElementCollectionAdapter
 

L

layoutContainer(Container) - Method in class net.mtu.eggplant.util.gui.BetterBoxLayout
 
LogWriter - Class in net.mtu.eggplant.io
Writer that outputs to the current logging facility (SLF4J).
LogWriter(Logger, LogWriter.LogLevel) - Constructor for class net.mtu.eggplant.io.LogWriter
 
LogWriter(Object, Logger, LogWriter.LogLevel) - Constructor for class net.mtu.eggplant.io.LogWriter
 
LogWriter.LogLevel - Enum in net.mtu.eggplant.io
Log levels that LogWriter can output to.

M

main(String[]) - Static method in class net.mtu.eggplant.app.SchemaValidator
 
main(String[]) - Static method in class net.mtu.eggplant.app.TimeConvert
args is ignored
main(String[]) - Static method in class net.mtu.eggplant.util.gui.DateEditor
 
main(String[]) - Static method in class net.mtu.eggplant.util.network.TCPServer
 
maximumLayoutSize(Container) - Method in class net.mtu.eggplant.util.gui.BetterBoxLayout
 
minimumLayoutSize(Container) - Method in class net.mtu.eggplant.util.gui.BetterBoxLayout
 
MINUTE - Static variable in class net.mtu.eggplant.util.gui.DateEditor
 
MONTH - Static variable in class net.mtu.eggplant.util.gui.DateEditor
 

N

Named - Interface in net.mtu.eggplant.util
interface for Named objects
net.mtu.eggplant.app - package net.mtu.eggplant.app
 
net.mtu.eggplant.io - package net.mtu.eggplant.io
 
net.mtu.eggplant.util - package net.mtu.eggplant.util
 
net.mtu.eggplant.util.event - package net.mtu.eggplant.util.event
 
net.mtu.eggplant.util.gui - package net.mtu.eggplant.util.gui
 
net.mtu.eggplant.util.gui.dnd - package net.mtu.eggplant.util.gui.dnd
 
net.mtu.eggplant.util.network - package net.mtu.eggplant.util.network
 
net.mtu.eggplant.util.sql - package net.mtu.eggplant.util.sql
 
net.mtu.eggplant.xml - package net.mtu.eggplant.xml
 
next() - Method in class net.mtu.eggplant.xml.NodelistElementCollectionAdapter
 
NodelistElementCollectionAdapter - Class in net.mtu.eggplant.xml
An Iterable for Elements in a NodeList.
NodelistElementCollectionAdapter(NodeList) - Constructor for class net.mtu.eggplant.xml.NodelistElementCollectionAdapter
 
notImplemented(String) - Static method in class net.mtu.eggplant.util.gui.GraphicsUtils
Popup a warning dialog displaying message.

O

objectsAdded(CollectionEvent) - Method in interface net.mtu.eggplant.util.event.CollectionListener
Called to notify the listener that objects have been added to the Collection.
objectsRemoved(CollectionEvent) - Method in interface net.mtu.eggplant.util.event.CollectionListener
Called to notify the listener that objects have been removed from the Collection.

P

Pair<TYPE_ONE,TYPE_TWO> - Class in net.mtu.eggplant.util
class to put multiple objects in one.
Pair(TYPE_ONE, TYPE_TWO) - Constructor for class net.mtu.eggplant.util.Pair
 
parse(Reader, Schema) - Static method in class net.mtu.eggplant.xml.XMLUtils
Parse the document from the given stream.
parseSchema(File) - Static method in class net.mtu.eggplant.app.SchemaValidator
 
parseXMLDocument(InputStream) - Static method in class net.mtu.eggplant.xml.XMLUtils
Parse xmlDoc an XML document.
parseXMLDocument(Reader) - Static method in class net.mtu.eggplant.xml.XMLUtils
Parse xmlDoc an XML document.
parseXMLDocument(InputSource) - Static method in class net.mtu.eggplant.xml.XMLUtils
Parse xmlDoc an XML document.
populate() - Method in class net.mtu.eggplant.util.gui.DateEditor
refresh the display with the internal calendar
preferredLayoutSize(Container) - Method in class net.mtu.eggplant.util.gui.BetterBoxLayout
 
print(String) - Method in class net.mtu.eggplant.util.network.TCPServer
print something to the socket.
processData(String) - Method in class net.mtu.eggplant.util.network.TCPServer
do something with a line of input.

R

readLine() - Method in class net.mtu.eggplant.util.network.TCPServer
read a line from the socket
remove(E) - Method in class net.mtu.eggplant.util.gui.SortedListModel
Remove the first occurrance of o from the list.
remove() - Method in class net.mtu.eggplant.xml.NodelistElementCollectionAdapter
 
removeCollectionListener(CollectionListener) - Method in class net.mtu.eggplant.util.event.CollectionSupport
 
removeDateListener(PropertyChangeListener) - Method in class net.mtu.eggplant.util.gui.DateEditor
 
removeLayoutComponent(Component) - Method in class net.mtu.eggplant.util.gui.BetterBoxLayout
 
removePropertyChangeListener(PropertyChangeListener) - Method in interface net.mtu.eggplant.util.Bean
 
removePropertyChangeListener(String, PropertyChangeListener) - Method in interface net.mtu.eggplant.util.Bean
 
removePropertyChangeListener(PropertyChangeListener) - Method in class net.mtu.eggplant.util.DefaultBean
 
removePropertyChangeListener(String, PropertyChangeListener) - Method in class net.mtu.eggplant.util.DefaultBean
 
run() - Method in class net.mtu.eggplant.util.network.TCPServer
The body of the server thread.

S

safeEquals(Object, Object) - Static method in class net.mtu.eggplant.util.ComparisonUtils
Equals call that handles null without a NullPointerException.
SchemaValidator - Class in net.mtu.eggplant.app
Validate a schema.
SchemaValidator() - Constructor for class net.mtu.eggplant.app.SchemaValidator
 
searchAndReplace(String, String, String) - Static method in class net.mtu.eggplant.util.StringUtils
Replace all instances of search in source with replace.
SECOND - Static variable in class net.mtu.eggplant.util.gui.DateEditor
 
setCalendar(Calendar) - Method in class net.mtu.eggplant.util.gui.DateEditor
 
setColumnMinWidths(JTable) - Static method in class net.mtu.eggplant.util.gui.TableUtils
set the widths of all of the columns to the max width of the object in the column.
setName(String) - Method in class net.mtu.eggplant.util.DefaultNamed
Set the name for the object.
setSocket(Socket) - Method in class net.mtu.eggplant.util.network.TCPServer
set the actual socket.
setVisibleRowCount(JTable, int) - Static method in class net.mtu.eggplant.util.gui.GraphicsUtils
Set the preferred viewport size on a table based upon the number of rows that should be visible and the current heights of the rows.
SmartRenderer - Class in net.mtu.eggplant.util.gui
Class that knows how to render lots of things.
SmartRenderer() - Constructor for class net.mtu.eggplant.util.gui.SmartRenderer
 
SortedListModel<E> - Class in net.mtu.eggplant.util.gui
A ListModel that orders the objects according to a comparator and does sorted insert.
SortedListModel(Comparator<E>) - Constructor for class net.mtu.eggplant.util.gui.SortedListModel
Create a SortedListModel with comparator.
SortedListModel(Comparator<E>, Collection<E>) - Constructor for class net.mtu.eggplant.util.gui.SortedListModel
Create a SortedListModel with comparator and initalize with the list of objects in collection.
SPACER - Static variable in class net.mtu.eggplant.util.gui.DateEditor
 
SQLConnectionDialog - Class in net.mtu.eggplant.util.sql
This dialog allows the user to fill in the parameters needed for a connection.
SQLConnectionDialog(Frame, Map<String, String>) - Constructor for class net.mtu.eggplant.util.sql.SQLConnectionDialog
Create a dialog for making an SQL connection.
SQLFunctions - Class in net.mtu.eggplant.util.sql
Handy functions for SQL
STANDARD_ERROR_HANDLER - Static variable in class net.mtu.eggplant.xml.XMLUtils
Standard error handler that throws exceptions on error and fatalError and logs a warning on warning.
StringPair - Class in net.mtu.eggplant.util
Deprecated.
Use Pair
StringPair(String, String) - Constructor for class net.mtu.eggplant.util.StringPair
Deprecated.
 
StringUtils - Class in net.mtu.eggplant.util
Some handy utilities for working with strings.

T

TableUtils - Class in net.mtu.eggplant.util.gui
utilities for working with tables
TCPServer - Class in net.mtu.eggplant.util.network
Simple TCP echo server.
TCPServer() - Constructor for class net.mtu.eggplant.util.network.TCPServer
default constructor.
TCPServer(int) - Constructor for class net.mtu.eggplant.util.network.TCPServer
Create a ServerSocket to listen for connections on If port < 0 or port > 65535 port defaults to DEFAULT_PORT.
TimeConvert - Class in net.mtu.eggplant.app
Nifty little class that converts a date as a long to a human readable string
TimeConvert() - Constructor for class net.mtu.eggplant.app.TimeConvert
 
TIMESEPARATOR - Static variable in class net.mtu.eggplant.util.gui.DateEditor
 
toString() - Method in class net.mtu.eggplant.util.BasicNamed
 
toString() - Method in class net.mtu.eggplant.util.DefaultNamed
 
toString() - Method in class net.mtu.eggplant.util.Pair
 
toString() - Method in class net.mtu.eggplant.util.StringPair
Deprecated.
 
trimString(String, int) - Static method in class net.mtu.eggplant.util.StringUtils
If the string is longer than len, truncate it and append "..."

V

valueOf(String) - Static method in enum net.mtu.eggplant.io.LogWriter.LogLevel
Returns the enum constant of this type with the specified name.
values() - Static method in enum net.mtu.eggplant.io.LogWriter.LogLevel
Returns an array containing the constants of this enum type, in the order they are declared.
VERTICAL - Static variable in class net.mtu.eggplant.util.gui.BetterBoxLayout
Layout components along the Y axis.

W

windowClosing(WindowEvent) - Method in class net.mtu.eggplant.util.gui.BasicWindowMonitor
dispose of the window and exit the application
write(char[], int, int) - Method in class net.mtu.eggplant.io.LogWriter
 
writeXML(Document, Writer) - Static method in class net.mtu.eggplant.xml.XMLUtils
Write the document to a writer.
writeXML(Document, Writer, String) - Static method in class net.mtu.eggplant.xml.XMLUtils
Write the document to a writer.

X

XML_TIME_FORMAT - Static variable in class net.mtu.eggplant.xml.XMLUtils
Date format for time type.
XMLUtils - Class in net.mtu.eggplant.xml
Some utilities for working with XML.
XMLUtils() - Constructor for class net.mtu.eggplant.xml.XMLUtils
 

Y

YEAR - Static variable in class net.mtu.eggplant.util.gui.DateEditor
 
A B C D E F G H I L M N O P R S T V W X Y 
Skip navigation links