Class ServerConnectDialogPanel

java.lang.Object
java.awt.Component
java.awt.Container
javax.swing.JComponent
javax.swing.JPanel
org.gvsig.gazetteer.ui.serverconnect.ServerConnectDialogPanel
All Implemented Interfaces:
ActionListener, ImageObserver, MenuContainer, Serializable, EventListener, Accessible

public class ServerConnectDialogPanel extends JPanel implements ActionListener
It implements the Jpanel thas has the events control for the connection panel. It is composed by some buttons and a panel.
Author:
Jorge Piera Llodra (piera_jor@gva.es)
See Also:
  • Field Details

    • client

      protected GazetteerClient client
    • serversFile

      protected String serversFile
    • currentServer

      protected String currentServer
    • isUpdating

      protected boolean isUpdating
  • Constructor Details

    • ServerConnectDialogPanel

      public ServerConnectDialogPanel(JFrame parent)
      Constructor
      Parameters:
      parent -
  • Method Details

    • getControlsPanel

      public ServerConnectPanel getControlsPanel()
      Returns:
      the main panel
    • addTreeMapServer

      protected static void addTreeMapServer(org.gvsig.utils.swing.jcomboServer.ServerData server)
      It adds a server in the TreeMap Object
      Parameters:
      server -
    • actionPerformed

      public void actionPerformed(ActionEvent e)
      Specified by:
      actionPerformed in interface ActionListener
    • searchButtonActionPerformed

      protected void searchButtonActionPerformed()
      Action when the search button is clicked
    • connectButtonActionPerformed

      protected void connectButtonActionPerformed()
      It is thrown the the connect button is clicked
    • closeButtonActionPerformed

      protected void closeButtonActionPerformed()
      * It is thrown the the close button is clicked
    • getServersFile

      public String getServersFile()
      Returns:
      Returns the serversFile.
    • setServersFile

      public void setServersFile(String serversFile)
      Parameters:
      serversFile - The serversFile to set.
    • getCurrentServer

      public String getCurrentServer()
      Returns:
      Returns the currentServer.
    • getCliente

      public GazetteerClient getCliente()
      Returns:
      Returns the client.