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

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.TextComponent
              extended by com.threerings.opengl.gui.config.ComponentConfig.TextField
All Implemented Interfaces:
Exportable, Copyable, Cloneable
Direct Known Subclasses:
ComponentConfig.PasswordField, ComponentConfig.TextEditor
Enclosing class:
ComponentConfig

public static class ComponentConfig.TextField
extends ComponentConfig.TextComponent

A text field.


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
 int maxLength
          The maximum length of the field (or zero for unlimited).
 String placeholder
           
 
Fields inherited from class com.threerings.opengl.gui.config.ComponentConfig.TextComponent
text
 
Fields inherited from class com.threerings.opengl.gui.config.ComponentConfig
alpha, enabled, hoverable, preferredSize, style, tag, tooltipRelativeToMouse, tooltipText, visible
 
Constructor Summary
ComponentConfig.TextField()
           
 
Method Summary
 
Methods inherited from class com.threerings.opengl.gui.config.ComponentConfig
getComponent, invalidate
 
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

maxLength

@Editable(min=0.0,
          hgroup="t")
public int maxLength
The maximum length of the field (or zero for unlimited).


placeholder

@Editable(hgroup="t")
public String placeholder
Constructor Detail

ComponentConfig.TextField

public ComponentConfig.TextField()


Copyright © 2011. All Rights Reserved.