Allow a TableConfig to be set prior to initialization.

The configurator will use that as its prototype, and attempt to configure
the UI elements to display the values in that config.


git-svn-id: svn+ssh://src.earth.threerings.net/narya/trunk@3755 542714f4-19e9-0310-aa3c-eee0fc999fb1
This commit is contained in:
Ray Greenwell
2005-11-10 01:19:37 +00:00
parent e30ef0d8f6
commit 263a36e23e
@@ -41,6 +41,18 @@ public abstract class TableConfigurator
_config = createTableConfig();
}
/**
* Optionally, you can set a pre-configured TableConfig
* that will be used to initialize the display parameters (if possible).
* This should be called prior to init().
*/
public void setTableConfig (TableConfig config)
{
if (config != null) {
_config = config;
}
}
/**
* Initialize the TableConfigurator.
*