Class UIScrollPanel

All Implemented Interfaces:
UIKeyHandler, Hintable, Savable

public class UIScrollPanel extends UIPanel
NOTE: Experimental still.
  • Constructor Details

    • UIScrollPanel

      public UIScrollPanel()
    • UIScrollPanel

      public UIScrollPanel(UIComponent view)
  • Method Details

    • drawComponent

      protected void drawComponent(Renderer renderer)
      Description copied from class: UIComponent
      Draw this component's contents using the given renderer.
      Overrides:
      drawComponent in class UIContainer
      Parameters:
      renderer - the renderer
    • updateMinimumSizeFromContents

      public void updateMinimumSizeFromContents()
      Description copied from class: UIComponent
      Ask this component to update its minimum allowed size, based on its contents.
      Overrides:
      updateMinimumSizeFromContents in class UIContainer
    • layout

      public void layout()
      Description copied from class: UIComponent
      Override this to perform actual layout.
      Overrides:
      layout in class UIContainer