United StatesChange Country, Oracle Worldwide Web Sites Communities I am a... I want to...
JDK-4622519 : Specification for some methods of GridBagLayout is incomplete

Details
Type:
Bug
Submit Date:
2002-01-11
Status:
Closed
Updated Date:
2009-04-08
Project Name:
JDK
Resolved Date:
2009-04-08
Component:
docs
OS:
solaris_2.5,generic
Sub-Component:
guides
CPU:
sparc,generic
Priority:
P4
Resolution:
Fixed
Affected Versions:
1.4.0,5.0
Fixed Versions:
5.0 (tiger)

Related Reports

Sub Tasks

Description
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.

======================================================================

                                    

Comments
PUBLIC COMMENTS

.
                                     
2004-09-17
CONVERTED DATA

BugTraq+ Release Management Values

COMMIT TO FIX:
generic
tiger

FIXED IN:
tiger

INTEGRATED IN:
tiger
tiger-b19

VERIFIED IN:
1.5


                                     
2004-09-17
EVALUATION

Change reviewed by Brent.  Approved by CCC.  Fixed for tiger.
###@###.### 2003-08-26
                                     
2003-08-26



Hardware and Software, Engineered to Work Together