Name: idR10193 Date: 01/11/2002
Specification for the listed below methods of GridBagLayout is
incomplete. Their specification does not describe full enough
what they are intended for, though sometimes it says something
about what they do. For example arrangeGrid's specification is:
"Lay out the grid". Does it only compute size of cells? Or it also
moves and shapes components? Or anything else?
protected void adjustForGravity(GridBagConstraints constraints,
Rectangle r)
protected void AdjustForGravity(GridBagConstraints constraints,
Rectangle r)
protected void arrangeGrid(Container parent)
protected void ArrangeGrid(Container parent)
protected Dimension getMinSize(Container parent,
java.awt.GridBagLayoutInfo info)
protected Dimension GetMinSize(Container parent,
java.awt.GridBagLayoutInfo info)
protected java.awt.GridBagLayoutInfo getLayoutInfo(Container parent,
int sizeflag)
protected java.awt.GridBagLayoutInfo GetLayoutInfo(Container parent,
int sizeflag
These methods specification needs clarification.
Please note that all these methods are protected.
Comment: These methods seem to be for internal use only. In case they
are intended for override their specification must be more full.
One can not write valid override basing on one sentence of specification.
======================================================================