public abstract class SwingGameConfigurator extends GameConfigurator
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 and Description |
|---|
SwingGameConfigurator() |
| Modifier and Type | Method and Description |
|---|---|
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.
|
getGameConfig, init, setGameConfigpublic JPanel getPanel()
public void addControl(JComponent label, JComponent control)
public void addWideControl(JComponent control)
Copyright © 2015. All rights reserved.