# Serialized Form

- ## Package com.jgoodies.forms.debug

  - ### Class com.jgoodies.forms.debug.FormDebugPanel extends JPanel implements Serializable

    - ### Serialized Fields

      - #### paintInBackground

            boolean paintInBackground

        Specifies whether the grid shall be painted in the background. Is off by default and so the grid is painted in the foreground.

      - #### paintDiagonals

            boolean paintDiagonals

        Specifies whether the container's diagonals should be painted.

      - #### paintRows

            boolean paintRows

        Specifies whether all rows shall be painted. Enabled by default.

      - #### gridColor

            Color gridColor

        Holds the color used to paint the debug grid.

- ## Package com.jgoodies.forms.factories

  - ### Class com.jgoodies.forms.factories.Borders.EmptyBorder extends AbstractBorder implements Serializable

    - ### Serialized Fields

      - #### top

            ConstantSize top

      - #### left

            ConstantSize left

      - #### bottom

            ConstantSize bottom

      - #### right

            ConstantSize right

  - ### Class com.jgoodies.forms.factories.CC extends Object implements Serializable

- ## Package com.jgoodies.forms.layout

  - ### Class com.jgoodies.forms.layout.BoundedSize extends Object implements Serializable

    - ### Serialized Fields

      - #### basis

            Size basis

        Holds the base size.

      - #### lowerBound

            Size lowerBound

        Holds an optional lower bound.

      - #### upperBound

            Size upperBound

        Holds an optional upper bound.

  - ### Class com.jgoodies.forms.layout.CellConstraints extends Object implements Serializable

    - ### Serialized Fields

      - #### gridX

            int gridX

        Describes the component's horizontal grid origin (starts at 1).

      - #### gridY

            int gridY

        Describes the component's vertical grid origin (starts at 1).

      - #### gridWidth

            int gridWidth

        Describes the component's horizontal grid extend (number of cells).

      - #### gridHeight

            int gridHeight

        Describes the component's vertical grid extent (number of cells).

      - #### hAlign

            CellConstraints.Alignment hAlign

        Describes the component's horizontal alignment.

      - #### vAlign

            CellConstraints.Alignment vAlign

        Describes the component's vertical alignment.

      - #### insets

            Insets insets

        Describes the component's `Insets` in it's display area.

      - #### honorsVisibility

            Boolean honorsVisibility

        Describes whether individual components shall be taken into account by the FormLayout if 1) they are invisible and 2) the FormLayout does not honor the visibility. See `FormLayout.setHonorsVisibility(boolean)` and `FormLayout.setHonorsVisibility(Component, Boolean)` for a full description of this feature.

  - ### Class com.jgoodies.forms.layout.CellConstraints.Alignment extends Object implements Serializable

    - ### Serialization Methods

      - #### readResolve

            private Object readResolve()

    - ### Serialized Fields

      - #### ordinal

            int ordinal

  - ### Class com.jgoodies.forms.layout.ColumnSpec extends FormSpec implements Serializable

  - ### Class com.jgoodies.forms.layout.ConstantSize extends Object implements Serializable

    - ### Serialized Fields

      - #### value

            double value

      - #### unit

            ConstantSize.Unit unit

  - ### Class com.jgoodies.forms.layout.ConstantSize.Unit extends Object implements Serializable

    - ### Serialization Methods

      - #### readResolve

            private Object readResolve()

    - ### Serialized Fields

      - #### ordinal

            int ordinal

  - ### Class com.jgoodies.forms.layout.FormLayout extends Object implements Serializable

    - ### Serialization Methods

      - #### writeObject

            private void writeObject(ObjectOutputStream out)
                              throws IOException

        In addition to the default serialization mechanism this class invalidates the component size cache. The cache will be populated again after the deserialization. Also, the fields `colComponents` and `rowComponents` have been marked as transient to exclude them from the serialization.
        Throws:
          `IOException`

    - ### Serialized Fields

      - #### colSpecs

            List<E> colSpecs

        Holds the column specifications.
        See Also:
          `ColumnSpec`, `FormLayout.getColumnCount()`, `FormLayout.getColumnSpec(int)`, `FormLayout.appendColumn(ColumnSpec)`, `FormLayout.insertColumn(int, ColumnSpec)`, `FormLayout.removeColumn(int)`

      - #### rowSpecs

            List<E> rowSpecs

        Holds the row specifications.
        See Also:
          `RowSpec`, `FormLayout.getRowCount()`, `FormLayout.getRowSpec(int)`, `FormLayout.appendRow(RowSpec)`, `FormLayout.insertRow(int, RowSpec)`, `FormLayout.removeRow(int)`

      - #### colGroupIndices

            int[][] colGroupIndices

        Holds the column groups as an array of arrays of column indices.
        See Also:
          `FormLayout.getColumnGroups()`, `FormLayout.setColumnGroups(int[][])`, `FormLayout.addGroupedColumn(int)`

      - #### rowGroupIndices

            int[][] rowGroupIndices

        Holds the row groups as an array of arrays of row indices.
        See Also:
          `FormLayout.getRowGroups()`, `FormLayout.setRowGroups(int[][])`, `FormLayout.addGroupedRow(int)`

      - #### constraintMap

            Map<K,V> constraintMap

        Maps components to their associated `CellConstraints`.
        See Also:
          `CellConstraints`, `FormLayout.getConstraints(Component)`, `FormLayout.setConstraints(Component, CellConstraints)`

      - #### honorsVisibility

            boolean honorsVisibility

      - #### componentSizeCache

            com.jgoodies.forms.layout.FormLayout.ComponentSizeCache componentSizeCache

        Caches component minimum and preferred sizes. All requests for component sizes shall be directed to the cache.

      - #### minimumWidthMeasure

            FormLayout.Measure minimumWidthMeasure

        These functional objects are used to measure component sizes. They abstract from horizontal and vertical orientation and so, allow to implement the layout algorithm for both orientations with a single set of methods.

      - #### minimumHeightMeasure

            FormLayout.Measure minimumHeightMeasure

      - #### preferredWidthMeasure

            FormLayout.Measure preferredWidthMeasure

      - #### preferredHeightMeasure

            FormLayout.Measure preferredHeightMeasure

  - ### Class com.jgoodies.forms.layout.FormSpec extends Object implements Serializable

    - ### Serialized Fields

      - #### defaultAlignment

            FormSpec.DefaultAlignment defaultAlignment

        Holds the default alignment that will be used if a cell does not override this default.

      - #### defaultAlignmentExplicitlySet

            boolean defaultAlignmentExplicitlySet

        Describes whether the default alignment has been explictly set.
        See Also:
          `FormSpec.getDefaultAlignmentExplictlySet()`

      - #### size

            Size size

        Holds the size that describes how to size this column or row.

      - #### resizeWeight

            double resizeWeight

        Holds the resize weight; is 0 if not used.

  - ### Class com.jgoodies.forms.layout.FormSpec.DefaultAlignment extends Object implements Serializable

    - ### Serialization Methods

      - #### readResolve

            private Object readResolve()

    - ### Serialized Fields

      - #### ordinal

            int ordinal

  - ### Class com.jgoodies.forms.layout.FormSpecParser.FormLayoutParseException extends RuntimeException implements Serializable

  - ### Class com.jgoodies.forms.layout.PrototypeSize extends Object implements Serializable

    - ### Serialized Fields

      - #### prototype

            String prototype

  - ### Class com.jgoodies.forms.layout.RowSpec extends FormSpec implements Serializable

- ## Package com.jgoodies.forms.util

  - ### Class com.jgoodies.forms.util.AbstractUnitConverter extends com.jgoodies.common.bean.Bean implements Serializable

  - ### Class com.jgoodies.forms.util.DefaultUnitConverter extends AbstractUnitConverter implements Serializable

    - ### Serialized Fields

      - #### averageCharWidthTestString

            String averageCharWidthTestString

        Holds the string that is used to compute the average character width. Since 1.6 the default value is the balanced average character test string, where it was just "X" before.

      - #### defaultDialogFont

            Font defaultDialogFont

        Holds a custom font that is used to compute the global dialog base units. If not set, a fallback font is is lazily created in method #getCachedDefaultDialogFont, which in turn looks up a font in method #lookupDefaultDialogFont.

      - #### cachedGlobalDialogBaseUnits

            com.jgoodies.forms.util.DefaultUnitConverter.DialogBaseUnits cachedGlobalDialogBaseUnits

        Holds the lazily created cached global dialog base units that are used if a component is not (yet) available - for example in a Border.

      - #### cachedDialogBaseUnits

            com.jgoodies.forms.util.DefaultUnitConverter.DialogBaseUnits cachedDialogBaseUnits

        Holds the horizontal dialog base units that are valid for the FontMetrics stored in `cachedFontMetrics`.

      - #### cachedFontMetrics

            FontMetrics cachedFontMetrics

        Holds the FontMetrics used to compute the per-component dialog units. The latter are valid, if a FontMetrics equals this stored metrics.

      - #### cachedDefaultDialogFont

            Font cachedDefaultDialogFont

        Holds a cached default dialog font that is used as fallback, if no default dialog font has been set.
        See Also:
          `DefaultUnitConverter.getDefaultDialogFont()`, `DefaultUnitConverter.setDefaultDialogFont(Font)`

Copyright © 2002-2014 JGoodies Software GmbH. All Rights Reserved.