Package com.prineside.tdi2.scene2d.ui
Class SelectBox.SelectBoxScrollPane<T>
java.lang.Object
com.prineside.tdi2.scene2d.Actor
com.prineside.tdi2.scene2d.Group
com.prineside.tdi2.scene2d.ui.WidgetGroup
com.prineside.tdi2.scene2d.ui.ScrollPane
com.prineside.tdi2.scene2d.ui.SelectBox.SelectBoxScrollPane<T>
The scroll pane shown when a select box is open.
- Author:
- Nathan Sweet
-
Nested Class Summary
Nested classes/interfaces inherited from class com.prineside.tdi2.scene2d.ui.ScrollPane
ScrollPane.ScrollPaneStyle
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionvoid
act
(float delta) Updates the actor based on time.void
If this method is overridden, the super method orWidgetGroup.validate()
should be called to ensure the widget group is laid out.getList()
void
hide()
void
Methods inherited from class com.prineside.tdi2.scene2d.ui.ScrollPane
addActor, addActorAfter, addActorAt, addActorBefore, cancel, cancelTouchFocus, drawDebug, fling, getActor, getFadeScrollBars, getMaxX, getMaxY, getMinHeight, getMinWidth, 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, 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
Methods inherited from class com.prineside.tdi2.scene2d.ui.WidgetGroup
getMaxHeight, getMaxHeightValue, getMaxWidth, getMaxWidthValue, getMinHeightValue, getMinWidthValue, getPrefHeightValue, getPrefWidthValue, invalidate, invalidateHierarchy, needsLayout, pack, setFillParent, setLayoutEnabled, setMaxHeight, setMaxHeight, setMaxWidth, setMaxWidth, setMinHeight, setMinHeight, setMinWidth, setMinWidth, setPrefHeight, setPrefHeight, setPrefWidth, setPrefWidth, setWidth, validate
Methods inherited from class com.prineside.tdi2.scene2d.Group
clear, clear, clearChildren, clearChildren, debugAll, findActor, getChild, getChildren, getCullingArea, hasChildren, isTransform, localToDescendantCoordinates, setCullingArea, setDebug, setTransform, swapActor, swapActor, toString
Methods inherited from class com.prineside.tdi2.scene2d.Actor
addAction, addCaptureListener, addListener, ancestorsVisible, ascendantsVisible, clearActions, clearListeners, clipBegin, clipBegin, clipEnd, debug, 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, remove, removeAction, removeCaptureListener, removeListener, rotateBy, scaleBy, scaleBy, screenToLocalCoordinates, setBounds, setColor, setColor, setDebug, setHeight, setName, setOrigin, setOrigin, setOriginX, setOriginY, setPosition, setPosition, setRotation, setScale, setScale, setScaleX, setScaleY, setSize, setTouchable, setUserObject, setVisible, setX, setX, setY, setY, setZIndex, sizeBy, sizeBy, stageToLocalCoordinates, toBack, toFront
-
Constructor Details
-
SelectBoxScrollPane
-
-
Method Details
-
show
-
hide
public void hide() -
draw
Description copied from class:WidgetGroup
If this method is overridden, the super method orWidgetGroup.validate()
should be called to ensure the widget group is laid out.- Overrides:
draw
in classScrollPane
parentAlpha
- The parent alpha, to be multiplied with this actor's alpha, allowing the parent's alpha to affect all children.
-
act
public void act(float delta) Description copied from class:Actor
Updates the actor based on time. Typically this is called each frame byStage.act(float)
.The default implementation calls
Action.act(float)
on each action and removes actions that are complete.- Overrides:
act
in classScrollPane
- Parameters:
delta
- Time in seconds since the last frame.
-
getList
-
getSelectBox
-