Package tripleplay.ui

Class HistoryGroup.RenderableLabel

Enclosing class:
HistoryGroup<T,W extends Element<?>>

public static class HistoryGroup.RenderableLabel extends Label
A label that exposes the width hint and preferred size.
  • Constructor Details

    • RenderableLabel

      public RenderableLabel(String text)
      Creates a new label.
  • Method Details

    • calcSize

      public pythagoras.f.Dimension calcSize(float hintX)
      Calculates the size of the label, using the given width hint.