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

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.Label
              extended by com.threerings.opengl.gui.config.ComponentConfig.Button
                  extended by com.threerings.opengl.gui.config.ComponentConfig.ToggleButton
                      extended by com.threerings.opengl.gui.config.ComponentConfig.CheckBox
All Implemented Interfaces:
Exportable, Copyable, Cloneable
Enclosing class:
ComponentConfig

public static class ComponentConfig.CheckBox
extends ComponentConfig.ToggleButton

A check box.


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
 
Fields inherited from class com.threerings.opengl.gui.config.ComponentConfig.ToggleButton
selected
 
Fields inherited from class com.threerings.opengl.gui.config.ComponentConfig.Button
action, argument
 
Fields inherited from class com.threerings.opengl.gui.config.ComponentConfig.Label
fit, icon, iconTextGap, orientation, preferredWidth, text, textRotation
 
Fields inherited from class com.threerings.opengl.gui.config.ComponentConfig
alpha, enabled, hoverable, preferredSize, style, tag, tooltipRelativeToMouse, tooltipText, visible
 
Constructor Summary
ComponentConfig.CheckBox()
           
 
Method Summary
protected  Component maybeRecreate(GlContext ctx, Scope scope, MessageBundle msgs, Component comp)
          Recreates the component if the supplied component doesn't match the configuration.
protected  boolean shouldSetIcon(GlContext ctx, Component comp)
          Determines whether we should configure the label's icon.
 
Methods inherited from class com.threerings.opengl.gui.config.ComponentConfig.ToggleButton
configure
 
Methods inherited from class com.threerings.opengl.gui.config.ComponentConfig.Label
invalidate
 
Methods inherited from class com.threerings.opengl.gui.config.ComponentConfig
getClass, getComponent, getMessage
 
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
 

Constructor Detail

ComponentConfig.CheckBox

public ComponentConfig.CheckBox()
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.

Overrides:
maybeRecreate in class ComponentConfig.ToggleButton

shouldSetIcon

protected boolean shouldSetIcon(GlContext ctx,
                                Component comp)
Description copied from class: ComponentConfig.Label
Determines whether we should configure the label's icon.

Overrides:
shouldSetIcon in class ComponentConfig.Button