package layout
A package collecting some tools for positioning elements on the screen.
It contains a Cell
(a rectangular area) and a GridLayout
of cells
organized into rows and columns as this:
---------------------------- | cell | cell | cell | ... | ---------------------------- | cell | cell | cell | ... | ---------------------------- | cell | cell | cell | ... | ---------------------------- | ... | ... | ... | ... | ----------------------------
Various factory methods are provided that construct grid layouts from a sample cell, within a cell or on the whole screen.
- Since
1.1.0
- Alphabetic
- By Inheritance
- layout
- AnyRef
- Any
- Hide All
- Show All
- Public
- All
Type Members
-
class
Cell
extends Equals
A rectangular area.
A rectangular area.
The horizontal axis is oriented from left to right, while the vertical axis is oriented from top to bottom.
- Since
1.1.0
-
class
GridLayout
extends Cell with Iterable[Cell]
A layout of cells organized into rows and columns as this:
A layout of cells organized into rows and columns as this:
---------------------------- | cell | cell | cell | ... | ---------------------------- | cell | cell | cell | ... | ---------------------------- | cell | cell | cell | ... | ---------------------------- | ... | ... | ... | ... | ----------------------------
The horizontal axis is oriented from left to right, while the vertical axis is oriented from top to bottom.
- Since
1.1.0
Value Members
- object Cell
- object Floating extends Enumeration
- object GridLayout