Package tripleplay.ui
Class HistoryGroup.RenderableLabel
- Enclosing class:
HistoryGroup<T,
W extends Element<?>>
A label that exposes the width hint and preferred size.
-
Nested Class Summary
Nested classes/interfaces inherited from class tripleplay.ui.Element
Element.Take
-
Field Summary
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionpythagoras.f.Dimension
calcSize
(float hintX) Calculates the size of the label, using the given width hint.Methods inherited from class tripleplay.ui.Element
addStyles, addStyles, bindEnabled, bindVisible, bounds, constraint, enabledSlot, hierarchyChanged, isAdded, isEnabled, isShowing, isVisible, location, parent, setConstraint, setEnabled, setStyles, setStyles, setVisible, size, styles, visibleSlot, x, y
-
Constructor Details
-
RenderableLabel
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.
-