类的用途
java.awt.GridBagLayoutInfo
使用 GridBagLayoutInfo 的包
-
GridBagLayoutInfo 在 java.awt 中的用法
java.awt 中的字段声明为 GridBagLayoutInfojava.awt 中返回 GridBagLayoutInfo 的方法修饰符和类型方法描述protected GridBagLayoutInfoGridBagLayout.getLayoutInfo(Container parent, int sizeflag) 为当前的托管子集填写一个GridBagLayoutInfo实例。protected GridBagLayoutInfoGridBagLayout.GetLayoutInfo(Container parent, int sizeflag) 此方法已过时,仅用于向后兼容;新代码应该改为调用getLayoutInfo。java.awt 中的方法,参数类型为 GridBagLayoutInfo修饰符和类型方法描述protected DimensionGridBagLayout.getMinSize(Container parent, GridBagLayoutInfo info) 根据来自getLayoutInfo的信息计算出父级的最小尺寸。protected DimensionGridBagLayout.GetMinSize(Container parent, GridBagLayoutInfo info) 此方法已过时,仅用于向后兼容;新代码应该改为调用getMinSize。