Uses of Class
java.awt.GridBagConstraints
-
Packages that use GridBagConstraints 软件包 描述 java.awt 包含用于创建用户界面和绘制图形和图像的所有类。javax.swing.plaf.basic 提供根据“基本”外观构建的用户界面对象。 -
-
Uses of GridBagConstraints in java.awt
Fields in java.awt declared as GridBagConstraints Modifier and Type Field 描述 protected GridBagConstraints
GridBagLayout. defaultConstraints
该字段包含包含默认值的网格包约束实例,因此如果组件没有与其相关联的网格包约束,则将为该组件分配defaultConstraints
的副本。Fields in java.awt with type parameters of type GridBagConstraints Modifier and Type Field 描述 protected Hashtable<Component,GridBagConstraints>
GridBagLayout. comptable
这个散列表维护了一个组件与其gridbag约束之间的关联。Methods in java.awt that return GridBagConstraints Modifier and Type 方法 描述 GridBagConstraints
GridBagLayout. getConstraints(Component comp)
获取指定组件的约束。protected GridBagConstraints
GridBagLayout. lookupConstraints(Component comp)
检索指定组件的约束。Methods in java.awt with parameters of type GridBagConstraints Modifier and Type 方法 描述 protected void
GridBagLayout. adjustForGravity(GridBagConstraints constraints, Rectangle r)
根据约束几何和焊盘,将x,y,width和height字段调整为正确的值。protected void
GridBagLayout. AdjustForGravity(GridBagConstraints constraints, Rectangle r)
根据约束几何和焊盘,将x,y,width和height字段调整为正确的值。void
GridBagLayout. setConstraints(Component comp, GridBagConstraints constraints)
设置此布局中指定组件的约束。 -
Uses of GridBagConstraints in javax.swing.plaf.basic
Methods in javax.swing.plaf.basic with parameters of type GridBagConstraints Modifier and Type 方法 描述 protected void
BasicOptionPaneUI. addMessageComponents(Container container, GridBagConstraints cons, Object msg, int maxll, boolean internallyCreated)
创建适当的对象来表示msg
并将其放入container
。
-