Package VASSAL.chat
Class ServerAddressBook
java.lang.Object
VASSAL.chat.ServerAddressBook
-
Field Summary
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionvoid
static void
changeServerPopup
(JComponent source) static void
editCurrentServer
(boolean connected) protected Properties
Set up the default serverstatic String
static String
getExternalAddress
(String dflt) static ServerAddressBook
static String
boolean
void
void
void
setEnabled
(boolean b) void
setFrozen
(boolean b) void
showPopup
(JComponent source)
-
Field Details
-
CURRENT_SERVER
- See Also:
-
ADDRESS_PREF
- See Also:
-
OFFICIAL_TYPE
- See Also:
-
PRIVATE_TYPE
- See Also:
-
P2P_TYPE
- See Also:
-
TYPE_KEY
- See Also:
-
DESCRIPTION_KEY
- See Also:
-
LEAF_ICON_SIZE
protected final int LEAF_ICON_SIZE- See Also:
-
CONTROLS_ICON_SIZE
protected final int CONTROLS_ICON_SIZE- See Also:
-
-
Constructor Details
-
ServerAddressBook
public ServerAddressBook()
-
-
Method Details
-
getInstance
-
editCurrentServer
public static void editCurrentServer(boolean connected) -
changeServerPopup
-
getLocalAddress
-
getExternalAddress
-
getExternalAddress
-
getControls
-
setEnabled
public void setEnabled(boolean b) -
isEnabled
public boolean isEnabled() -
setFrozen
public void setFrozen(boolean b) -
setCurrentServer
-
getCurrentServerProperties
-
showPopup
-
addPropertyChangeListener
-
removePropertyChangeListener
-
getCurrentIcon
-
getCurrentDescription
-
getDefaultServerProperties
Set up the default server- Returns:
- Default Server Properties
-