Class AwtDialogManager
java.lang.Object
jspecview.dialog.DialogManager
jspecview.java.AwtDialogManager
- All Implemented Interfaces:
ActionListener, FocusListener, WindowListener, EventListener, ListSelectionListener
public class AwtDialogManager
extends DialogManager
implements ListSelectionListener, WindowListener, ActionListener, FocusListener
just a class I made to separate the construction of the AnnotationDialogs
from their use
- Author:
- Bob Hanson hansonr@stolaf.edu
-
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 TypeMethodDescriptionvoidActionListener callbackvoidvoidgetDialogInput(Object parentComponent, String phrase, String title, int msgType, Object icon, Object[] objects, String defaultStr) int[]getLocationOnScreen(Object component) intvoidshowMessage(Object frame, String text, String title) voidshowMessageDialog(Object parentComponent, String msg, String title, int msgType) voidshowProperties(Object frame, Spectrum spectrum) voidListSelectionListener callbackvoidwindowActivated(WindowEvent arg0) / required but unusedvoidwindowClosed(WindowEvent arg0) voidWindowListener callbackvoidwindowDeactivated(WindowEvent arg0) voidwindowDeiconified(WindowEvent arg0) voidwindowIconified(WindowEvent arg0) voidwindowOpened(WindowEvent arg0) Methods inherited from class DialogManager
fixTitle, getSelectorName, processClick, processTableEvent, processWindowClosing, registerDialog, registerSelector, set, showSource, showSourceErrors
-
Constructor Details
-
AwtDialogManager
public AwtDialogManager()
-
-
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
-
getOptionFromDialog
public int getOptionFromDialog(Object frame, String[] items, JSVPanel jsvp, String title, String label) - Specified by:
getOptionFromDialogin classDialogManager
-
getLocationOnScreen
- Specified by:
getLocationOnScreenin classDialogManager
-
showMessageDialog
- Specified by:
showMessageDialogin classDialogManager
-
showProperties
- Specified by:
showPropertiesin classDialogManager
-
showMessage
- Specified by:
showMessagein classDialogManager
-
valueChanged
ListSelectionListener callback- Specified by:
valueChangedin interfaceListSelectionListener
-
actionPerformed
ActionListener callback- Specified by:
actionPerformedin interfaceActionListener
-
focusGained
- Specified by:
focusGainedin interfaceFocusListener
-
windowClosing
WindowListener callback- Specified by:
windowClosingin interfaceWindowListener
-
windowActivated
/ required but unused- Specified by:
windowActivatedin interfaceWindowListener
-
windowClosed
- Specified by:
windowClosedin interfaceWindowListener
-
windowDeactivated
- Specified by:
windowDeactivatedin interfaceWindowListener
-
windowDeiconified
- Specified by:
windowDeiconifiedin interfaceWindowListener
-
windowIconified
- Specified by:
windowIconifiedin interfaceWindowListener
-
windowOpened
- Specified by:
windowOpenedin interfaceWindowListener
-
focusLost
- Specified by:
focusLostin interfaceFocusListener
-