Package com.github.tommyettinger.textra
Class TextraSelectBox.SelectBoxScrollPane
java.lang.Object
com.badlogic.gdx.scenes.scene2d.Actor
com.badlogic.gdx.scenes.scene2d.Group
com.badlogic.gdx.scenes.scene2d.ui.WidgetGroup
com.badlogic.gdx.scenes.scene2d.ui.ScrollPane
com.github.tommyettinger.textra.TextraSelectBox.SelectBoxScrollPane
- All Implemented Interfaces:
com.badlogic.gdx.scenes.scene2d.utils.Cullable
,com.badlogic.gdx.scenes.scene2d.utils.Layout
- Enclosing class:
- TextraSelectBox
public static class TextraSelectBox.SelectBoxScrollPane
extends com.badlogic.gdx.scenes.scene2d.ui.ScrollPane
The scroll pane shown when a select box is open.
-
Nested Class Summary
Nested classes/interfaces inherited from class com.badlogic.gdx.scenes.scene2d.ui.ScrollPane
com.badlogic.gdx.scenes.scene2d.ui.ScrollPane.ScrollPaneStyle
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionvoid
act
(float delta) void
draw
(com.badlogic.gdx.graphics.g2d.Batch batch, float parentAlpha) getList()
void
hide()
protected TextraListBox<TextraLabel>
newList()
Allows a subclass to customize the select box list.protected void
setStage
(com.badlogic.gdx.scenes.scene2d.Stage stage) void
show
(com.badlogic.gdx.scenes.scene2d.Stage stage) Methods inherited from class com.badlogic.gdx.scenes.scene2d.ui.ScrollPane
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
Methods inherited from class com.badlogic.gdx.scenes.scene2d.ui.WidgetGroup
childrenChanged, getMaxHeight, getMaxWidth, invalidate, invalidateHierarchy, needsLayout, pack, setFillParent, setLayoutEnabled, sizeChanged, validate
Methods inherited from class com.badlogic.gdx.scenes.scene2d.Group
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
Methods inherited from class com.badlogic.gdx.scenes.scene2d.Actor
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
-
Constructor Details
-
SelectBoxScrollPane
-
-
Method Details
-
newList
Allows a subclass to customize the select box list. -
show
public void show(com.badlogic.gdx.scenes.scene2d.Stage stage) -
hide
public void hide() -
draw
public void draw(com.badlogic.gdx.graphics.g2d.Batch batch, float parentAlpha) - Overrides:
draw
in classcom.badlogic.gdx.scenes.scene2d.ui.ScrollPane
-
act
public void act(float delta) - Overrides:
act
in classcom.badlogic.gdx.scenes.scene2d.ui.ScrollPane
-
setStage
protected void setStage(com.badlogic.gdx.scenes.scene2d.Stage stage) - Overrides:
setStage
in classcom.badlogic.gdx.scenes.scene2d.Group
-
getList
-
getSelectBox
-