Package jexer.bits
Class WidgetUtils
- java.lang.Object
-
- jexer.bits.WidgetUtils
-
public class WidgetUtils extends java.lang.Object
WidgetUtils contains methods to: - Tile windows.
-
-
Constructor Summary
Constructors Constructor Description WidgetUtils()
-
Method Summary
All Methods Static Methods Concrete Methods Modifier and Type Method Description static void
tileWidgets(java.util.List<? extends TWidget> widgets, int width, int height, int topLine)
Re-layout a list of widgets as non-overlapping tiles into a rectangular space.
-
-
-
Method Detail
-
tileWidgets
public static void tileWidgets(java.util.List<? extends TWidget> widgets, int width, int height, int topLine)
Re-layout a list of widgets as non-overlapping tiles into a rectangular space. This produces almost the same results as Turbo Pascal 7.0's IDE.- Parameters:
widgets
- the list of widgetswidth
- the width of the rectangle to fit the widgets inheight
- the height of the rectangle to fit the widgets intopLine
- the Y top use for a top-line widget
-
-