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, set
protected Console console
protected int count
public String getPassword(String message)
getPassword
in class UpdaterUserInterface
public boolean promptYesNo(String title, String message)
promptYesNo
in class UpdaterUserInterface
public void showPrompt(String prompt)
public int askChoice(String[] options)
public void error(String message)
error
in class UpdaterUserInterface
public void info(String message, String title)
info
in class UpdaterUserInterface
public void log(String message)
log
in class UpdaterUserInterface
public void debug(String message)
debug
in class UpdaterUserInterface
public OutputStream getOutputStream()
getOutputStream
in class UpdaterUserInterface
public void showStatus(String message)
showStatus
in class UpdaterUserInterface
public void handleException(Throwable exception)
handleException
in class UpdaterUserInterface
public boolean isBatchMode()
isBatchMode
in class UpdaterUserInterface
public int optionDialog(String message, String title, Object[] options, int def)
optionDialog
in class UpdaterUserInterface
public String getPref(String key)
getPref
in class UpdaterUserInterface
public void setPref(String key, String value)
setPref
in class UpdaterUserInterface
public void savePreferences()
savePreferences
in class UpdaterUserInterface
public void openURL(String url) throws IOException
openURL
in class UpdaterUserInterface
IOException
public String getString(String title)
getString
in class UpdaterUserInterface
public void addWindow(Frame window)
addWindow
in class UpdaterUserInterface
public void removeWindow(Frame window)
removeWindow
in class UpdaterUserInterface
Copyright © 2014–2022 ImageJ. All rights reserved.