public final class FormDebugUtils extends Object
FormLayout. Dumps information about the layout grid
layout groups and cell constraints to the console.ColumnSpec("fill:pref:0") ColumnSpec("p:1") -> ColumnSpec("fill:pref:1") RowSpec("p") -> RowSpec("center:pref:0") RowSpec("p:1") -> RowSpec("center:pref:1")
FormDebugPanel| Modifier and Type | Method and Description |
|---|---|
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.
|
static void |
dumpColumnGroups(FormLayout layout)
Dumps the layout's column groups to the console.
|
static void |
dumpColumnSpecs(FormLayout layout)
Dumps the layout's column specifications to the console.
|
static void |
dumpConstraints(Container container)
Dumps the component constraints to the console.
|
static void |
dumpGridBounds(Container container)
Dumps the container's grid info to the console if and onl
if the container's layout is a
FormLayout. |
static void |
dumpGridBounds(FormLayout.LayoutInfo layoutInfo)
Dumps the grid layout info to the console.
|
static void |
dumpRowGroups(FormLayout layout)
Dumps the layout's row groups to the console.
|
static void |
dumpRowSpecs(FormLayout layout)
Dumps the layout's row specifications to the console.
|
static FormLayout.LayoutInfo |
getLayoutInfo(Container container)
Computes and returns the layout's grid origins.
|
public static void dumpAll(Container container)
container - the layout containerpublic static void dumpColumnSpecs(FormLayout layout)
layout - the FormLayout to inspectpublic static void dumpRowSpecs(FormLayout layout)
layout - the FormLayout to inspectpublic static void dumpColumnGroups(FormLayout layout)
layout - the FormLayout to inspectpublic static void dumpRowGroups(FormLayout layout)
layout - the FormLayout to inspectpublic static void dumpGridBounds(Container container)
FormLayout.container - the container to inspectIllegalArgumentException - if the layout is not FormLayoutpublic static void dumpGridBounds(FormLayout.LayoutInfo layoutInfo)
layoutInfo - provides the column and row originspublic static void dumpConstraints(Container container)
container - the layout container to inspectpublic static FormLayout.LayoutInfo getLayoutInfo(Container container)
container - the layout container to inspectNullPointerException - if container is NullPointerExceptionIllegalArgumentException - if container's layout is not FormLayoutCopyright © 2002-2014 JGoodies Software GmbH. All Rights Reserved.