Class UIBanner

All Implemented Interfaces:
UIContainer, UILayer, LXLoopTask, Iterable<UIObject>
Direct Known Subclasses:
UIPerformanceWarning, UIRestrictions

public abstract class UIBanner extends UI2dContext
  • Field Details

    • lx

      protected final LX lx
    • message

      protected String message
  • Constructor Details

    • UIBanner

      protected UIBanner(UI ui)
  • 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 UI2dContext
    • setMessage

      protected void setMessage(String message)
    • onDraw

      protected void onDraw(UI ui, VGraphics vg)
      Description copied from class: UI2dComponent
      Subclasses should override this method to perform their drawing functions.
      Overrides:
      onDraw in class UI2dContainer
      Parameters:
      ui - UI context
      vg - Graphics context
    • computeWidth

      public static float computeWidth(GLX glx)