public class SwingUserInterface extends UpdaterUserInterface
UpdaterUserInterface.StderrInterface
Modifier and Type | Field and Description |
---|---|
protected LogService |
log |
protected StatusService |
statusService |
ui
Constructor and Description |
---|
SwingUserInterface(LogService log,
StatusService statusService) |
Modifier and Type | Method and Description |
---|---|
void |
addWindow(Frame window) |
void |
debug(String message) |
void |
error(String message) |
OutputStream |
getOutputStream() |
String |
getPassword(String title) |
String |
getPref(String key) |
String |
getString(String title) |
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 message,
String title) |
void |
removeWindow(Frame window) |
void |
savePreferences() |
void |
setPref(String key,
String value) |
void |
showStatus(String message) |
get, set
protected final LogService log
protected final StatusService statusService
public SwingUserInterface(LogService log, StatusService statusService)
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 String getPassword(String title)
getPassword
in class UpdaterUserInterface
public void addWindow(Frame window)
addWindow
in class UpdaterUserInterface
public void removeWindow(Frame window)
removeWindow
in class UpdaterUserInterface
public boolean promptYesNo(String message, String title)
promptYesNo
in class UpdaterUserInterface
Copyright © 2014–2022 ImageJ. All rights reserved.