Trinidad offers a set of layout components that help us to lay out our pages. In a way, they are comparable to layout managers in Java Swing. Layout components can easily be recognized by their names, which are always in the form<tr:panel...Layout>,
where ...
indicates the type of layout. Just like Swing layout managers, pretty much every layout you like can be achieved by nesting different layout components. Layout components do not add visible elements to the page; they only position their children.
There are also a lot of<tr:panel...>
components that do add visual elements to the page and position their children. These components can be recognized by their names, which also start with panel
, but do not end with Layout
.