Class SelectBox.SelectBoxScrollPane<T>

All Implemented Interfaces:
Cullable, Layout
Enclosing class:
SelectBox<T>

public static class SelectBox.SelectBoxScrollPane<T> extends ScrollPane
The scroll pane shown when a select box is open.
Author:
Nathan Sweet
  • Constructor Details

    • SelectBoxScrollPane

      public SelectBoxScrollPane(SelectBox<T> selectBox)
  • Method Details

    • show

      public void show(Stage stage)
    • hide

      public void hide()
    • draw

      public void draw(Batch batch, float parentAlpha)
      Description copied from class: WidgetGroup
      If this method is overridden, the super method or WidgetGroup.validate() should be called to ensure the widget group is laid out.
      Overrides:
      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.
    • act

      public void act(float delta)
      Description copied from class: Actor
      Updates the actor based on time. Typically this is called each frame by Stage.act(float).

      The default implementation calls Action.act(float) on each action and removes actions that are complete.

      Overrides:
      act in class ScrollPane
      Parameters:
      delta - Time in seconds since the last frame.
    • getList

      public List<T> getList()
    • getSelectBox

      public SelectBox<T> getSelectBox()