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.ui.Styleable<com.badlogic.gdx.scenes.scene2d.ui.ScrollPane.ScrollPaneStyle>,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 -
Field Summary
Fields inherited from class com.badlogic.gdx.scenes.scene2d.Actor
POOLS -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionvoidact(float delta) voiddraw(com.badlogic.gdx.graphics.g2d.Batch batch, float parentAlpha) getList()voidhide()protected TextraListBox<TextraLabel>newList()Allows a subclass to customize the select box list.protected voidsetStage(com.badlogic.gdx.scenes.scene2d.Stage stage) voidshow(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, visualScrollYMethods inherited from class com.badlogic.gdx.scenes.scene2d.ui.WidgetGroup
childrenChanged, getMaxHeight, getMaxWidth, invalidate, invalidateHierarchy, needsLayout, pack, setFillParent, setLayoutEnabled, sizeChanged, validateMethods 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, toStringMethods 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:
drawin classcom.badlogic.gdx.scenes.scene2d.ui.ScrollPane
-
act
public void act(float delta) - Overrides:
actin classcom.badlogic.gdx.scenes.scene2d.ui.ScrollPane
-
setStage
protected void setStage(com.badlogic.gdx.scenes.scene2d.Stage stage) - Overrides:
setStagein classcom.badlogic.gdx.scenes.scene2d.Group
-
getList
-
getSelectBox
-