Class JsDialogManager
java.lang.Object
jspecview.dialog.DialogManager
jspecview.js2d.JsDialogManager
-
Field Summary
Fields inherited from class DialogManager
ERROR_MESSAGE, htDialogs, INFORMATION_MESSAGE, PLAIN_MESSAGE, QUESTION_MESSAGE, vwr, WARNING_MESSAGE -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionvoidactionPerformed(String eventId) Jmol.Swing.click() callback (via SwingController)getDialogInput(Object parentComponent, String phrase, String title, int msgType, Object icon, Object[] objects, String defaultStr) int[]getLocationOnScreen(Object component) intgetOptionFromDialog(Object frame, String[] items, JSVPanel jsvp, String dialogName, String labelName) voidshowMessage(Object frame, String text, String title) voidshowMessageDialog(Object parentComponent, String msg, String title, int msgType) voidshowProperties(Object frame, Spectrum spectrum) Looks a lot like Swing, right? :)Methods inherited from class DialogManager
fixTitle, getSelectorName, processClick, processTableEvent, processWindowClosing, registerDialog, registerSelector, set, showSource, showSourceErrors
-
Constructor Details
-
JsDialogManager
public JsDialogManager()
-
-
Method Details
-
getDialog
- Specified by:
getDialogin classDialogManager
-
getDialogInput
public String getDialogInput(Object parentComponent, String phrase, String title, int msgType, Object icon, Object[] objects, String defaultStr) - Specified by:
getDialogInputin classDialogManager
-
showMessageDialog
- Specified by:
showMessageDialogin classDialogManager
-
getLocationOnScreen
- Specified by:
getLocationOnScreenin classDialogManager
-
getOptionFromDialog
public int getOptionFromDialog(Object frame, String[] items, JSVPanel jsvp, String dialogName, String labelName) - Specified by:
getOptionFromDialogin classDialogManager
-
showProperties
Looks a lot like Swing, right? :)- Specified by:
showPropertiesin classDialogManager
-
showMessage
- Specified by:
showMessagein classDialogManager
-
actionPerformed
Jmol.Swing.click() callback (via SwingController)- Parameters:
eventId-
-