|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectcom.threerings.parlor.game.client.GameConfigurator
com.threerings.parlor.game.client.SwingGameConfigurator
public abstract class SwingGameConfigurator
Provides the base from which interfaces can be built to configure games prior to starting them. Derived classes would extend the base configurator adding interface elements and wiring them up properly to allow the user to configure an instance of their game.
Clients that use the game configurator will want to instantiate one
based on the class returned from the GameConfig and then
initialize it with a call to GameConfigurator.init(com.threerings.parlor.util.ParlorContext).
| Constructor Summary | |
|---|---|
SwingGameConfigurator()
|
|
| Method Summary | |
|---|---|
void |
addControl(JComponent label,
JComponent control)
Add a control to the interface. |
void |
addWideControl(JComponent control)
Add a control to the interface. |
JPanel |
getPanel()
Get the Swing JPanel that contains the UI elements for this configurator. |
| Methods inherited from class com.threerings.parlor.game.client.GameConfigurator |
|---|
getGameConfig, init, setGameConfig |
| Methods inherited from class java.lang.Object |
|---|
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public SwingGameConfigurator()
| Method Detail |
|---|
public JPanel getPanel()
public void addControl(JComponent label,
JComponent control)
public void addWideControl(JComponent control)
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||