|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectcom.threerings.util.DeepObject
com.threerings.opengl.gui.config.UserInterfaceConfig.Implementation
com.threerings.opengl.gui.config.UserInterfaceConfig.Original
public static class UserInterfaceConfig.Original
An original implementation.
| Field Summary | |
|---|---|
String |
addSound
The sound to play on addition, if any. |
String |
bundle
The message bundle to use for translations (or the empty string for the default). |
String |
removeSound
The sound to play on removal, if any. |
ComponentConfig |
root
The root of the interface. |
| Constructor Summary | |
|---|---|
UserInterfaceConfig.Original()
|
|
| Method Summary | |
|---|---|
Component |
getComponent(GlContext ctx,
Scope scope,
Component comp)
Creates or updates a component for this configuration. |
ConfigManager |
getConfigManager(ConfigManager cfgmgr)
Returns a reference to the config manager to use when resolving references. |
UserInterfaceConfig.Original |
getOriginal(ConfigManager cfgmgr)
Returns a reference to the config's underlying original implementation. |
void |
invalidate()
Invalidates any cached data. |
| Methods inherited from class com.threerings.opengl.gui.config.UserInterfaceConfig.Implementation |
|---|
getUpdateReferences |
| Methods inherited from class com.threerings.util.DeepObject |
|---|
clone, copy, copy, equals, hashCode, toString |
| Methods inherited from class java.lang.Object |
|---|
getClass, notify, notifyAll, wait, wait, wait |
| Field Detail |
|---|
@Editable public String bundle
@Editable public ComponentConfig root
@Editable(editor="resource",
nullable=true)
@FileConstraints(description="m.sound_files_desc",
extensions=".ogg",
directory="sound_dir")
public String addSound
@Editable(editor="resource",
nullable=true)
@FileConstraints(description="m.sound_files_desc",
extensions=".ogg",
directory="sound_dir")
public String removeSound
| Constructor Detail |
|---|
public UserInterfaceConfig.Original()
| Method Detail |
|---|
public ConfigManager getConfigManager(ConfigManager cfgmgr)
UserInterfaceConfig.Implementation
getConfigManager in class UserInterfaceConfig.Implementationcfgmgr - the config manager of the config containing the implementation.public UserInterfaceConfig.Original getOriginal(ConfigManager cfgmgr)
UserInterfaceConfig.Implementation
getOriginal in class UserInterfaceConfig.Implementation
public Component getComponent(GlContext ctx,
Scope scope,
Component comp)
UserInterfaceConfig.Implementation
getComponent in class UserInterfaceConfig.Implementationscope - the component's expression scope.comp - an existing component to reuse, if possible.
null if no component could be created.public void invalidate()
UserInterfaceConfig.Implementation
invalidate in class UserInterfaceConfig.Implementation
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||