Class UIRestrictions

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

public class UIRestrictions extends UI2dContext
  • Constructor Details

    • UIRestrictions

      public UIRestrictions(UI ui)
  • Method Details

    • onReflow

      protected void onReflow()
      Overrides:
      onReflow in class UI2dContainer
    • 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
    • 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 lx)