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

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
All Implemented Interfaces:
Exportable, Copyable, Cloneable
Direct Known Subclasses:
ComponentConfig.ToggleButton
Enclosing class:
ComponentConfig

public static class ComponentConfig.Button
extends ComponentConfig.Label

A button.


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
 String action
          The action to fire when the button is pressed.
 Object argument
          The argument associated with the action.
 
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.Button()
           
 
Method Summary
 
Methods inherited from class com.threerings.opengl.gui.config.ComponentConfig.Label
invalidate
 
Methods inherited from class com.threerings.opengl.gui.config.ComponentConfig
getComponent
 
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

action

@Editable(hgroup="a")
public String action
The action to fire when the button is pressed.


argument

@Editable(hgroup="a",
          nullable=true)
public Object argument
The argument associated with the action.

Constructor Detail

ComponentConfig.Button

public ComponentConfig.Button()


Copyright © 2011. All Rights Reserved.