|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectcom.threerings.opengl.gui.Component
com.threerings.opengl.gui.Container
com.threerings.opengl.gui.ScrollPane
public class ScrollPane
Provides a scrollable clipped view on a sub-heirarchy of components.
| Field Summary |
|---|
| Fields inherited from class com.threerings.opengl.gui.Component |
|---|
DEFAULT, DISABLED, HOVER |
| Constructor Summary | |
|---|---|
ScrollPane(GlContext ctx,
Component child)
|
|
ScrollPane(GlContext ctx,
Component child,
boolean vert,
boolean horiz)
|
|
ScrollPane(GlContext ctx,
Component child,
boolean vert,
boolean horiz,
int snap)
|
|
ScrollPane(GlContext ctx,
Component child,
boolean vert,
boolean horiz,
int snap,
boolean buttons)
|
|
| Method Summary | |
|---|---|
Component |
getChild()
Returns a reference to the child of this scroll pane. |
ScrollBar |
getHorizontalScrollBar()
Returns a reference to the horizontal scroll bar. |
ScrollBar |
getVerticalScrollBar()
Returns a reference to the vertical scroll bar. |
void |
layout()
Instructs this component to lay itself out. |
void |
setShowScrollbarAlways(boolean showAlways)
Toggles the scroll bar policy. |
void |
setViewportStyleConfig(ConfigReference<StyleConfig> ref)
Configures the style of the viewport (the non-scrolling container that will hold the scrolling contents). |
| Methods inherited from class com.threerings.opengl.gui.Container |
|---|
add, add, add, add, getComponent, getComponentCount, getComponentIndex, getHitComponent, getLayoutManager, remove, remove, removeAll, replace, setAlpha, setEnabled, setHoverable, setLayoutManager, validate |
| Methods inherited from class java.lang.Object |
|---|
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public ScrollPane(GlContext ctx,
Component child)
public ScrollPane(GlContext ctx,
Component child,
boolean vert,
boolean horiz)
public ScrollPane(GlContext ctx,
Component child,
boolean vert,
boolean horiz,
int snap)
public ScrollPane(GlContext ctx,
Component child,
boolean vert,
boolean horiz,
int snap,
boolean buttons)
| Method Detail |
|---|
public Component getChild()
public ScrollBar getVerticalScrollBar()
public ScrollBar getHorizontalScrollBar()
public void setShowScrollbarAlways(boolean showAlways)
public void setViewportStyleConfig(ConfigReference<StyleConfig> ref)
public void layout()
Component
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||