Class ServerAddressBook

java.lang.Object
VASSAL.chat.ServerAddressBook

public class ServerAddressBook extends Object
  • Field Details

  • Constructor Details

    • ServerAddressBook

      public ServerAddressBook()
  • Method Details

    • getInstance

      public static ServerAddressBook getInstance()
    • editCurrentServer

      public static void editCurrentServer(boolean connected)
    • changeServerPopup

      public static void changeServerPopup(JComponent source)
    • getLocalAddress

      public static String getLocalAddress()
    • getExternalAddress

      public static String getExternalAddress()
    • getExternalAddress

      public static String getExternalAddress(String dflt)
    • getControls

      public JComponent getControls()
    • setEnabled

      public void setEnabled(boolean b)
    • isEnabled

      public boolean isEnabled()
    • setFrozen

      public void setFrozen(boolean b)
    • setCurrentServer

      public void setCurrentServer(Properties p)
    • getCurrentServerProperties

      protected Properties getCurrentServerProperties()
    • showPopup

      public void showPopup(JComponent source)
    • addPropertyChangeListener

      public void addPropertyChangeListener(PropertyChangeListener l)
    • removePropertyChangeListener

      public void removePropertyChangeListener(PropertyChangeListener l)
    • getCurrentIcon

      public Icon getCurrentIcon()
    • getCurrentDescription

      public String getCurrentDescription()
    • getDefaultServerProperties

      public Properties getDefaultServerProperties()
      Set up the default server
      Returns:
      Default Server Properties