|
|||||||||
| 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.ScrollPane
public static class ComponentConfig.ScrollPane
A scroll pane.
| Nested Class Summary |
|---|
| Field Summary | |
|---|---|
boolean |
buttons
If we show only buttons. |
ComponentConfig |
child
The child component. |
boolean |
horizontal
Whether or not to allow horizontal scrolling. |
boolean |
showScrollbarAlways
Whether or not to always show the scrollbar. |
int |
snap
The snap value. |
boolean |
vertical
Whether or not to allow vertical scrolling. |
ConfigReference<StyleConfig> |
viewportStyle
The style for the viewport, if non-default. |
| Fields inherited from class com.threerings.opengl.gui.config.ComponentConfig |
|---|
alpha, enabled, hoverable, preferredSize, style, tag, tooltipRelativeToMouse, tooltipText, visible |
| Constructor Summary | |
|---|---|
ComponentConfig.ScrollPane()
|
|
| 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(hgroup="v") public boolean vertical
@Editable(hgroup="v") public boolean horizontal
@Editable(hgroup="v") public boolean buttons
@Editable(hgroup="s") public int snap
@Editable(hgroup="s") public boolean showScrollbarAlways
@Editable(nullable=true) public ConfigReference<StyleConfig> viewportStyle
@Editable public ComponentConfig child
| Constructor Detail |
|---|
public ComponentConfig.ScrollPane()
| 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 | ||||||||