|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
java.lang.Objectcom.threerings.util.DeepObject
com.threerings.config.ManagedConfig
com.threerings.config.ParameterizedConfig
com.threerings.opengl.gui.config.UserInterfaceConfig
public class UserInterfaceConfig
Describes a user interface.
| Nested Class Summary | |
|---|---|
static class |
UserInterfaceConfig.Derived
A derived implementation. |
static class |
UserInterfaceConfig.Implementation
Contains the actual implementation of the interface. |
static class |
UserInterfaceConfig.Original
An original implementation. |
| Field Summary | |
|---|---|
protected ConfigManager |
_configs
The model's local config library. |
UserInterfaceConfig.Implementation |
implementation
The actual interface implementation. |
| Fields inherited from class com.threerings.config.ParameterizedConfig |
|---|
_args, _base, _derived, parameters |
| Fields inherited from class com.threerings.config.ManagedConfig |
|---|
_cfgmgr, _listeners, _name, _updateConfigs, _updateResources |
| Constructor Summary | |
|---|---|
UserInterfaceConfig()
|
|
| Method Summary | |
|---|---|
protected void |
fireConfigUpdated()
Fires a configuration updated event. |
Component |
getComponent(GlContext ctx,
Scope scope,
Component comp)
Creates or updates a component for this configuration. |
ConfigManager |
getConfigManager()
Returns a reference to the config manager to use when resolving references within this config. |
UserInterfaceConfig.Original |
getOriginal()
Retrieves a reference to the underlying original implementation. |
protected void |
getUpdateReferences(ConfigReferenceSet refs)
Collects all of the references within this config to configs that, when updated, should trigger a call to ManagedConfig.fireConfigUpdated(). |
void |
init(ConfigManager cfgmgr)
Initializes this config with a reference to the config manager that it should use to resolve references. |
boolean |
validateReferences(String where,
PrintStream out)
Validates the references in this config. |
| Methods inherited from class com.threerings.config.ParameterizedConfig |
|---|
applyArguments, applyArguments, getBound, getInstance, getParameter, getParameter, getReference, maybeFireOnConfigManager, validateOuters, wasUpdated |
| Methods inherited from class com.threerings.config.ManagedConfig |
|---|
addListener, addUpdateDependencies, clearUpdateDependencies, configUpdated, getInstance, getInstance, getInstance, getInstance, getName, getUpdateResources, removeListener, resourceModified, setName, updateFromSource |
| Methods inherited from class com.threerings.util.DeepObject |
|---|
clone, copy, copy, equals, hashCode, toString |
| Methods inherited from class java.lang.Object |
|---|
finalize, getClass, notify, notifyAll, wait, wait, wait |
| Field Detail |
|---|
@Editable public UserInterfaceConfig.Implementation implementation
protected ConfigManager _configs
| Constructor Detail |
|---|
public UserInterfaceConfig()
| Method Detail |
|---|
public UserInterfaceConfig.Original getOriginal()
public Component getComponent(GlContext ctx,
Scope scope,
Component comp)
scope - the component's expression scope.comp - an existing component to reuse, if possible.
null if no component could be created.public void init(ConfigManager cfgmgr)
ManagedConfig
init in class ManagedConfigpublic ConfigManager getConfigManager()
ManagedConfig
getConfigManager in class ManagedConfig
public boolean validateReferences(String where,
PrintStream out)
ManagedConfig
validateReferences in class ParameterizedConfigprotected void fireConfigUpdated()
ManagedConfig
fireConfigUpdated in class ManagedConfigprotected void getUpdateReferences(ConfigReferenceSet refs)
ManagedConfigManagedConfig.fireConfigUpdated().
getUpdateReferences in class ManagedConfig
|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||