net.sourceforge.simplegamenet.framework.gui
Class ConnectionConfig

java.lang.Object
  extended bynet.sourceforge.simplegamenet.framework.gui.ConnectionConfig
All Implemented Interfaces:
Serializable

public class ConnectionConfig
extends Object
implements Serializable

A bean that represents the data gathered form a ConnectionWizard

See Also:
Serialized Form

Constructor Summary
ConnectionConfig()
           
 
Method Summary
 net.sourceforge.simplegamenet.specs.to.GameSettings getGameSettings()
           
 String getHostAddress()
           
 String getNickname()
           
 int getPort()
           
 boolean isBadLanguageFiltered()
           
static ConnectionConfig load()
           
 void setBadLanguageFiltered(boolean badLanguageFiltered)
           
 void setGameSettings(net.sourceforge.simplegamenet.specs.to.GameSettings gameSettings)
           
 void setHostAddress(String hostAddress)
           
 void setNickname(String nickname)
           
 void setPort(int port)
           
static void store(ConnectionConfig connectionConfig)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

ConnectionConfig

public ConnectionConfig()
Method Detail

load

public static ConnectionConfig load()

store

public static void store(ConnectionConfig connectionConfig)

getNickname

public String getNickname()

setNickname

public void setNickname(String nickname)
                 throws IllegalArgumentException
Throws:
IllegalArgumentException

getHostAddress

public String getHostAddress()

setHostAddress

public void setHostAddress(String hostAddress)

getPort

public int getPort()

setPort

public void setPort(int port)
             throws IllegalArgumentException
Throws:
IllegalArgumentException

isBadLanguageFiltered

public boolean isBadLanguageFiltered()

setBadLanguageFiltered

public void setBadLanguageFiltered(boolean badLanguageFiltered)

getGameSettings

public net.sourceforge.simplegamenet.specs.to.GameSettings getGameSettings()

setGameSettings

public void setGameSettings(net.sourceforge.simplegamenet.specs.to.GameSettings gameSettings)


Copyright © 2003-2004 The 3 Belgians. All Rights Reserved.