Class UIMixer

All Implemented Interfaces:
UIContainer, UIContextActions, LXLoopTask, Iterable<UIObject>

public class UIMixer extends UI2dContainer implements UIContextActions
  • Field Details

  • Constructor Details

    • UIMixer

      public UIMixer(UI ui, LX lx, float x, float y, float h)
  • Method Details

    • onScrollChange

      protected void onScrollChange()
    • setFixedWidth

      public void setFixedWidth(float width)
    • setDynamicWidth

      public void setDynamicWidth(float maxWidth)
    • getScrollableWidth

      public float getScrollableWidth()
    • getScrollContentWidth

      public float getScrollContentWidth()
    • getScrollX

      public float getScrollX()
    • updateScrollX

      public void updateScrollX(float delta)
    • onResize

      protected void onResize()
      Description copied from class: UI2dComponent
      Subclasses may override this method, invoked when the component is resized
      Overrides:
      onResize in class UI2dComponent
    • onReflow

      protected void onReflow()
      Overrides:
      onReflow in class UI2dContainer
    • toggleClipView

      public void toggleClipView(boolean clipView)
    • dispose

      public void dispose()
      Overrides:
      dispose in class UIObject
    • getContextActions

      public List<UIContextActions.Action> getContextActions()
      Description copied from interface: UIContextActions
      Returns a list of context actions that should be shown for this item
      Specified by:
      getContextActions in interface UIContextActions
      Returns:
      List of context actions