A B C D E F G I L M N O P Q R S T U W 
All Classes All Packages

A

actionPerformed(ActionEvent) - Method in class ucb.gui2.TopLevel
 
add(Object...) - Method in class ucb.gui2.LayoutSpec
Modify THIS by setting the parameters indicated by SPECS, which has the same form as described in the class comment for LayoutSpec.
add(Widget, LayoutSpec) - Method in class ucb.gui2.TopLevel
Add WIDGET, placed according to LAYOUT.
addButton(String, Consumer<String>, LayoutSpec) - Method in class ucb.gui2.TopLevel
Add a new button displaying LABEL, laid out according to LAYOUT, which when clicked calls FUNC, with the button and LABEL as its arguments.
addCheckBox(String, boolean, Consumer<String>, LayoutSpec) - Method in class ucb.gui2.TopLevel
Add a new check box displaying LABEL, laid out according to LAYOUT, which when clicked calls FUNC, with the button and LABEL as its arguments.
addLabel(String, String, LayoutSpec) - Method in class ucb.gui2.TopLevel
Add a label that initially displays the text TEXT, placed according to LAYOUT, and identified by the tag ID.
addLabel(String, LayoutSpec) - Method in class ucb.gui2.TopLevel
Add a new, anonymous label that displays the text TEXT, placed according to LAYOUT.
addMenuButton(String, Consumer<String>) - Method in class ucb.gui2.TopLevel
Add a new simple menu button labeled LABEL to my menus, which when clicked, invokes FUNC, sending LABEL as argument.
addMenuCheckBox(String, boolean, Consumer<String>) - Method in class ucb.gui2.TopLevel
Add a check box labeled LABEL to my menus, which when clicked, flips its state and invokes FUNC, sending LABEL as arguments.
addMenuRadioButton(String, String, boolean, Consumer<String>) - Method in class ucb.gui2.TopLevel
Add a radio button labeled LABEL to my menus, belonging to the group of buttons called GROUPNAME.
addRadioButton(String, String, boolean, Consumer<String>, LayoutSpec) - Method in class ucb.gui2.TopLevel
Add a radio button labeled LABEL, placed according to LAYOUT, belonging to the group of buttons called GROUPNAME.
addSeparator(String) - Method in class ucb.gui2.TopLevel
Add a separator to the end of the menu labeled LABEL (which must exist) in my menu bar.
awaitClose() - Method in class ucb.util.mailbox.Rendezvous
Wait for THIS to be closed.
awaitClose(long) - Method in class ucb.util.mailbox.Rendezvous
Wait for THIS to be closed, or MILLIS milliseconds, whichever comes first.

B

badCount - Variable in class ucb.test.TestFramework
 
badCount - Variable in class ucb.test.TimedTestFramework
 

C

capacity - Variable in class ucb.util.mailbox.QueuedMailbox
 
capacity() - Method in interface ucb.util.mailbox.Mailbox
The capacity (see interface comment above) of THIS.
capacity() - Method in class ucb.util.mailbox.QueuedMailbox
The capacity (see interface comment above) of THIS.
capacity() - Method in class ucb.util.mailbox.Rendezvous
The capacity (see interface comment above) of THIS.
captureStandardOutput() - Method in class ucb.test.TestFramework
Start storing up the standard output into a string.
captureStandardOutput() - Method in class ucb.test.TimedTestFramework
Start storing up the standard output into a string.
check(boolean) - Method in class ucb.test.TestFramework
If TEST is tree, print "PASSED" message.
check(boolean) - Method in class ucb.test.TimedTestFramework
Check that TEST is true, printing PASSED or ERROR messages accordingly and updating test and error counts.
check(Object, Object) - Method in class ucb.test.TestFramework
Check that CORRECT is equal to TEST, using the "same" test below.
check(Object, Object) - Method in class ucb.test.TimedTestFramework
Check that CORRECT is equal to TEST, using the "same" test below.
check(String, boolean) - Method in class ucb.test.TestFramework
If TEST is tree, print "PASSED" message.
check(String, boolean) - Method in class ucb.test.TimedTestFramework
Check that TEST is true, printing either a PASSED message or or an ERROR message incorporating MSG accordingly and updating test and error counts.
check(String, Object, Object) - Method in class ucb.test.TestFramework
Check that CORRECT is equal to TEST, using the "same" test below.
check(String, Object, Object) - Method in class ucb.test.TimedTestFramework
Check that CORRECT is equal to TEST, using the "same" test below.
checkType(Class<T>) - Method in interface ucb.util.mailbox.Mailbox
Returns THIS, assuming that THIS conveys messages of class MSGCLASS.
close() - Method in interface ucb.util.mailbox.Mailbox
Short for close (0).
close() - Method in class ucb.util.mailbox.MailboxWatch
 
close() - Method in class ucb.util.mailbox.QueuedMailbox
Short for close (0).
close() - Method in class ucb.util.mailbox.Rendezvous
Short for close (0).
close() - Method in class ucb.util.SimpleObjectRegistry
Remove all bindings from this registry, and disable it from further use.
close() - Method in class ucb.util.Ticker
Permanently stop THIS and terminate its thread.
close(long) - Method in interface ucb.util.mailbox.Mailbox
Performs a flush(MILLIS) and then invalidates THIS for all future use, deleting all remaining messages.
close(long) - Method in class ucb.util.mailbox.QueuedMailbox
Performs a flush(MILLIS) and then invalidates THIS for all future use, deleting all remaining messages.
close(long) - Method in class ucb.util.mailbox.Rendezvous
Performs a flush(MILLIS) and then invalidates THIS for all future use, deleting all remaining messages.
CommandArgs - Class in ucb.util
A CommandArgs object is a mapping from option keys to values that interprets the command-line options to a main program.
CommandArgs(String, String[]) - Constructor for class ucb.util.CommandArgs
A set of argument values extracted from RAWARGS according to the description given in OPTIONSTRING.
contains(String) - Method in class ucb.util.CommandArgs
Returns true iff option KEY is present.
containsKey(String) - Method in class ucb.util.CommandArgs
Deprecated.
create() - Static method in class ucb.util.mailbox.Rendezvous
A new Rendezvous for messages of unchecked type.
create() - Static method in class ucb.util.mailbox.SinkBox
A new SinkBox with no type checking.
create(int) - Static method in class ucb.util.mailbox.QueuedMailbox
A new QueuedMailbox with capacity () fixed at CAPACITY, with no type checking.
create(Class<Msg>) - Static method in class ucb.util.mailbox.Rendezvous
A new Rendezvous for messages of type MSGCLASS.
create(Class<Msg>) - Static method in class ucb.util.mailbox.SinkBox
A new SinkBox for messages of type MSGCLASS.
create(Class<Msg>, int) - Static method in class ucb.util.mailbox.QueuedMailbox
A new QueuedMailbox with capacity () fixed at CAPACITY.
currentTestName - Variable in class ucb.test.TestFramework
 
currentTestName - Variable in class ucb.test.TimedTestFramework
 

D

DEFAULT_HIGH_PORT - Static variable in class ucb.util.SimpleObjectRegistry
The default values for LOWPORT and HIGHPORT arguments.
DEFAULT_LOW_PORT - Static variable in class ucb.util.SimpleObjectRegistry
The default values for LOWPORT and HIGHPORT arguments.
DEFAULT_PORTS - Static variable in class ucb.util.SimpleObjectRegistry
The default values for LOWPORT and HIGHPORT arguments.
deposit(Msg) - Method in interface ucb.util.mailbox.Mailbox
Deposit MSG in this Mailbox.
deposit(Msg) - Method in class ucb.util.mailbox.QueuedMailbox
Deposit MSG in this Mailbox.
deposit(Msg) - Method in class ucb.util.mailbox.Rendezvous
Deposit MSG in this Mailbox.
deposit(Msg, long) - Method in interface ucb.util.mailbox.Mailbox
Deposit MSG in this Mailbox, if this can be done within approximately MILLIS milliseconds.
deposit(Msg, long) - Method in class ucb.util.mailbox.QueuedMailbox
Deposit MSG in this Mailbox, if this can be done within approximately MILLIS milliseconds.
deposit(Msg, long) - Method in class ucb.util.mailbox.Rendezvous
Deposit MSG in this Mailbox, if this can be done within approximately MILLIS milliseconds.
depositBlocks - Variable in class ucb.util.mailbox.QueuedMailbox
 
display(boolean) - Method in class ucb.gui2.TopLevel
If VISIBLE, display this TopLevel.

E

enqueue(Msg) - Method in class ucb.util.mailbox.QueuedMailbox
Place MSG at the end of the message queue.
enqueue(Msg) - Method in class ucb.util.mailbox.SinkBox
 

F

failure(String) - Method in class ucb.test.TestFramework
Report a "failure" (typically a test that blows up instead of producing a result).
failure(String) - Method in class ucb.test.TimedTestFramework
Report a "failure" (typically a test that blows up instead of producing a result).
failure(Throwable) - Method in class ucb.test.TimedTestFramework
Report a "failure" from exception E.
findObject(String, String) - Static method in class ucb.util.SimpleObjectRegistry
Return findObject(NAME, HOST, DEFAULT_LOW_PORT, DEFAULT_HIGH_PORT).
findObject(String, String[]) - Static method in class ucb.util.SimpleObjectRegistry
Return findObject(NAME, HOSTS, DEFAULT_LOW_PORT, DEFAULT_HIGH_PORT).
findObject(String, String[], int, int) - Static method in class ucb.util.SimpleObjectRegistry
Return a remote object named NAME in some registry on one of the hosts in HOSTS on some port number between LOWPORT and HIGHPORT.
findObject(String, String, int, int) - Static method in class ucb.util.SimpleObjectRegistry
Return a remote object named NAME in some registry on HOST on some port number between LOWPORT and HIGHPORT.
flush(long) - Method in interface ucb.util.mailbox.Mailbox
Wait for all queued messages to be received, or MILLIS milliseconds, whichever comes first.
flush(long) - Method in class ucb.util.mailbox.QueuedMailbox
Wait for all queued messages to be received, or MILLIS milliseconds, whichever comes first.
flush(long) - Method in class ucb.util.mailbox.Rendezvous
Wait for any queued message to be received, or MILLIS milliseconds, whichever comes first.
forward(Msg, long) - Method in class ucb.util.mailbox.QueuedMailbox
Perform forwarding of MSG to all recipients, waiting for up to MILLIS milliseconds for each deposit to be accepted.
forward(Msg, long) - Method in class ucb.util.mailbox.Rendezvous
 
forwardTo(List<Mailbox<Msg>>) - Method in interface ucb.util.mailbox.Mailbox
Forward copies of all messages (including any already present) to BOXES in the order received.
forwardTo(List<Mailbox<Msg>>) - Method in class ucb.util.mailbox.QueuedMailbox
Forward copies of all messages (including any already present) to BOXES in the order received.
forwardTo(List<Mailbox<Msg>>) - Method in class ucb.util.mailbox.Rendezvous
 
forwardTo(Mailbox<Msg>) - Method in interface ucb.util.mailbox.Mailbox
Forward copies of all messages (including any already present) to BOX in the order received.
forwardTo(Mailbox<Msg>) - Method in class ucb.util.mailbox.QueuedMailbox
Forward copies of all messages (including any already present) to BOXES in the order received.
forwardTo(Mailbox<Msg>) - Method in class ucb.util.mailbox.Rendezvous
Forward copies of all messages (including any already present) to BOXES in the order received.
frame - Variable in class ucb.gui2.TopLevel
The Swing frame representing this TopLevel object.

G

get(String) - Method in class ucb.util.CommandArgs
Return the list of all argument values for option KEY, or null if the option does not appear.
getAccum() - Method in class ucb.util.Stopwatch
Return the total time in milliseconds that isRunning() has been true since THIS was created or reset.
getArguments() - Method in class ucb.util.CommandArgs
Return the argument array (not a copy) with which THIS was created.
getBadCount() - Method in class ucb.test.TestFramework
Cumulative number of "bad" tests: those causing an exception
getBadCount() - Method in class ucb.test.TimedTestFramework
Cumulative number of "bad" tests: those causing an exception
getCapturedError() - Method in class ucb.test.TimedTestFramework
Return the captured output from the standard error output.
getCapturedOutput() - Method in class ucb.test.TestFramework
Return the captured output from the standard output.
getCapturedOutput() - Method in class ucb.test.TimedTestFramework
Return the captured output from the standard output.
getDouble(String) - Method in class ucb.util.CommandArgs
Return the value of the last occurrence of option KEY, as a floating-point value.
getDouble(String, double) - Method in class ucb.util.CommandArgs
REturn the value of the last occurrence of option KEY, as a floating-point value, or DFLT if KEY is not present.
getElapsed() - Method in class ucb.util.Stopwatch
Return the time in milliseconds since the latest, still-running subtimer started.
getErrorCount() - Method in class ucb.test.TestFramework
Cumulative count of tests that fail due to exceptions.
getErrorCount() - Method in class ucb.test.TimedTestFramework
Cumulative count of tests that fail due to exceptions.
getFirst(String) - Method in class ucb.util.CommandArgs
The argument value of the first occurrence of option KEY, or null if there is no occurrence, or it has the wrong format.
getFirst(String, String) - Method in class ucb.util.CommandArgs
The argument value of the first occurrence of option KEY, or DFLT if there is no occurrence, or it has the wrong format.
getHeight() - Method in class ucb.gui2.Pad
Return my current height in pixels.
getHeight() - Method in class ucb.gui2.TopLevel
Return my current height in pixels.
getInt(String) - Method in class ucb.util.CommandArgs
Return The value of the last occurrence of option KEY, as a decimal integer.
getInt(String, int) - Method in class ucb.util.CommandArgs
Return The value of the last occurrence of option KEY, as an integer of given RADIX.
getInt(String, int, int) - Method in class ucb.util.CommandArgs
Return the value of the last occurrence of option KEY, as an integer of given RADIX, or DFLT if KEY is not present.
getLast(String) - Method in class ucb.util.CommandArgs
The argument value of the last occurrence of option KEY, or null if there is no occurrence, or it has the wrong format.
getLast(String, String) - Method in class ucb.util.CommandArgs
The argument value of the last occurrence of option KEY, or DFLT if there is no occurrence, or it has the wrong format.
getLong(String) - Method in class ucb.util.CommandArgs
Return the value of the last occurrence of option KEY, as a decimal integer.
getLong(String, int) - Method in class ucb.util.CommandArgs
Return the value of the last occurrence of option KEY, as an integer of given RADIX.
getLong(String, int, long) - Method in class ucb.util.CommandArgs
Return the value of the last occurrence of option KEY, as an integer of given RADIX, or DFLT if KEY is not present.
getOptionString() - Method in class ucb.util.CommandArgs
Return the option string with which THIS was created.
getPassedCount() - Method in class ucb.test.TestFramework
Passed tests.
getPassedCount() - Method in class ucb.test.TimedTestFramework
Passed tests.
getRunning() - Method in class ucb.util.Stopwatch
Return the number of nested subtimers currently running.
getTestCount() - Method in class ucb.test.TestFramework
Cumulative number of calls to check.
getTestCount() - Method in class ucb.test.TimedTestFramework
Cumulative number of calls to check.
getTextInput(String, String, String, String) - Method in class ucb.gui2.TopLevel
Display a dialog box with message MESSAGE and title TITLE that prompts the user for textual input, with INIT providing the initial value of the text.
getTextInputs(String, String, String, int, String...) - Method in class ucb.gui2.TopLevel
Display a dialog box that requests and returns input from multiple text fields.
getWidth() - Method in class ucb.gui2.Pad
Return my current width in pixels.
getWidth() - Method in class ucb.gui2.TopLevel
Return my current width in pixels.
getWrongCount() - Method in class ucb.test.TestFramework
Cumulative number of calls to where the arguments were not the same.
getWrongCount() - Method in class ucb.test.TimedTestFramework
Cumulative number of calls to where the arguments were not the same.

I

isClosed() - Method in interface ucb.util.mailbox.Mailbox
True iff THIS is closed.
isClosed() - Method in class ucb.util.mailbox.QueuedMailbox
True iff THIS is closed.
isClosed() - Method in class ucb.util.mailbox.Rendezvous
 
isForwarding() - Method in interface ucb.util.mailbox.Mailbox
True iff THIS is currently forwarding messages as a result of forwardTo.
isForwarding() - Method in class ucb.util.mailbox.QueuedMailbox
True iff THIS is currently forwarding messages as a result of forwardTo.
isForwarding() - Method in class ucb.util.mailbox.Rendezvous
True iff THIS is currently forwarding messages as a result of forwardTo.
isRunning() - Method in class ucb.util.Stopwatch
Return true iff there are subtimers of THIS running.
isSelected(String) - Method in class ucb.gui2.TopLevel
Return true iff the button named LABEL is currently selected.
iterator() - Method in class ucb.util.CommandArgs
Return An iterator over the set of keys in optionKeys().

L

LayoutSpec - Class in ucb.gui2
A LayoutSpec specifies how an item is to be laid out in a TopLevel or other graphical container (here, we'll refer to such things collectively as containers).
LayoutSpec(Object...) - Constructor for class ucb.gui2.LayoutSpec
A new LayoutSpec, initialized with the parameters SPECS, as described in the class comment for LayoutSpec.

M

Mailbox<Msg extends Serializable> - Interface in ucb.util.mailbox
A repository for messages, suitable for remote use.
MailboxWatch<Msg extends Serializable> - Class in ucb.util.mailbox
A MailboxWatch takes a stream of forwarded messages from a Mailbox and prints them to a specified stream.
MailboxWatch(Class<Msg>, Mailbox<Msg>, String, PrintStream) - Constructor for class ucb.util.mailbox.MailboxWatch
A new MailboxWatch on BOX, reporting to STR.
main(String...) - Static method in class ucb.junit.textui
Produces the report described for runClasses, on the classes named in ARGS.
main(String[]) - Static method in class ucb.test.MakeTests
 
main(String[]) - Static method in class ucb.test.TimeLimitedTests
Usage: java ucb.test.TimeLimitedTests LIMIT TESTCLASS where LIMIT is in seconds.
MakeTests - Class in ucb.test
 
MakeTests() - Constructor for class ucb.test.MakeTests
 
me - Variable in class ucb.gui2.Widget
The component representing me.
MESSAGES - Static variable in class ucb.junit.textui
Verbosity levels.
messageType() - Method in interface ucb.util.mailbox.Mailbox
The (runtime) type of message sent through this box.
msg - Variable in class ucb.util.mailbox.Rendezvous
 
myWait(long) - Method in class ucb.util.mailbox.QueuedMailbox
Wait for up to LIMIT milliseconds or the next notify or interrupt.
myWait(long) - Method in class ucb.util.mailbox.Rendezvous
 

N

number(String) - Method in class ucb.util.CommandArgs
Return the number of occurrences of option key KEY.

O

ok() - Method in class ucb.util.CommandArgs
Return true iff all arguments were correct.
open - Variable in class ucb.util.mailbox.QueuedMailbox
 
open - Variable in class ucb.util.mailbox.Rendezvous
 
optionKeys() - Method in class ucb.util.CommandArgs
Return a list of all keys that appeared in the arguments, in order of appearance.
optionValues() - Method in class ucb.util.CommandArgs
Return A list of all option values that appeared in the arguments, in order of appearance.
outputLimit - Variable in class ucb.test.TimedTestFramework
 

P

Pad - Class in ucb.gui2
A Pad is a blank slate that may be inserted into a TopLevel.
Pad() - Constructor for class ucb.gui2.Pad
A new, empty Pad.
paintComponent(Graphics2D) - Method in class ucb.gui2.Pad
Repaint myself on G.
params() - Method in class ucb.gui2.LayoutSpec
Return my constraints.
port() - Method in class ucb.util.SimpleObjectRegistry
Return the port number on which this registry is exported.

Q

queue - Variable in class ucb.util.mailbox.QueuedMailbox
 
QueuedMailbox<Msg extends Serializable> - Class in ucb.util.mailbox
A Mailbox with a specified (positive) capacity
QueuedMailbox(Class<Msg>, int) - Constructor for class ucb.util.mailbox.QueuedMailbox
A new QueuedMailbox with given CAPACITY carrying messages of type MSGCLASS.

R

realStandardError - Variable in class ucb.test.TimedTestFramework
 
realStandardOutput - Variable in class ucb.test.TestFramework
 
realStandardOutput - Variable in class ucb.test.TimedTestFramework
 
rebind(String, Remote) - Method in class ucb.util.SimpleObjectRegistry
Bind NAME to VALUE in this registry, replacing any existing binding.
receive() - Method in interface ucb.util.mailbox.Mailbox
Receive the next queued message in this Mailbox.
receive() - Method in class ucb.util.mailbox.QueuedMailbox
Receive the next queued message in this Mailbox.
receive() - Method in class ucb.util.mailbox.Rendezvous
Receive the next queued message in this Mailbox.
receive(long) - Method in interface ucb.util.mailbox.Mailbox
Receive the next queued message in this Mailbox, if one is available within MILLIS milliseconds.
receive(long) - Method in class ucb.util.mailbox.QueuedMailbox
Receive the next queued message in this Mailbox, if one is available within MILLIS milliseconds.
receive(long) - Method in class ucb.util.mailbox.Rendezvous
Receive the next queued message in this Mailbox, if one is available within MILLIS milliseconds.
Rendezvous<Msg extends Serializable> - Class in ucb.util.mailbox
A Mailbox with a capacity of 0.
Rendezvous(Class<Msg>) - Constructor for class ucb.util.mailbox.Rendezvous
 
repaint() - Method in class ucb.gui2.Pad
Alert the system that I ought be asked to repaint myself.
repaint(int, int, int, int) - Method in class ucb.gui2.Pad
Alert the system that I ought be asked to repaint the rectangular area whose top left corner is X, Y and has given WIDTH and HEIGHT.
repaint(long) - Method in class ucb.gui2.Pad
Alert the system that I ought be asked to repaint myself within TM milliseconds.
repaint(long, int, int, int, int) - Method in class ucb.gui2.Pad
Alert the system that I ought be asked to repaint the rectangular area whose top left corner is X, Y and has given WIDTH and HEIGHT within TM milliseconds.
report() - Method in class ucb.test.TestFramework
 
report() - Method in class ucb.test.TimedTestFramework
 
requestFocusInWindow() - Method in class ucb.gui2.Widget
Request that I get the focus.
reset() - Method in class ucb.util.Stopwatch
Stop all subtimers, and set accumulated time to 0.
restoreStandardOutput() - Method in class ucb.test.TestFramework
Stop capturing standard output, and revert to initial behavior.
restoreStandardOutput() - Method in class ucb.test.TimedTestFramework
Stop capturing standard output, and revert to initial behavior.
run() - Method in class ucb.util.mailbox.MailboxWatch
 
run() - Method in class ucb.util.Ticker
Internal method.
runClasses(int, Class<?>...) - Static method in class ucb.junit.textui
Run all tests in CLASSES, reporting results on the standard error output, depending on VERBOSITY, which determines what is reported.
runClasses(int, List<Class<?>>) - Static method in class ucb.junit.textui
Return as for runClasses (VERBOSITY, CLASSES), but with the class list stored in a list rather than an array.
runClasses(Class<?>...) - Static method in class ucb.junit.textui
Return runClasses(Messages, CLASSES).
runClasses(List<Class<?>>) - Static method in class ucb.junit.textui
Return runClasses(MESSAGES, CLASSES).
runTests() - Method in class ucb.test.TestFramework
Execute all tests.

S

same(Object, Object) - Static method in class ucb.test.TestFramework
True iff X equals Y in the sense that either 1) X and Y are arrays of the same length and their respective elements are == (if primitive) and (recursively) the same otherwise; or 2) X and Y are both null.
same(Object, Object) - Static method in class ucb.test.TimedTestFramework
True iff X equals Y in the sense that either 1) X and Y are arrays of the same length and their respective elements are == (if primitive) and (recursively) the same otherwise; or 2) X and Y are both null.
sameArrays(Object, Object) - Static method in class ucb.test.TestFramework
 
sameArrays(Object, Object) - Static method in class ucb.test.TimedTestFramework
 
select(String, boolean) - Method in class ucb.gui2.TopLevel
Set isSelected(LABEL) to VAL, if LABEL is a valid button.
setEnabled(boolean, String...) - Method in class ucb.gui2.TopLevel
Set the enabled status of the buttons labeled LABELS[0], ...
setKeyHandler(String, BiConsumer<String, KeyEvent>) - Method in class ucb.gui2.Pad
Handle the kind of key event EVENTKIND by calling FUNC's accept method with EVENT and the KeyEvent that describes the event.
setLabel(String, String) - Method in class ucb.gui2.TopLevel
Set the text of the existing label with tag ID to TEXT.
setMaximumSize(int, int) - Method in class ucb.gui2.Pad
Set my maximum size to WIDTH x HEIGHT pixels.
setMaximumSize(int, int) - Method in class ucb.gui2.TopLevel
Set my maximum size to WIDTH x HEIGHT pixels.
setMinimumSize(int, int) - Method in class ucb.gui2.Pad
Set my minimum size to WIDTH x HEIGHT pixels.
setMinimumSize(int, int) - Method in class ucb.gui2.TopLevel
Set my minimum size to WIDTH x HEIGHT pixels.
setMouseHandler(String, BiConsumer<String, MouseEvent>) - Method in class ucb.gui2.Pad
Handle the kind of mouse event EVENTKIND by calling FUNC's accept method with EVENT and the MouseEvent that describes the event.
setPreferredFocus(Widget) - Method in class ucb.gui2.TopLevel
When the focus is in my window, request that WIDGET, which should be one of my components, get the focus.
setPreferredSize(int, int) - Method in class ucb.gui2.Pad
Set my preferred size to WIDTH x HEIGHT pixels.
setPreferredSize(int, int) - Method in class ucb.gui2.TopLevel
Set my preferred size to WIDTH x HEIGHT pixels.
setSize(int, int) - Method in class ucb.gui2.Pad
Set my current size to WIDTH x HEIGHT pixels.
setTestName(String) - Method in class ucb.test.TestFramework
 
setTestName(String) - Method in class ucb.test.TimedTestFramework
 
setVerbosity(boolean) - Method in class ucb.test.TimedTestFramework
 
showMessage(String, String, String) - Method in class ucb.gui2.TopLevel
Display the dismissable message TEXT of type TYPE in a separate dialog window with title TITLE.
showOptions(String, String, String, String, String...) - Method in class ucb.gui2.TopLevel
Display a choice of optional responses, labeled LABELS[0],...,LABELS[n] in a separate dialog box with title TITLE and message MESSAGE.
SILENT - Static variable in class ucb.junit.textui
Verbosity levels.
SimpleObjectRegistry - Class in ucb.util
A kind of registry that provides a very simple means of exchanging remote objects by name.
SimpleObjectRegistry() - Constructor for class ucb.util.SimpleObjectRegistry
Same as SimpleObjectRegistry(DEFAULT_LOW_PORT, DEFAULT_HIGH_PORT).
SimpleObjectRegistry(int) - Constructor for class ucb.util.SimpleObjectRegistry
Return SimpleObjectRegistry(PORT, PORT).
SimpleObjectRegistry(int, int) - Constructor for class ucb.util.SimpleObjectRegistry
Create a new SimpleObjectRegistry on one of the ports LOWPORT to HIGHPORT, if possible.
SinkBox<Msg extends Serializable> - Class in ucb.util.mailbox
A Mailbox that throws away all mail (after any forwarding).
SinkBox(Class<Msg>) - Constructor for class ucb.util.mailbox.SinkBox
 
start() - Method in class ucb.util.Stopwatch
Start a new subtimer at the current time.
start() - Method in class ucb.util.Ticker
Start ticking, executing tick() at each tick.
stop() - Method in class ucb.util.Stopwatch
Stops the most recently started, still-running subtimer, returning the time elapsed since it started in milliseconds.
stop() - Method in class ucb.util.Ticker
Stop ticking.
stopForwarding() - Method in interface ucb.util.mailbox.Mailbox
Stop forwarding copies of messages.
stopForwarding() - Method in class ucb.util.mailbox.QueuedMailbox
Stop forwarding copies of messages.
stopForwarding() - Method in class ucb.util.mailbox.Rendezvous
Stop forwarding copies of messages.
Stopwatch - Class in ucb.util
A simple timer class based on elapsed wall-clock time.
Stopwatch() - Constructor for class ucb.util.Stopwatch
A stopped timer(! isRunning()) with 0msec accumulated time.
SUMMARY - Static variable in class ucb.junit.textui
Verbosity levels.

T

testCount - Variable in class ucb.test.TestFramework
 
testCount - Variable in class ucb.test.TimedTestFramework
 
TestFramework - Class in ucb.test
An abstract class that provides a rudimentary testing framework.
TestFramework() - Constructor for class ucb.test.TestFramework
 
TESTNAMES - Static variable in class ucb.junit.textui
Verbosity levels.
textui - Class in ucb.junit
An alternative unit test runner with text output.
textui() - Constructor for class ucb.junit.textui
 
tick() - Method in class ucb.util.Ticker
Action to perform on each clock tick.
Ticker - Class in ucb.util
A simple timer class that periodically performs some action.
Ticker(long) - Constructor for class ucb.util.Ticker
A Ticker that, when started, fires every INTERVAL milliseconds, or never, if interval <= 0.
TimedTestFramework - Class in ucb.test
An abstract class that provides a rudimentary testing framework.
TimedTestFramework() - Constructor for class ucb.test.TimedTestFramework
 
TimeLimitedTests - Class in ucb.test
 
TimeLimitedTests() - Constructor for class ucb.test.TimeLimitedTests
 
TopLevel - Class in ucb.gui2
A top-level window with optional menu bar.
TopLevel(String, boolean) - Constructor for class ucb.gui2.TopLevel
A new TopLevel with the given TITLE (which window managers typically display on the border).
toString(Object) - Static method in class ucb.test.TimedTestFramework
 

U

ucb.gui2 - package ucb.gui2
Provides the classes needed to implement a simple graphical user interface, containing buttons, a menu bar, simple canvases allowing arbitrary graphics and responding to the mouse or keyboard, and modal dialogs and messages.
ucb.junit - package ucb.junit
 
ucb.test - package ucb.test
 
ucb.util - package ucb.util
 
ucb.util.mailbox - package ucb.util.mailbox
 
unbind() - Method in class ucb.util.SimpleObjectRegistry
Remove all bindings in this registry.
unbind(String) - Method in class ucb.util.SimpleObjectRegistry
Remove any binding of NAME in this registry.

W

Widget - Class in ucb.gui2
The parent class of all additional things that may be added to a TopLevel.
Widget() - Constructor for class ucb.gui2.Widget
 
wrongCount - Variable in class ucb.test.TestFramework
 
wrongCount - Variable in class ucb.test.TimedTestFramework
 
A B C D E F G I L M N O P Q R S T U W 
All Classes All Packages