Class Widgets.DialogCallback<T>

  • All Implemented Interfaces:
    java.lang.Runnable
    Enclosing class:
    Widgets

    private class Widgets.DialogCallback<T>
    extends java.lang.Object
    implements java.lang.Runnable
    A wrapper class for non-modal dialogs.
    • Constructor Detail

      • DialogCallback

        public DialogCallback​(FreeColDialog<T> fcd,
                              SwingGUI.PopupPosition pos,
                              DialogHandler<T> handler)
        Constructor.
        Parameters:
        fcd - The parent FreeColDialog.
        pos - A PopupPosition for the dialog.
        handler - The DialogHandler to call when run.
    • Method Detail

      • run

        public void run()
        Specified by:
        run in interface java.lang.Runnable