|
|||||||||
| 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.StyleConfig
public class StyleConfig
Describes a user interface style.
| Nested Class Summary | |
|---|---|
static class |
StyleConfig.Derived
A derived implementation. |
static class |
StyleConfig.Implementation
Contains the actual implementation of the style. |
static class |
StyleConfig.Original
An original implementation. |
static class |
StyleConfig.TextAlignment
Text alignment modes. |
static class |
StyleConfig.TextEffect
Text effects. |
static class |
StyleConfig.VerticalAlignment
Vertical alignment modes. |
| Field Summary | |
|---|---|
StyleConfig.Implementation |
implementation
The actual style implementation. |
static StyleConfig.Original |
NULL_ORIGINAL
Used when we can't resolve the tile's underlying original 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 | |
|---|---|
StyleConfig()
|
|
| Method Summary | |
|---|---|
protected void |
fireConfigUpdated()
Fires a configuration updated event. |
StyleConfig.Original |
getOriginal(GlContext ctx)
Returns a reference to the config's 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(). |
protected void |
getUpdateResources(HashSet<String> paths)
Collects the paths of all resources referenced by this config that, when modified, should trigger a call to ManagedConfig.fireConfigUpdated(). |
| Methods inherited from class com.threerings.config.ParameterizedConfig |
|---|
applyArguments, applyArguments, getBound, getInstance, getParameter, getParameter, getReference, maybeFireOnConfigManager, validateOuters, validateReferences, wasUpdated |
| Methods inherited from class com.threerings.config.ManagedConfig |
|---|
addListener, addUpdateDependencies, clearUpdateDependencies, configUpdated, getConfigManager, getInstance, getInstance, getInstance, getInstance, getName, init, 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 |
|---|
public static final StyleConfig.Original NULL_ORIGINAL
@Editable public StyleConfig.Implementation implementation
| Constructor Detail |
|---|
public StyleConfig()
| Method Detail |
|---|
public StyleConfig.Original getOriginal(GlContext ctx)
protected void fireConfigUpdated()
ManagedConfig
fireConfigUpdated in class ManagedConfigprotected void getUpdateReferences(ConfigReferenceSet refs)
ManagedConfigManagedConfig.fireConfigUpdated().
getUpdateReferences in class ManagedConfigprotected void getUpdateResources(HashSet<String> paths)
ManagedConfigManagedConfig.fireConfigUpdated().
getUpdateResources in class ManagedConfig
|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||