Skip navigation links
A C D E F G I L M N O P Q R S T U W 

A

actionPerformed(ActionEvent) - Method in class ucb.gui.TopLevel
 
actionPerformed(ActionEvent) - Method in class ucb.gui2.TopLevel
 
add(Object...) - Method in class ucb.gui.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.gui.TopLevel
Add WIDGET, placed according to LAYOUT.
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.
add(double[], int, double, double[], int, double, double[], int) - Static method in class ucb.proj2.Physics
Set Z[IZ : IZ+1] to AX*X[IX : IX+1] + AY*Y[IY : IY+1], returning Z.
add(double[], int, double[], int, double[], int) - Static method in class ucb.proj2.Physics
Same as add (Z, IZ, 1.0, X, IX, 1.0, Y, IY).
add(double[], int, double[], int, double, double[], int) - Static method in class ucb.proj2.Physics
Same as add (Z, IZ, 1.0, X, IX, AY, Y, IY).
add(double, double[], int, double, double[], int) - Static method in class ucb.proj2.Physics
Same as add (NZ, 0, AX, X, IX, AY, Y, IY), where NZ is a new double[2].
add(double[], int, double, double[], int) - Static method in class ucb.proj2.Physics
Same as add (NZ, 0, 1.0, X, IX, AY, Y, IY), where NZ is a new double[2].
addButton(String, Object, String, LayoutSpec) - Method in class ucb.gui.TopLevel
Add a new button displaying LABEL, laid out according to LAYOUT, which when clicked calls the method named FUNCNAME of RECEIVER with LABEL as its single String argument.
addButton(String, String, LayoutSpec) - Method in class ucb.gui.TopLevel
Add a new button displaying LABEL, placed according to LAYOUT, which when clicked calls my method named FUNCNAME with LABEL as its single String argument.
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.gui.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.gui.TopLevel
Add a new, anonymous label that displays the text TEXT, placed according to LAYOUT.
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, Object, String) - Method in class ucb.gui.TopLevel
Add a new simple menu button labeled LABEL to my menus, which when clicked, invokes a method named FUNCNAME on RECEIVER, sending LABEL as data.
addMenuButton(String, String) - Method in class ucb.gui.TopLevel
Add a new simple menu button labeled LABEL to my menus, which when clicked invokes a function named FUNCNAME on me, sending LABEL as data.
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 the button itself and LABEL as arguments.
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 the button itself and LABEL as arguments.
addMenuRadioButton(String, String, boolean, Object, String) - Method in class ucb.gui.TopLevel
Add a radio button labeled LABEL to my menus, belonging to the group of buttons called GROUPNAME.
addMenuRadioButton(String, String, boolean, String) - Method in class ucb.gui.TopLevel
Add a radio button labeled LABEL to my menus, belonging to the group of buttons called GROUPNAME.
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, Object, String, LayoutSpec) - Method in class ucb.gui.TopLevel
Add a radio button labeled LABEL, placed according to LAYOUT, 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.gui.TopLevel
Add a separator to the end of the menu labeled LABEL (which must exist) in my menu bar.
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.

C

capacity() - Method in interface ucb.util.mailbox.Mailbox
The capacity (see interface comment above) of THIS.
capacity - Variable in class ucb.util.mailbox.QueuedMailbox
 
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.
checkType(Class<T>) - Method in interface ucb.util.mailbox.Mailbox
Returns THIS, assuming that THIS conveys messages of class MSGCLASS.
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() - Method in interface ucb.util.mailbox.Mailbox
Short for close (0).
close() - Method in class ucb.util.mailbox.MailboxWatch
 
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() - Method in class ucb.util.mailbox.QueuedMailbox
Short for close (0).
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.
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.
collide(double[], double[], double) - Static method in class ucb.proj2.Physics
Given two objects with radius R with states P0 and P1 (see the class documentation for ucb.proj2.Physics, above), compute the time at which they next collide, assuming that initially, they are separated by a distance of >= 2R.
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(Class<Msg>, int) - Static method in class ucb.util.mailbox.QueuedMailbox
A new QueuedMailbox with capacity () fixed at CAPACITY.
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() - Static method in class ucb.util.mailbox.Rendezvous
A new Rendezvous for messages of unchecked type.
create(Class<Msg>) - Static method in class ucb.util.mailbox.SinkBox
A new SinkBox for messages of type MSGCLASS.
create() - Static method in class ucb.util.mailbox.SinkBox
A new SinkBox with no type checking.

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, long) - Method in interface ucb.util.mailbox.Mailbox
Deposit MSG in this Mailbox, if this can be done within approximately MILLIS milliseconds.
deposit(Msg) - Method in class ucb.util.mailbox.QueuedMailbox
Deposit MSG in this Mailbox.
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) - Method in class ucb.util.mailbox.Rendezvous
Deposit MSG in this Mailbox.
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.gui.TopLevel
If VISIBLE, display this TopLevel.
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

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.
findObject(String, String) - Static method in class ucb.util.SimpleObjectRegistry
Return findObject(NAME, HOST, 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[]) - Static method in class ucb.util.SimpleObjectRegistry
Return findObject(NAME, HOSTS, DEFAULT_LOW_PORT, DEFAULT_HIGH_PORT).
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(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(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(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.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.
forwardTo(List<Mailbox<Msg>>) - Method in class ucb.util.mailbox.Rendezvous
 
frame - Variable in class ucb.gui.TopLevel
The Swing frame representing this TopLevel object.
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.
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.
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.gui.Pad
Return my current height in pixels.
getHeight() - Method in class ucb.gui.TopLevel
Return my current height in pixels.
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, 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.
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.
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.
getRunning() - Method in class ucb.util.Stopwatch
Return the number of nested subtimers currently running.
getTextInput(String, String, String, String) - Method in class ucb.gui.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.
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.
getWidth() - Method in class ucb.gui.Pad
Return my current width in pixels.
getWidth() - Method in class ucb.gui.TopLevel
Return my current width in pixels.
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.

I

ip(double[], int, double[], int) - Static method in class ucb.proj2.Physics
The inner product X[IX] * Y[IY] + X[IX+1] * Y[IY+1].
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.gui.TopLevel
Return true iff the button named LABEL is currently selected.
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.gui
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.gui.LayoutSpec
A new LayoutSpec, initialized with the parameters SPECS, as described in the class comment for LayoutSpec.
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.
len(double[], int) - Static method in class ucb.proj2.Physics
The length of X[IX : IX+1]
len(double[], int, double[], int) - Static method in class ucb.proj2.Physics
The length of X[IX : IX+1] - Y[IY : IY+1].
len2(double[], int) - Static method in class ucb.proj2.Physics
The squared length of X[IX : IX+1].
len2(double[], int, double[], int) - Static method in class ucb.proj2.Physics
The squared length of X[IX : IX+1] - Y[IY : IY+1].

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.
me - Variable in class ucb.gui.Widget
The component representing me.
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.

P

Pad - Class in ucb.gui
A Pad is a blank slate that may be inserted into a TopLevel.
Pad() - Constructor for class ucb.gui.Pad
A new, empty Pad.
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.gui.Pad
Repaint myself on G.
paintComponent(Graphics2D) - Method in class ucb.gui2.Pad
Repaint myself on G.
params() - Method in class ucb.gui.LayoutSpec
Return my constraints.
params() - Method in class ucb.gui2.LayoutSpec
Return my constraints.
Physics - Class in ucb.proj2
Methods for computing collision times and effects on round equal-sized moving objects in 2D.
Physics() - Constructor for class ucb.proj2.Physics
 
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

rebind(String, Remote) - Method in class ucb.util.SimpleObjectRegistry
Bind NAME to VALUE in this registry, replacing any existing binding.
rebound(double[], double[]) - Static method in class ucb.proj2.Physics
Given two objects with P0 and P1 (see the class documentation for ucb.proj2.Physics, above) that are in collision with each other, (destructively) modify their velocities as a result of that collision.
receive() - Method in interface ucb.util.mailbox.Mailbox
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() - Method in class ucb.util.mailbox.QueuedMailbox
Receive the next queued message in this Mailbox.
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() - Method in class ucb.util.mailbox.Rendezvous
Receive the next queued message in this Mailbox.
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.gui.Pad
Alert the system that I ought be asked to repaint myself.
repaint(long) - Method in class ucb.gui.Pad
Alert the system that I ought be asked to repaint myself within TM milliseconds.
repaint(int, int, int, int) - Method in class ucb.gui.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, int, int, int, int) - Method in class ucb.gui.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.
repaint() - Method in class ucb.gui2.Pad
Alert the system that I ought be asked to repaint myself.
repaint(long) - Method in class ucb.gui2.Pad
Alert the system that I ought be asked to repaint myself within TM milliseconds.
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, 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.
requestFocusInWindow() - Method in class ucb.gui.Widget
Request that I get the focus.
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.
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(Class<?>...) - Static method in class ucb.junit.textui
Return runClasses(Messages, CLASSES).
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(List<Class<?>>) - Static method in class ucb.junit.textui
Return runClasses(MESSAGES, CLASSES).

S

select(String, boolean) - Method in class ucb.gui.TopLevel
Set isSelected(LABEL) to VAL, if LABEL is a valid button.
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.gui.TopLevel
Set the enabled status of the buttons labeled LABELS[0], ...
setEnabled(boolean, String...) - Method in class ucb.gui2.TopLevel
Set the enabled status of the buttons labeled LABELS[0], ...
setKeyHandler(String, Object, String) - Method in class ucb.gui.Pad
Set the handler of key events indicated by EVENT to the method named FUNCNAME in RECEIVER.
setKeyHandler(String, String) - Method in class ucb.gui.Pad
Set the handler of key events indicated by EVENT to my method named FUNCNAME.
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.gui.TopLevel
Set the text of the existing label with tag ID to TEXT.
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.gui.Pad
Set my maximum size to WIDTH x HEIGHT pixels.
setMaximumSize(int, int) - Method in class ucb.gui.TopLevel
Set my maximum size to WIDTH x HEIGHT pixels.
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.gui.Pad
Set my minimum size to WIDTH x HEIGHT pixels.
setMinimumSize(int, int) - Method in class ucb.gui.TopLevel
Set my minimum 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, Object, String) - Method in class ucb.gui.Pad
Handle the mouse event EVENT by calling the FUNCNAME method on RECEIVER with the MouseEvent that describes the event.
setMouseHandler(String, String) - Method in class ucb.gui.Pad
Set the handler of mouse events indicated by EVENT to my method named FUNCNAME.
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.gui.TopLevel
When the focus is in my window, request that WIDGET, which should be one of my components, get the focus.
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.gui.Pad
Set my preferred size to WIDTH x HEIGHT pixels.
setPreferredSize(int, int) - Method in class ucb.gui.TopLevel
Set my preferred size to WIDTH x HEIGHT pixels.
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.gui.Pad
Set my current size to WIDTH x HEIGHT pixels.
setSize(int, int) - Method in class ucb.gui2.Pad
Set my current size to WIDTH x HEIGHT pixels.
showMessage(String, String, String) - Method in class ucb.gui.TopLevel
Display the dismissable message TEXT of type TYPE in a separate dialog window with title TITLE.
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.gui.TopLevel
Display a choice of optional responses, labeled LABELS[0],...,LABELS[n] in a separate dialog box with title TITLE and message MESSAGE.
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(int, int) - Constructor for class ucb.util.SimpleObjectRegistry
Create a new SimpleObjectRegistry on one of the ports LOWPORT to HIGHPORT, if possible.
SimpleObjectRegistry(int) - Constructor for class ucb.util.SimpleObjectRegistry
Return SimpleObjectRegistry(PORT, PORT).
SimpleObjectRegistry() - Constructor for class ucb.util.SimpleObjectRegistry
Same as SimpleObjectRegistry(DEFAULT_LOW_PORT, DEFAULT_HIGH_PORT).
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

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.
TopLevel - Class in ucb.gui
A top-level window with optional menu bar.
TopLevel(String, boolean) - Constructor for class ucb.gui.TopLevel
A new TopLevel with the given TITLE (which window managers typically display on the border).
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).

U

ucb.gui - package ucb.gui
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.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.proj2 - package ucb.proj2
 
ucb.util - package ucb.util
 
ucb.util.mailbox - package ucb.util.mailbox
 
unbind(String) - Method in class ucb.util.SimpleObjectRegistry
Remove any binding of NAME in this registry.
unbind() - Method in class ucb.util.SimpleObjectRegistry
Remove all bindings in this registry.

W

Widget - Class in ucb.gui
The parent class of all additional things that may be added to a TopLevel.
Widget() - Constructor for class ucb.gui.Widget
 
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
 
A C D E F G I L M N O P Q R S T U W 
Skip navigation links