Class NetBiDiBPairingRequestDialog


  • public class NetBiDiBPairingRequestDialog
    extends java.lang.Object
    This dialog is presented to the user if netBiDiB pairing is required. It informs the user about the remote device and waits until the pairing is accepted on the remote side. In this case, the dialog should be removed by the calling program. If the request timed out, is is closed an the calling program is informed by an ActionListener.
    • Method Summary

      All Methods Instance Methods Concrete Methods 
      Modifier and Type Method Description
      void dispose()
      Stop timer and remove dialog
      void hide()
      Stop timer and hide dialog
      void show()
      Show the dialog, setup listeners for the button and for the window close event.
      • Methods inherited from class java.lang.Object

        clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
    • Constructor Detail

      • NetBiDiBPairingRequestDialog

        public NetBiDiBPairingRequestDialog​(org.bidib.jbidibc.messages.helpers.Context context,
                                            BiDiBPortController portController,
                                            java.awt.event.ActionListener listener)
        Constructor.
        Parameters:
        context - to transfer several parameters to show on the dialog
        portController - to transfer the port hostname and port number
        listener - listing to the cancel event
    • Method Detail

      • show

        public void show()
        Show the dialog, setup listeners for the button and for the window close event. Immediately return, this is not a modal dialog.
      • dispose

        public void dispose()
        Stop timer and remove dialog
      • hide

        public void hide()
        Stop timer and hide dialog