All Methods
zio package

context
A B C D E F G H I L M N O P R S T U 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.
action(boolean, Point) - Method in class zio.ZBox
For execution when user clicks the mouse over the ZBox.
action() - Method in class zio.ZButton
This action is invoked whenever an enabled button is clicked.
action(String) - Method in class zio.ZKeyboard
Action taken when the user presses enter.
action(boolean, Point) - Method in class zio.ZPicture
For execution when user clicks the mouse over the picture.
action(boolean, Point) - Method in class zio.ZPixels
For execution when user clicks the mouse over the ZPixels.
appendNextOpenFile() - Static method in class zio.Output
Makes the next file opening constructor create an object that will append to an existing file.
ask(String) - Static method in class zio.Zio
Pops a window up that asks a yes/no question.
atBottom() - Method in class zio.ZCol
Suffix that forces bottom component ZObject to appear at bottom of column without any intervening space.
atLeft() - Method in class zio.ZRow
Suffix that forces leftmost component ZObject to appear at the left of the row without any intervening space.
atRight() - Method in class zio.ZRow
Suffix that forces rightmost component ZObject to appear at the right of the row without any intervening space.
atTop() - Method in class zio.ZCol
Suffix that forces top component ZObject to appear at top of column without intervening space.

B

background(Color) - Method in class zio.ZBox
Suffix that sets the background color.
background(Color) - Method in class zio.ZButton
Suffix that determines the background color.
background(Color) - Method in class zio.ZCol
Suffix that determines the background color of the column.
background(Color) - Method in class zio.ZComponent
Suffix that determines the background color of the JComponent.
background(Color) - Method in class zio.ZKeyboard
Suffix that determines the background color of the ZKeyboard.
background(Color) - Method in class zio.ZLabel
Suffix that determines the background color.
background(Color) - Method in class zio.ZPixels
Suffix that sets the background color.
background(Color) - Method in class zio.ZRow
Suffix that determines the background color of the row.
background(Color) - Method in class zio.ZTextlines
Suffix that determines the background color of the ZTextlines.

C

canOverflow() - Method in class zio.ZKeyboard
Suffix that enables user to type more text than can be displayed.
canRead(String) - Static method in class zio.InOut
Tests whether file can be read.
canRead(File) - 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.
canReadImage(File) - 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.
canWrite(File) - 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.
canWriteImage(File) - Static method in class zio.InOut
Tests whether file can be written.
cleanupAction() - Method in class zio.ZioShutdown
Defines cleanup for a normal stop with Zio.stop().
clear() - Method in class zio.GraphingWindow
 
clear() - Method in class zio.ZPixels
 
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.
closeWindow() - Method in class zio.ZWindow
Closes window.
color(Color) - Method in class zio.ZBox
Sets the background color of the ZBox.
color(Color) - Method in class zio.ZPixels
Sets the background color of the ZPixels.

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.
debug(String) - Method in class zio.ZBox
Suffix that creates debug output.
debug(String) - Method in class zio.ZButton
Suffix that creates debug output.
debug(String) - Method in class zio.ZCol
Suffix that creates debug output.
debug(String) - Method in class zio.ZComponent
Suffix that creates debug output.
debug(String) - Method in class zio.ZKeyboard
Suffix that creates debug output.
debug(String) - Method in class zio.ZLabel
Suffix that creates debug output.
debug(String) - Method in class zio.ZPicture
Suffix that creates debug output.
debug(String) - Method in class zio.ZRow
Suffix that creates debug output.
debug(String) - Method in class zio.ZTextlines
Suffix that creates debug output.
disable() - Method in class zio.ZButton
Disables the button.
displayString(String) - Method in class zio.DialogWindow
Display a String message in the dialog window.
draw() - Method in class zio.ZPixels
 
drawPrePlotted() - Method in class zio.GraphingWindow
 

E

enable() - Method in class zio.ZButton
Enables the button.
enableMouseAction() - Method in class zio.ZBox
Method for causing the action() method to be executed upon mouse clicks.
enableMouseAction() - Method in class zio.ZPicture
Method for causing the action() method to be executed upon mouse clicks.
enableMouseAction() - Method in class zio.ZPixels
Method for causing the action() method to be executed upon mouse clicks.
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.
epilog() - Method in class zio.ZWindow
This is invoked when a window closes (by the user or thru closeWindow()).
errorAction(String, Exception) - Method in class zio.ZioShutdown
Defines error action for Zio.abort() and any IOExceptions raised in the zio package's code.
expandH() - Method in class zio.ZBox
Suffix that enables horizontal stretching.
expandH() - Method in class zio.ZComponent
Suffix that enables the JComponent to be stretched in the horizontal direction.
expandH() - Method in class zio.ZKeyboard
Suffix that enables horizontal stretching.
expandH() - Method in class zio.ZPicture
Suffix that enables horizontal stretching.
expandH() - Method in class zio.ZTextlines
Suffix that enables horizontal stretching.
expandV() - Method in class zio.ZBox
Suffix that enables vertical stretching.
expandV() - Method in class zio.ZComponent
Suffix that enables the JComponent to be stretched in the vertical direction.
expandV() - Method in class zio.ZPicture
Suffix that enables vertical stretching.
expandV() - Method in class zio.ZTextlines
Suffix that enables horizontal stretching.
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.
flush() - Method in class zio.Output
Flush the output buffer without bothering with writeLine.
foreground(Color) - Method in class zio.ZBox
Suffix that sets the foreground color.
foreground(Color) - Method in class zio.ZButton
Suffix that sets the foreground color.
foreground(Color) - Method in class zio.ZCol
Suffix that sets the foreground color of the column.
foreground(Color) - Method in class zio.ZComponent
Suffix that determines the foreground color of the JComponent area.
foreground(Color) - Method in class zio.ZKeyboard
Suffix that sets the foreground color.
foreground(Color) - Method in class zio.ZLabel
Suffix that sets the foreground color.
foreground(Color) - Method in class zio.ZRow
Suffix that sets the foreground color of the row.
foreground(Color) - Method in class zio.ZTextlines
Suffix that sets the foreground color.
framed(int) - Method in class zio.ZCol
Suffix that creates an etched frame around the ZCol.
framed(int) - Method in class zio.ZComponent
Suffix that creates an etched frame around the ZComponent.
framed(int) - Method in class zio.ZRow
Suffix that creates an etched frame around the ZRow.
framed(int) - Method in class zio.ZTextlines
Suffix that creates an etched frame around the text area.
fullScreen() - Method in class zio.ZWindow
Makes window's minimum size full_screen.

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
 
getGlobalBackground() - Static method in class zio.Zio
Get the global background color.
getGlobalForeground() - Static method in class zio.Zio
Get the global foreground color.
getJComponent() - Method in class zio.ZComponent
Method for obtaining the JComponent.
getJPanel() - Method in class zio.ZBox
Get a reference to the underlying JPanel.
getLargestZObject() - Static method in class zio.Zio
Finds the size of the largest ZObject that will fit on this screen with this motif.
getOriginalGlobalBackground() - Static method in class zio.Zio
Get the default background color.
getOriginalGlobalForeground() - Static method in class zio.Zio
Get the default foreground color.
getScreenSize() - Static method in class zio.Zio
Finds the size in pixels of the current moniter.
getSelection() - Method in class zio.ZTextlines
Fetches then substring selected by the user.
getSize() - Method in class zio.ZObject
Obtains the minimum/preferred size.
getText() - Method in class zio.ZKeyboard
Returns the text which has been entered.
grid() - Method in class zio.ZCol
Suffix that creates a grid, or two dimensional array, of ZObjects.
grid() - Method in class zio.ZRow
Suffix that creates a grid, or two dimensional array, of ZObjects.

H

hide() - Method in class zio.DisplayWindow
Removes a window from the screen without getting rid of it.
hide() - Method in class zio.ZWindow
Makes the window invisible so a user will see no trace 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 command windows, sockets, character arrays, Strings and File objects.
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.
Input(File) - Constructor for class zio.Input
Creates an input object from a File object.
Input(File, int) - Constructor for class zio.Input
Creates an input object from a File Object.
Input(String, int) - Constructor for class zio.Input
Creates an input object capable of reading from the named file.
Input(int) - Constructor for class zio.Input
Creates an input object capable of reading from the keyboard.
Input(Reader) - Constructor for class zio.Input
Creates an input object capable of using any Reader object.
Input(Reader, int) - Constructor for class zio.Input
Creates an input object capable of using any Reader object.
Input(InputStream) - Constructor for class zio.Input
Creates an Input object from any InputStream object.
Input(InputStream, int) - Constructor for class zio.Input
Creates an Input object from any InputStream object.

L

lock() - Method in class zio.ZCol
Causes column to be unexpandable in any direction.
lock() - Method in class zio.ZRow
Causes row to be unexpandable in any direction.

M

main(String[]) - Static method in class zio.InOut
used for testing, may be arbitrarily changed
minSize(Dimension) - Method in class zio.ZButton
Suffix that sets the minimum size.
minSize(Dimension) - Method in class zio.ZPicture
Suffix that sets the minimum size.
minSize(Dimension) - Method in class zio.ZTextlines
Suffix that sets the minimum size.

N

notATokenChar(int) - Method in class zio.Input
Create a subclass and override this method to obtain different token separation.
numCols(int) - Method in class zio.ZKeyboard
Suffix that sets the approximate number of columns the user can enter without auto scrolling.
numColsRows(int, int) - Method in class zio.ZTextlines
Suffix that adjusts the size.

O

Output - class zio.Output.
Provides for text output to files, command windows, sockets, character arrays, Strings, and File objects.
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.
Output(File) - Constructor for class zio.Output
Creates an Output object from any a File object.
Output(Writer) - Constructor for class zio.Output
Creates an Output object from any writer object.
Output(OutputStream) - Constructor for class zio.Output
Creates an Ouput object from any OutputStream object.

P

plot(Color, int, int) - Method in class zio.GraphingWindow
 
plot(Color, Point) - Method in class zio.ZPixels
 
pointSize(int) - Method in class zio.ZButton
Suffix which alters the point size of the font.
pointSize(int) - Method in class zio.ZKeyboard
Suffix which alters the point size of the font.
pointSize(int) - Method in class zio.ZLabel
Suffix which alters the point size of the font.
pointSize(int) - Method in class zio.ZTextlines
Suffix which alters the point size of the font.
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.
readImage(File) - 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.
readText(File) - Static method in class zio.InOut
Read a text file into a String.
registerShutdown(ZioShutdown) - Static method in class zio.Zio
Registers a subclass of ZioShutdown to change the actions taken under normal and abnormal shutdowns.

S

scrollReady() - Method in class zio.ZTextlines
Suffix that causes scrollbars to appear when necessary.
selectionBackground(Color) - Method in class zio.ZTextlines
Suffix that determines color of the area the user has selected with the mouse.
selectionForeground(Color) - Method in class zio.ZTextlines
Suffix that sets the selection's foreground color.
setBackgroundColor(Color) - Static method in class zio.ZWindow
Defunct.
setFont(Font) - Method in class zio.ZButton
Suffix which sets the font the label will appear in.
setFont(Font) - Method in class zio.ZKeyboard
Suffix which sets the font used when the user enters data in this object.
setFont(Font) - Method in class zio.ZLabel
Suffix which sets the font the label will appear in.
setFont(Font) - Method in class zio.ZTextlines
Suffix which sets the font the label will appear in.
setForegroundColor(Color) - Static method in class zio.ZWindow
Defunct.
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.
setLocation(int, int) - Method in class zio.ZWindow
Moves the window.
setMenuBar(JMenuBar) - Method in class zio.ZWindow
Sets the window's menubar.
setText(String) - Method in class zio.ZKeyboard
Overwrites the user input area.
show() - Method in class zio.DisplayWindow
Redisplays a hidden window.
show() - Method in class zio.ZWindow
Makes the window visible.
show(String) - Static method in class zio.Zio
Writes a string in the command window and starts a new line.
showImage(BufferedImage) - Method in class zio.ZPicture
Display a picture.
showText(String) - Method in class zio.ZTextlines
Writes a String into the text area.
size(Dimension) - Method in class zio.ZBox
Suffix that overrides the default size.
size(Dimension) - Method in class zio.ZComponent
Suffix that overrides Swing's notion of what the JComponent's minimum/preferred should be.
size(Dimension) - Method in class zio.ZPicture
Suffix that sets the size.
size(Dimension) - Method in class zio.ZPixels
Suffix that overrides the default size.
space(int) - Method in class zio.ZCol
Suffix that sets minimum spacing.
space(int) - Method in class zio.ZRow
Suffix that sets minimum spacing.
stop() - Static method in class zio.Zio
Stops the program.
sunken() - Method in class zio.ZTextlines
Suffix that gives the text area a sunken look.

T

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

U

unframed(int) - Method in class zio.ZCol
Suffix that creates the margin used with a frame without creating the frame.
unframed(int) - Method in class zio.ZComponent
Suffix that creates the margin used with a frame without creating the frame.
unframed(int) - Method in class zio.ZRow
Suffix that creates the margin used with a frame without creating the frame.
unframed(int) - Method in class zio.ZTextlines
Suffix that creates the margin used with a frame without creating the frame.
uniform() - Method in class zio.ZCol
This suffix causes all component ZObjects to be the same size.
uniform() - Method in class zio.ZRow
This suffix causes all component ZObjects to be the same size.
unlock() - Method in class zio.ZCol
Suffix that permits column to expand horizontally.
unlock() - Method in class zio.ZRow
Suffix that permits row to expand vertically.

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.
writeImage(File, 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) - Method in class zio.Output
Writes a String.
writeString(String, int) - Method in class zio.Output
Writes a String within a specified number of columns.
writeText(String, String) - Static method in class zio.InOut
Writes a String to a file.
writeText(File, String) - Static method in class zio.InOut
Writes a String to a file.

Z

ZBox - class zio.ZBox.
Use this class to make colored boxes which are optionally expandable.
ZBox() - Constructor for class zio.ZBox
Creates a box By default, the width and length of this box are both one twelfth the height of the screen (measured in pixels) and the color is the same default color that is used to write text (usually black).
ZButton - class zio.ZButton.
Implements a onscreen clickable button.
ZButton(String) - Constructor for class zio.ZButton
Creates a ZButton.
ZCol - class zio.ZCol.
A ZCol is a vertical slice of a part of a window.
ZCol(ZObject[]) - Constructor for class zio.ZCol
Create a ZCol with multiple objects given in an array.
ZCol(ZObject) - Constructor for class zio.ZCol
Create a ZCol with a single ZObject.
ZCol(ZObject, ZObject) - Constructor for class zio.ZCol
Create a ZCol with two ZObjects.
ZCol(ZObject, ZObject, ZObject) - Constructor for class zio.ZCol
Create a ZCol with three ZObjects.
ZCol(ZObject, ZObject, ZObject, ZObject) - Constructor for class zio.ZCol
Create a ZCol with four ZObjects.
ZComponent - class zio.ZComponent.
Converts JComponents to ZObjects.
ZComponent(JComponent) - Constructor for class zio.ZComponent
Creates a ZObject corresponding to a JComponent.
ZKeyboard - class zio.ZKeyboard.
Defines a area for user input.
ZKeyboard() - Constructor for class zio.ZKeyboard
Creates a ZKeyboard object.
ZLabel - class zio.ZLabel.
An unchanging line of text.
ZLabel(String) - Constructor for class zio.ZLabel
Creates a ZLabel.
ZObject - class zio.ZObject.
Base class for everything that goes into a ZWindow.
ZObject() - Constructor for class zio.ZObject
 
ZPicture - class zio.ZPicture.
A program writeable image area.
ZPicture() - Constructor for class zio.ZPicture
Creates a ZPicture with no image..
ZPixels - class zio.ZPixels.
This, AS YET UNIMPLEMENTED, class will define an area of the screen where you can plot colored points.
ZPixels() - Constructor for class zio.ZPixels
 
ZRow - class zio.ZRow.
A ZRow is a horizontal slice of a part of a window.
ZRow(ZObject[]) - Constructor for class zio.ZRow
Create a ZRow with multiple objects given in an array.
ZRow(ZObject) - Constructor for class zio.ZRow
Create a ZRow with a single ZObject.
ZRow(ZObject, ZObject) - Constructor for class zio.ZRow
Create a ZRow with two ZObjects.
ZRow(ZObject, ZObject, ZObject) - Constructor for class zio.ZRow
Create a ZRow with three ZObjects.
ZRow(ZObject, ZObject, ZObject, ZObject) - Constructor for class zio.ZRow
Create a ZRow with four ZObjects.
ZSlice - class zio.ZSlice.
Base class for slices (that is ZRows and ZCols)..
ZSlice() - Constructor for class zio.ZSlice
 
ZTextlines - class zio.ZTextlines.
A program writeable two-dimensional text area.
ZTextlines() - Constructor for class zio.ZTextlines
Creates an empty ZTextlines object.
ZWindow - class zio.ZWindow.
ZWindows are top level windows known to the operating system.
ZWindow(String, ZObject) - Constructor for class zio.ZWindow
In cooperation with operating system, creates a top level window.
ZWindow(String, ZObject, boolean) - Constructor for class zio.ZWindow
In cooperation with operating system, creates a top level window.
Zio - class zio.Zio.
The Zio class is a method defining class that contains a potpourri of methods.
Zio() - Constructor for class zio.Zio
 
ZioShutdown - class zio.ZioShutdown.
Use this class to alter the zio package's shutdown behavior.
ZioShutdown() - Constructor for class zio.ZioShutdown
 
zio - package zio
 

A B C D E F G H I L M N O P R S T U W Z
author
context