com.threerings.opengl.gui.config
Class StyleConfig

java.lang.Object
  extended by com.threerings.util.DeepObject
      extended by com.threerings.config.ManagedConfig
          extended by com.threerings.config.ParameterizedConfig
              extended by com.threerings.opengl.gui.config.StyleConfig
All Implemented Interfaces:
ConfigUpdateListener<ManagedConfig>, Exportable, com.threerings.resource.ResourceManager.ModificationObserver, Copyable, Cloneable

public class StyleConfig
extends ParameterizedConfig

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
parameters
 
Constructor Summary
StyleConfig()
           
 
Method Summary
 StyleConfig.Original getOriginal(GlContext ctx)
          Returns a reference to the config's underlying original implementation.
 
Methods inherited from class com.threerings.config.ParameterizedConfig
getInstance, getParameter, getReference, validateOuters, validateReferences, wasUpdated
 
Methods inherited from class com.threerings.config.ManagedConfig
addListener, 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
getClass, notify, notifyAll, wait, wait, wait
 

Field Detail

NULL_ORIGINAL

public static final StyleConfig.Original NULL_ORIGINAL
Used when we can't resolve the tile's underlying original implementation.


implementation

@Editable
public StyleConfig.Implementation implementation
The actual style implementation.

Constructor Detail

StyleConfig

public StyleConfig()
Method Detail

getOriginal

public StyleConfig.Original getOriginal(GlContext ctx)
Returns a reference to the config's underlying original implementation.



Copyright © 2011. All Rights Reserved.