Uses of Class
com.jgoodies.forms.layout.CellConstraints
Packages that use CellConstraints
Package
Description
Contains optional builder classes of the Forms framework.
Contains optional Forms framework classes that ship only with
the JGoodies Forms source distribution and are not yet part
of the binary Forms library.
Consists of optional Forms framework factory classes that assist you
in building consistent forms quickly.
Contains the core classes of the JGoodies Forms framework:
layout manager, column and row specifications, sizes and cell constraints.
-
Uses of CellConstraints in com.jgoodies.forms.builder
Methods in com.jgoodies.forms.builder that return CellConstraintsModifier and TypeMethodDescriptionprotected final CellConstraints
AbstractFormBuilder.cellConstraints()
Returns the CellConstraints object that is used as a cursor and holds the current column span and row span.protected final CellConstraints
AbstractFormBuilder.createLeftAdjustedConstraints
(int columnSpan) Creates and returns aCellConstraints
object at the current cursor position that uses the given column span and is adjusted to the left.Methods in com.jgoodies.forms.builder with parameters of type CellConstraintsModifier and TypeMethodDescriptionAbstractFormBuilder.add
(Component component, CellConstraints cellConstraints) Adds a component to the panel using the given cell constraints.PanelBuilder.add
(Component component, CellConstraints cellConstraints) Adds a component to the panel using the given cell constraints.final JLabel
PanelBuilder.add
(JLabel label, CellConstraints labelConstraints, Component component, CellConstraints componentConstraints) Adds a label and component to the panel using the given cell constraints.final JLabel
AbstractI15dPanelBuilder.addI15dLabel
(String resourceKey, CellConstraints constraints) Adds an internationalized (i15d) textual label to the form using the specified constraints.final JLabel
AbstractI15dPanelBuilder.addI15dLabel
(String resourceKey, CellConstraints labelConstraints, Component component, CellConstraints componentConstraints) Adds an internationalized (i15d) label and component to the panel using the given cell constraints.final JLabel
AbstractI15dPanelBuilder.addI15dROLabel
(String resourceKey, CellConstraints constraints) Adds an internationalized (i15d) textual label to the form using the specified constraints that is intended to label a read-only component.final JLabel
AbstractI15dPanelBuilder.addI15dROLabel
(String resourceKey, CellConstraints labelConstraints, Component component, CellConstraints componentConstraints) Adds an internationalized (i15d) label and component to the panel using the given cell constraints.final JComponent
AbstractI15dPanelBuilder.addI15dSeparator
(String resourceKey, CellConstraints constraints) Adds an internationalized (i15d) titled separator to the form using the specified constraints.final JLabel
AbstractI15dPanelBuilder.addI15dTitle
(String resourceKey, CellConstraints constraints) Adds a title to the form using the specified constraints.final JLabel
PanelBuilder.addLabel
(String textWithMnemonic, CellConstraints constraints) Adds a textual label to the form using the specified constraints.final JLabel
PanelBuilder.addLabel
(String textWithMnemonic, CellConstraints labelConstraints, Component component, CellConstraints componentConstraints) Adds a label and component to the panel using the given cell constraints.final JLabel
PanelBuilder.addROLabel
(String textWithMnemonic, CellConstraints constraints) Adds a textual label intended for labeling read-only components to the form using the specified constraints.final JLabel
PanelBuilder.addROLabel
(String textWithMnemonic, CellConstraints labelConstraints, Component component, CellConstraints componentConstraints) Adds a label and component to the panel using the given cell constraints.final JComponent
PanelBuilder.addSeparator
(String textWithMnemonic, CellConstraints constraints) Adds a titled separator to the form using the specified constraints.final JLabel
PanelBuilder.addTitle
(String textWithMnemonic, CellConstraints constraints) Adds a title label to the form using the specified constraints. -
Uses of CellConstraints in com.jgoodies.forms.extras
Methods in com.jgoodies.forms.extras that return CellConstraintsModifier and TypeMethodDescriptionFormLayoutUtils.ConstraintIterator.nextConstraints()
Returns the next element in the iteration. -
Uses of CellConstraints in com.jgoodies.forms.factories
Methods in com.jgoodies.forms.factories that return CellConstraintsModifier and TypeMethodDescriptionstatic CellConstraints
CC.rc
(int row, int col) Sets row and column origins; sets height and width to 1; uses the default alignments.static CellConstraints
CC.rc
(int row, int col, CellConstraints.Alignment rowAlign, CellConstraints.Alignment colAlign) Sets the row and column origins; sets width and height to 1; set horizontal and vertical alignment using the specified objects.static CellConstraints
Sets row and column origins; sets height and width to 1; decodes vertical and horizontal alignments from the given string.static CellConstraints
CC.rchw
(int row, int col, int rowSpan, int colSpan) Sets the row, column, height, and width; uses default alignments.static CellConstraints
CC.rchw
(int row, int col, int rowSpan, int colSpan, CellConstraints.Alignment rowAlign, CellConstraints.Alignment colAlign) Sets the row, column, height, and width; sets the vertical and horizontal alignment using the specified alignment objects.static CellConstraints
Sets the row, column, height, and width; decodes the vertical and horizontal alignments from the given string.static CellConstraints
CC.rcw
(int row, int col, int colSpan) Sets the row, column, height, and width; uses a height (row span) of 1 and the vertical and horizontal default alignments.static CellConstraints
CC.rcw
(int row, int col, int colSpan, CellConstraints.Alignment rowAlign, CellConstraints.Alignment colAlign) Sets the row, column, height, and width; sets the vertical and horizontal alignment using the specified alignment objects.static CellConstraints
Sets the row, column, height, and width; decodes the vertical and horizontal alignments from the given string.static CellConstraints
CC.xy
(int col, int row) Sets column and row origins; sets width and height to 1; uses the default alignments.static CellConstraints
CC.xy
(int col, int row, CellConstraints.Alignment colAlign, CellConstraints.Alignment rowAlign) Sets the column and row origins; sets width and height to 1; set horizontal and vertical alignment using the specified objects.static CellConstraints
Sets column and row origins; sets width and height to 1; decodes horizontal and vertical alignments from the given string.static CellConstraints
CC.xyw
(int col, int row, int colSpan) Sets the column, row, width, and height; uses a height (row span) of 1 and the horizontal and vertical default alignments.static CellConstraints
CC.xyw
(int col, int row, int colSpan, CellConstraints.Alignment colAlign, CellConstraints.Alignment rowAlign) Sets the column, row, width, and height; sets the horizontal and vertical alignment using the specified alignment objects.static CellConstraints
Sets the column, row, width, and height; decodes the horizontal and vertical alignments from the given string.static CellConstraints
CC.xywh
(int col, int row, int colSpan, int rowSpan) Sets the column, row, width, and height; uses default alignments.static CellConstraints
CC.xywh
(int col, int row, int colSpan, int rowSpan, CellConstraints.Alignment colAlign, CellConstraints.Alignment rowAlign) Sets the column, row, width, and height; sets the horizontal and vertical alignment using the specified alignment objects.static CellConstraints
Sets the column, row, width, and height; decodes the horizontal and vertical alignments from the given string. -
Uses of CellConstraints in com.jgoodies.forms.layout
Methods in com.jgoodies.forms.layout that return CellConstraintsModifier and TypeMethodDescriptionFormLayout.getConstraints
(Component component) Looks up and returns the constraints for the specified component.CellConstraints.rc
(int row, int col) Sets row and column origins; sets height and width to 1; uses the default alignments.CellConstraints.rc
(int row, int col, CellConstraints.Alignment rowAlign, CellConstraints.Alignment colAlign) Sets the row and column origins; sets width and height to 1; set horizontal and vertical alignment using the specified objects.Sets row and column origins; sets height and width to 1; decodes vertical and horizontal alignments from the given string.CellConstraints.rchw
(int row, int col, int rowSpan, int colSpan) Sets the row, column, height, and width; uses default alignments.CellConstraints.rchw
(int row, int col, int rowSpan, int colSpan, CellConstraints.Alignment rowAlign, CellConstraints.Alignment colAlign) Sets the row, column, height, and width; sets the vertical and horizontal alignment using the specified alignment objects.Sets the row, column, height, and width; decodes the vertical and horizontal alignments from the given string.CellConstraints.rcw
(int row, int col, int colSpan) Sets the row, column, height, and width; uses a height (row span) of 1 and the vertical and horizontal default alignments.CellConstraints.rcw
(int row, int col, int colSpan, CellConstraints.Alignment rowAlign, CellConstraints.Alignment colAlign) Sets the row, column, height, and width; sets the vertical and horizontal alignment using the specified alignment objects.Sets the row, column, height, and width; decodes the vertical and horizontal alignments from the given string.CellConstraints.xy
(int col, int row) Sets column and row origins; sets width and height to 1; uses the default alignments.CellConstraints.xy
(int col, int row, CellConstraints.Alignment colAlign, CellConstraints.Alignment rowAlign) Sets the column and row origins; sets width and height to 1; set horizontal and vertical alignment using the specified objects.Sets column and row origins; sets width and height to 1; decodes horizontal and vertical alignments from the given string.CellConstraints.xyw
(int col, int row, int colSpan) Sets the column, row, width, and height; uses a height (row span) of 1 and the horizontal and vertical default alignments.CellConstraints.xyw
(int col, int row, int colSpan, CellConstraints.Alignment colAlign, CellConstraints.Alignment rowAlign) Sets the column, row, width, and height; sets the horizontal and vertical alignment using the specified alignment objects.Sets the column, row, width, and height; decodes the horizontal and vertical alignments from the given string.CellConstraints.xywh
(int col, int row, int colSpan, int rowSpan) Sets the column, row, width, and height; uses default alignments.CellConstraints.xywh
(int col, int row, int colSpan, int rowSpan, CellConstraints.Alignment colAlign, CellConstraints.Alignment rowAlign) Sets the column, row, width, and height; sets the horizontal and vertical alignment using the specified alignment objects.Sets the column, row, width, and height; decodes the horizontal and vertical alignments from the given string.Methods in com.jgoodies.forms.layout with parameters of type CellConstraintsModifier and TypeMethodDescriptionvoid
FormLayout.setConstraints
(Component component, CellConstraints constraints) Sets the constraints for the specified component in this layout.