Basic Methods
zio package

context
A C D E F G H I O P R S T W Z

A

abort(String) - Static method in class zio.Zio
Writes a message in the command window, starts a new line, and aborts the program.
ask(String) - Static method in class zio.Zio
Pops a window up that asks a yes/no question.

C

canRead(String) - Static method in class zio.InOut
Tests whether file can be read.
canReadImage(String) - Static method in class zio.InOut
Tests whether file can be read.
canWrite(String) - Static method in class zio.InOut
Tests whether file can be written.
canWriteImage(String) - Static method in class zio.InOut
Tests whether file can be written.
clear() - Method in class zio.GraphingWindow
 
close() - Method in class zio.Input
Tells operating system your program is finished reading.
close() - Method in class zio.Output
Tells operating system your program is finished writing.
closeWindow() - Method in class zio.DialogWindow
Closes the window which means it is gone forever.
closeWindow() - Method in class zio.DisplayWindow
Closes the window which means it is gone forever.

D

DialogWindow - class zio.DialogWindow.
Provides a window that can be used for a continuing dialog with the user.
DialogWindow(String, String) - Constructor for class zio.DialogWindow
Create a dialog window with title and prompt.
DisplayWindow - class zio.DisplayWindow.
This displays some text, an image, or both.
DisplayWindow(String, BufferedImage, String) - Constructor for class zio.DisplayWindow
Creates a display window with both image and text.
DisplayWindow(String, String) - Constructor for class zio.DisplayWindow
Creates a display window with text only.
DisplayWindow(String, BufferedImage) - Constructor for class zio.DisplayWindow
Creates a display window with only an image.
displayString(String) - Method in class zio.DialogWindow
Display a String message in the dialog window.
drawPrePlotted() - Method in class zio.GraphingWindow
 

E

eof() - Method in class zio.Input
Returns true if the last attempt to read failed because of the end of the input was discovered during that particular read operation.
extractChars(String) - Static method in class zio.Zio
Splits a String into a character array.
extractLines(String) - Static method in class zio.Zio
Splits a String into an array of lines.
extractTokens(String) - Static method in class zio.Zio
Splits a String into an array of tokens.

F

findAndReadDouble() - Method in class zio.Input
Reads the next real number.
findAndReadInt() - Method in class zio.Input
Reads the next integer.
findAndReadToken() - Method in class zio.Input
Reads the next token.

G

GraphingWindow - class zio.GraphingWindow.
A window of this kind contains a white, fixed-size canvas on which colored points can be plotted.
GraphingWindow(String, Dimension) - Constructor for class zio.GraphingWindow
 
getLargestZObject() - Static method in class zio.Zio
Finds the size of the largest ZObject that will fit on this screen with this motif.
getScreenSize() - Static method in class zio.Zio
Finds the size in pixels of the current moniter.

H

hide() - Method in class zio.DisplayWindow
Removes a window from the screen without getting rid of it.

I

InOut - class zio.InOut.
This class contains methods for reading and writing entire files: either text files or image files.
InOut() - Constructor for class zio.InOut
 
Input - class zio.Input.
Provides for text input from files and command windows .
Input() - Constructor for class zio.Input
Creates an input object capable of reading from the keyboard.
Input(String) - Constructor for class zio.Input
Creates an input object capable of reading from the named file.

O

Output - class zio.Output.
Provides for text output to files and command windows.
Output() - Constructor for class zio.Output
Creates an Output object capable of writing to the command window.
Output(String) - Constructor for class zio.Output
Creates an Output object capable of writing to the named file.

P

plot(Color, int, int) - Method in class zio.GraphingWindow
 
prePlot(Color, int, int) - Method in class zio.GraphingWindow
 
processInput(String) - Method in class zio.DialogWindow
This method is invoked (but not by you) every time the user enters a String.

R

readChar() - Method in class zio.Input
Reads the next character of input.
readImage(String) - Static method in class zio.InOut
Reads a gif, jpg or png image.
readLine() - Method in class zio.Input
Reads the next line of input.
readText(String) - Static method in class zio.InOut
Read a text file into a String.

S

setGlobalBackground(Color) - Static method in class zio.Zio
Set the global background color.
setGlobalForeground(Color) - Static method in class zio.Zio
Sets the global foreground color.
show() - Method in class zio.DisplayWindow
Redisplays a hidden window.
show(String) - Static method in class zio.Zio
Writes a string in the command window and starts a new line.
stop() - Static method in class zio.Zio
Stops the program.

T

tell(String) - Static method in class zio.Zio
Pops a window up that tells the user something.

W

writeChar(char) - Method in class zio.Output
Writes a character
writeDouble(double) - Method in class zio.Output
Writes a double.
writeDouble(double, int, int) - Method in class zio.Output
Writes a double in decimal form within a specified number of columns and using a specified number of digits to the right of the decimal point.
writeImage(String, BufferedImage) - Static method in class zio.InOut
Writes a jpg or png image.
writeInt(int) - Method in class zio.Output
Writes an int.
writeInt(int, int) - Method in class zio.Output
Writes an int as a decimal number within a specified number of columns.
writeLine() - Method in class zio.Output
Writes the character code(s) that signal the end of a line.
writeLine(String) - Method in class zio.Output
Writes a String and then writes the character code(s) that signals the end of a line.
writeString(String, int) - Method in class zio.Output
Writes a String.
writeText(String, String) - Static method in class zio.InOut
Writes a String to a file.

Z

Zio - class zio.Zio.
The Zio class is a method defining class that contains a potpourri of methods.
Zio() - Constructor for class zio.Zio
 
zio - package zio
 

A C D E F G H I O P R S T W Z
author
context