public static class SelectBox.SelectBoxScrollPane<T> extends ScrollPane
ScrollPane.ScrollPaneStyle
Constructor and Description |
---|
SelectBoxScrollPane(SelectBox<T> selectBox) |
Modifier and Type | Method and Description |
---|---|
void |
act(float delta)
Updates the actor based on time.
|
void |
draw(Batch batch,
float parentAlpha)
If this method is overridden, the super method or
WidgetGroup.validate() should be called to ensure the widget group is laid
out. |
List<T> |
getList() |
SelectBox<T> |
getSelectBox() |
void |
hide() |
protected List<T> |
newList()
Allows a subclass to customize the select box list.
|
protected void |
setStage(Stage stage)
Called by the framework when this actor or any ascendant is added to a group that is in the stage.
|
void |
show(Stage stage) |
addActor, addActorAfter, addActorAt, addActorBefore, addCaptureListener, addScrollListener, cancel, cancelTouchFocus, drawDebug, drawScrollBars, fling, getActor, getFadeScrollBars, getFlickScrollListener, getMaxX, getMaxY, getMinHeight, getMinWidth, getMouseWheelX, getMouseWheelY, getOverscrollDistance, getPrefHeight, getPrefWidth, getScrollBarHeight, getScrollBarWidth, getScrollHeight, getScrollPercentX, getScrollPercentY, getScrollWidth, getScrollX, getScrollY, getStyle, getVariableSizeKnobs, getVelocityX, getVelocityY, getVisualScrollPercentX, getVisualScrollPercentY, getVisualScrollX, getVisualScrollY, getWidget, hit, isBottomEdge, isDragging, isFlinging, isForceScrollX, isForceScrollY, isLeftEdge, isPanning, isRightEdge, isScrollingDisabledX, isScrollingDisabledY, isScrollX, isScrollY, isTopEdge, layout, removeActor, removeActor, removeActorAt, scrollTo, scrollTo, scrollX, scrollY, setActor, setCancelTouchFocus, setClamp, setFadeScrollBars, setFlickScroll, setFlickScrollTapSquareSize, setFlingTime, setForceScroll, setOverscroll, setScrollBarPositions, setScrollbarsOnTop, setScrollbarsVisible, setScrollBarTouch, setScrollingDisabled, setScrollPercentX, setScrollPercentY, setScrollX, setScrollY, setSmoothScrolling, setStyle, setupFadeScrollBars, setupOverscroll, setVariableSizeKnobs, setVelocityX, setVelocityY, setWidget, updateVisualScroll, visualScrollX, visualScrollY
childrenChanged, getMaxHeight, getMaxWidth, invalidate, invalidateHierarchy, needsLayout, pack, setFillParent, setLayoutEnabled, sizeChanged, validate
applyTransform, applyTransform, clear, clear, clearChildren, clearChildren, computeTransform, debugAll, drawChildren, drawDebugChildren, findActor, getChild, getChildren, getCullingArea, hasChildren, isTransform, localToDescendantCoordinates, resetTransform, resetTransform, setCullingArea, setDebug, setTransform, swapActor, swapActor, toString
addAction, addCaptureListener, addListener, ancestorsVisible, ascendantsVisible, clearActions, clearListeners, clipBegin, clipBegin, clipEnd, debug, drawDebugBounds, fire, firstAscendant, getActions, getCaptureListeners, getColor, getDebug, getHeight, getListeners, getName, getOriginX, getOriginY, getParent, getRight, getRotation, getScaleX, getScaleY, getStage, getTop, getTouchable, getUserObject, getWidth, getX, getX, getY, getY, getZIndex, hasActions, hasKeyboardFocus, hasParent, hasScrollFocus, isAscendantOf, isDescendantOf, isTouchable, isTouchFocusListener, isTouchFocusTarget, isVisible, localToActorCoordinates, localToAscendantCoordinates, localToParentCoordinates, localToScreenCoordinates, localToStageCoordinates, moveBy, notify, parentToLocalCoordinates, positionChanged, remove, removeAction, removeCaptureListener, removeListener, rotateBy, rotationChanged, scaleBy, scaleBy, scaleChanged, screenToLocalCoordinates, setBounds, setColor, setColor, setDebug, setHeight, setName, setOrigin, setOrigin, setOriginX, setOriginY, setParent, setPosition, setPosition, setRotation, setScale, setScale, setScaleX, setScaleY, setSize, setTouchable, setUserObject, setVisible, setWidth, setX, setX, setY, setY, setZIndex, sizeBy, sizeBy, stageToLocalCoordinates, toBack, toFront
protected List<T> newList()
List.toString(Object)
to SelectBox.toString(Object)
.public void show(Stage stage)
public void hide()
public void draw(Batch batch, float parentAlpha)
WidgetGroup
WidgetGroup.validate()
should be called to ensure the widget group is laid
out.draw
in class ScrollPane
parentAlpha
- The parent alpha, to be multiplied with this actor's alpha, allowing the parent's alpha to affect all
children.public void act(float delta)
Actor
Stage.act(float)
.
The default implementation calls Action.act(float)
on each action and removes actions that are complete.
act
in class ScrollPane
delta
- Time in seconds since the last frame.protected void setStage(Stage stage)
Actor