protected static class CommandLine.ConsoleUserInterface extends UpdaterUserInterface
UpdaterUserInterface.StderrInterface| Modifier and Type | Field and Description |
|---|---|
protected Console |
console |
protected int |
count |
ui| Modifier | Constructor and Description |
|---|---|
protected |
ConsoleUserInterface() |
| Modifier and Type | Method and Description |
|---|---|
void |
addWindow(Frame window) |
int |
askChoice(String[] options) |
void |
debug(String message) |
void |
error(String message) |
OutputStream |
getOutputStream() |
String |
getPassword(String message) |
String |
getPref(String key) |
String |
getString(String title) |
String |
getUsername(String prompt) |
void |
handleException(Throwable exception) |
void |
info(String message,
String title) |
boolean |
isBatchMode() |
void |
log(String message) |
void |
openURL(String url) |
int |
optionDialog(String message,
String title,
Object[] options,
int def) |
boolean |
promptYesNo(String title,
String message) |
void |
removeWindow(Frame window) |
void |
savePreferences() |
void |
setPref(String key,
String value) |
void |
showPrompt(String prompt) |
void |
showStatus(String message) |
get, setprotected Console console
protected int count
public String getPassword(String message)
getPassword in class UpdaterUserInterfacepublic boolean promptYesNo(String title, String message)
promptYesNo in class UpdaterUserInterfacepublic void showPrompt(String prompt)
public int askChoice(String[] options)
public void error(String message)
error in class UpdaterUserInterfacepublic void info(String message, String title)
info in class UpdaterUserInterfacepublic void log(String message)
log in class UpdaterUserInterfacepublic void debug(String message)
debug in class UpdaterUserInterfacepublic OutputStream getOutputStream()
getOutputStream in class UpdaterUserInterfacepublic void showStatus(String message)
showStatus in class UpdaterUserInterfacepublic void handleException(Throwable exception)
handleException in class UpdaterUserInterfacepublic boolean isBatchMode()
isBatchMode in class UpdaterUserInterfacepublic int optionDialog(String message, String title, Object[] options, int def)
optionDialog in class UpdaterUserInterfacepublic String getPref(String key)
getPref in class UpdaterUserInterfacepublic void setPref(String key, String value)
setPref in class UpdaterUserInterfacepublic void savePreferences()
savePreferences in class UpdaterUserInterfacepublic void openURL(String url) throws IOException
openURL in class UpdaterUserInterfaceIOExceptionpublic String getString(String title)
getString in class UpdaterUserInterfacepublic void addWindow(Frame window)
addWindow in class UpdaterUserInterfacepublic void removeWindow(Frame window)
removeWindow in class UpdaterUserInterfaceCopyright © 2014–2022 ImageJ. All rights reserved.