Package | Description |
---|---|
acm.io |
This package includes two classes that simplify I/O operations.
|
acm.program |
This package provides a set of classes that simplify the creation of programs.
|
Modifier and Type | Field and Description |
---|---|
static IOConsole |
IOConsole.SYSTEM_CONSOLE
This constant is an object that offers the functionality of the
IOConsole class, but which does so using the standard
I/O streams System.in and System.out . |
Modifier and Type | Method and Description |
---|---|
IOConsole |
IODialog.getAssociatedConsole()
Returns the associated console for the dialog.
|
Modifier and Type | Method and Description |
---|---|
void |
IODialog.setAssociatedConsole(IOConsole console)
Establishes an associated console for the dialog.
|
Modifier and Type | Method and Description |
---|---|
IOConsole |
ProgramMenuBar.getConsole()
Returns the console associated with this menu bar.
|
IOConsole |
Program.getConsole()
Returns the console associated with this program.
|
Modifier and Type | Method and Description |
---|---|
void |
ProgramMenuBar.setConsole(IOConsole console)
Sets the console associated with the menu bar.
|
void |
Program.setConsole(IOConsole console)
Sets the console associated with this program.
|