Class UILane

All Implemented Interfaces:
UIContainer, UIFocus, UIKeyFocus, UIMouseFocus, UITabFocus, LXLoopTask, Iterable<UIObject>
Direct Known Subclasses:
UIGridLane

public abstract class UILane extends UI2dContainer implements UIFocus
Basic UI Lane provides 3 components: one each for the Left, Main center (scrollable), and Right sections. Lanes will be added to a UITimelineSection which adds each of the 3 components to a unique subcontainer.
  • Field Details

    • timeline

      protected final UITimeline timeline
    • lens

      protected final Lens lens
    • sideBarComponent

      protected UI2dComponent sideBarComponent
  • Constructor Details

    • UILane

      public UILane(UI ui, UITimeline timeline, float h)
  • Method Details

    • 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
    • onMouseScroll

      protected void onMouseScroll(MouseEvent mouseEvent, float mx, float my, float dx, float dy)
      Description copied from class: UIEventHandler
      Subclasses override to receive mouse events
      Overrides:
      onMouseScroll in class UIEventHandler
      Parameters:
      mouseEvent - Mouse event
      mx - x-coordinate
      my - y-coordinate
      dx - Amount of horizontal scroll
      dy - Amount of vertical scroll
    • setSideBarComponent

      protected void setSideBarComponent(UI2dComponent component)
      Subclasses should set the side bar component in their constructor, if one is to be made available.
      Parameters:
      component - Side bar component
    • getSideBarComponent

      public final UI2dComponent getSideBarComponent()