public class DefaultSwingTableConfigurator extends TableConfigurator
| Constructor and Description |
|---|
DefaultSwingTableConfigurator(int players)
Create a TableConfigurator that allows only the specified number
of players and lets the configuring user enable private games
only if the number of players is greater than 2.
|
DefaultSwingTableConfigurator(int players,
boolean allowPrivate)
Create a TableConfigurator that allows only the specified number
of players and lets the user configure a private table, or not.
|
DefaultSwingTableConfigurator(int minPlayers,
int desiredPlayers,
int maxPlayers,
boolean allowPrivate)
Create a TableConfigurator that allows for the specified configuration
parameters.
|
| Modifier and Type | Method and Description |
|---|---|
boolean |
isEmpty()
If true, the TableConfigurator is empty, which doesn't mean that
it will not return a TableConfig object (for it must), but rather
that there are no user-editable options being presented in the
config interface.
|
getTableConfig, init, setTableConfigpublic DefaultSwingTableConfigurator(int players)
public DefaultSwingTableConfigurator(int players,
boolean allowPrivate)
public DefaultSwingTableConfigurator(int minPlayers,
int desiredPlayers,
int maxPlayers,
boolean allowPrivate)
public boolean isEmpty()
TableConfiguratorisEmpty in class TableConfiguratorCopyright © 2015. All rights reserved.