com.threerings.opengl.gui.config
Class ComponentConfig.ChatOverlay

java.lang.Object
  extended by com.threerings.util.DeepObject
      extended by com.threerings.opengl.gui.config.ComponentConfig
          extended by com.threerings.opengl.gui.config.ComponentConfig.ChatOverlay
All Implemented Interfaces:
Exportable, Copyable, Cloneable
Enclosing class:
ComponentConfig

public static class ComponentConfig.ChatOverlay
extends ComponentConfig

Displays chat as an overlay.


Nested Class Summary
 
Nested classes/interfaces inherited from class com.threerings.opengl.gui.config.ComponentConfig
ComponentConfig.Button, ComponentConfig.ChatOverlay, ComponentConfig.CheckBox, ComponentConfig.ColorPicker, ComponentConfig.ComboBox, ComponentConfig.Container, ComponentConfig.HTMLView, ComponentConfig.Label, ComponentConfig.List, ComponentConfig.Orientation, ComponentConfig.PasswordField, ComponentConfig.RenderableView, ComponentConfig.ScrollBar, ComponentConfig.ScrollPane, ComponentConfig.Slider, ComponentConfig.Spacer, ComponentConfig.Spinner, ComponentConfig.StatusLabel, ComponentConfig.TabbedPane, ComponentConfig.TextArea, ComponentConfig.TextComponent, ComponentConfig.TextEditor, ComponentConfig.TextField, ComponentConfig.ToggleButton, ComponentConfig.UserInterface, ComponentConfig.ViewModel
 
Field Summary
 Color4f attentionColor
          The color to use for system attention messages.
 String bundle
          The message bundle to use.
 Color4f feedbackColor
          The color to use for system feedback messages.
 Color4f infoColor
          The color to use for system info messages.
 int preferredWidth
          The area's preferred width, or zero for none.
 
Fields inherited from class com.threerings.opengl.gui.config.ComponentConfig
alpha, enabled, hoverable, preferredSize, style, tag, tooltipRelativeToMouse, tooltipText, visible
 
Constructor Summary
ComponentConfig.ChatOverlay()
           
 
Method Summary
protected  void configure(GlContext ctx, Scope scope, MessageBundle msgs, Component comp)
          Configures the specified component.
protected  Component maybeRecreate(GlContext ctx, Scope scope, MessageBundle msgs, Component comp)
          Recreates the component if the supplied component doesn't match the configuration.
 
Methods inherited from class com.threerings.opengl.gui.config.ComponentConfig
getClass, getComponent, getMessage, invalidate
 
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

bundle

@Editable
public String bundle
The message bundle to use.


preferredWidth

@Editable(min=0.0,
          hgroup="p")
public int preferredWidth
The area's preferred width, or zero for none.


infoColor

@Editable(hgroup="p")
public Color4f infoColor
The color to use for system info messages.


feedbackColor

@Editable(hgroup="i")
public Color4f feedbackColor
The color to use for system feedback messages.


attentionColor

@Editable(hgroup="i")
public Color4f attentionColor
The color to use for system attention messages.

Constructor Detail

ComponentConfig.ChatOverlay

public ComponentConfig.ChatOverlay()
Method Detail

maybeRecreate

protected Component maybeRecreate(GlContext ctx,
                                  Scope scope,
                                  MessageBundle msgs,
                                  Component comp)
Description copied from class: ComponentConfig
Recreates the component if the supplied component doesn't match the configuration.

Specified by:
maybeRecreate in class ComponentConfig

configure

protected void configure(GlContext ctx,
                         Scope scope,
                         MessageBundle msgs,
                         Component comp)
Description copied from class: ComponentConfig
Configures the specified component.

Overrides:
configure in class ComponentConfig