Class ServerInfoComponent

All Implemented Interfaces:
ImageObserver, MenuContainer, Serializable, Accessible

public class ServerInfoComponent extends JPanel
Component that allows the user to specify the host name and port number for the remote repository server.
See Also:
  • Constructor Details

    • ServerInfoComponent

      public ServerInfoComponent()
  • Method Details

    • setStatusListener

      public void setStatusListener(StatusListener statusListener)
      Set the status listener
      Parameters:
      statusListener -
    • setChangeListener

      public void setChangeListener(ChangeListener listener)
      Set the change listener for this component
      Parameters:
      listener -
    • getServerName

      public String getServerName()
      Get the server name.
    • getPortNumber

      public int getPortNumber()
      Get the port number.
    • setServerInfo

      public void setServerInfo(ServerInfo info)
      Set the field values using the given server info.
    • isValidInformation

      public boolean isValidInformation()
      Return whether the fields on this panel have valid information.