Provides static methods that help you understand and fix layout problems
when using the
FormLayout . Dumps information about the layout grid,
layout groups and cell constraints to the console.
Implicit values are mapped to concrete. For example, implicit alignments
in column and row specifications will be visible. And cell constraint
alignments that use or override the column and row defaults are visible too.
author: Karsten Lentzsch version: $Revision: 1.2 $ See Also:FormDebugPanel
Method Summary
public static void
dumpAll(Container container) Dumps all layout state to the console: column and row specifications,
column and row groups, grid bounds and cell constraints.
Dumps all layout state to the console: column and row specifications,
column and row groups, grid bounds and cell constraints.
Parameters: container - the layout container
Dumps the layout's column specifications to the console.
Parameters: layout - the FormLayout to inspect
dumpConstraints
public static void dumpConstraints(Container container)(Code)
Dumps the component constraints to the console.
Parameters: container - the layout container to inspect
dumpGridBounds
public static void dumpGridBounds(Container container)(Code)
Dumps the container's grid info to the console if and only
if the container's layout is a FormLayout.
Parameters: container - the container to inspect throws: IllegalArgumentException - if the layout is not FormLayout
Computes and returns the layout's grid origins.
Parameters: container - the layout container to inspect an object that comprises the cell origins and extents throws: IllegalArgumentException - if the layout is not FormLayout