|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
public interface DialogSupport
Class that provides basic functions to show dialogs for plugins.
Method Summary | |
---|---|
String |
askForCaptcha(BufferedImage image)
Shows default simple input dialog for getting input from user. |
PremiumAccount |
showAccountDialog(PremiumAccount premiumAccount,
String dialogTitle)
Method shows simple input dialog with username and password fields and OK/Cancel buttons |
boolean |
showOKCancelDialog(Component container,
String dialogTitle)
Shows simple OK/Cancel dialog with given content of given container |
void |
showOKDialog(Component container,
String dialogTitle)
Shows simple dialog with OK button with given content of given container |
Method Detail |
---|
PremiumAccount showAccountDialog(PremiumAccount premiumAccount, String dialogTitle) throws Exception
premiumAccount
- object with data about username and passworddialogTitle
- title for dialog - usually plugin's name
Exception
- if something went wrongboolean showOKCancelDialog(Component container, String dialogTitle) throws Exception
container
- a container with SWING components to showdialogTitle
- title for dialog
Exception
- if something went wrong or thread was interruptedvoid showOKDialog(Component container, String dialogTitle) throws Exception
container
- a container with SWING components to showdialogTitle
- title for dialog
Exception
- if something went wrong or thread was interruptedString askForCaptcha(BufferedImage image) throws Exception
image
- CAPTCHA image to show user
Exception
- if something went wrong or thread was interrupted
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |