|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
java.lang.Objectcom.threerings.util.DeepObject
com.threerings.opengl.gui.config.ComponentConfig
com.threerings.opengl.gui.config.ComponentConfig.ComboBox
public static class ComponentConfig.ComboBox
A combo box.
| Nested Class Summary | |
|---|---|
static class |
ComponentConfig.ComboBox.IconItem
An icon item. |
static class |
ComponentConfig.ComboBox.Item
A single item in the list. |
static class |
ComponentConfig.ComboBox.StringItem
A string item. |
| Field Summary | |
|---|---|
int |
columns
The dimensions of the popup menu. |
ComponentConfig.ComboBox.Item[] |
items
The items available for selection. |
int |
rows
The dimensions of the popup menu. |
int |
selected
The index of the selected item. |
| Fields inherited from class com.threerings.opengl.gui.config.ComponentConfig |
|---|
alpha, enabled, hoverable, preferredSize, style, tag, tooltipRelativeToMouse, tooltipText, visible |
| Constructor Summary | |
|---|---|
ComponentConfig.ComboBox()
|
|
| Method Summary | |
|---|---|
protected void |
configure(GlContext ctx,
Scope scope,
MessageBundle msgs,
Component comp)
Configures the specified component. |
void |
invalidate()
Invalidates any cached data. |
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 |
| 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 |
|---|
@Editable public ComponentConfig.ComboBox.Item[] items
@Editable(min=0.0,
hgroup="s")
public int rows
@Editable(min=0.0,
hgroup="s")
public int columns
@Editable(min=0.0,
hgroup="s")
public int selected
| Constructor Detail |
|---|
public ComponentConfig.ComboBox()
| Method Detail |
|---|
public void invalidate()
ComponentConfig
invalidate in class ComponentConfig
protected Component maybeRecreate(GlContext ctx,
Scope scope,
MessageBundle msgs,
Component comp)
ComponentConfig
maybeRecreate in class ComponentConfig
protected void configure(GlContext ctx,
Scope scope,
MessageBundle msgs,
Component comp)
ComponentConfig
configure in class ComponentConfig
|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||